The triage tools give you and your agents read-only access to everything Armature knows about past runs, failures, and system health. You can search for runs by status or workflow, pull a full trace for a specific run, get a structured diagnosis of what went wrong, or check the health of your entire organization — all without modifying any state. Every triage tool is annotated as read-only, non-destructive, idempotent, and closed-world: calling them never triggers side effects in your target MCP server or changes any Armature record.Documentation Index
Fetch the complete documentation index at: https://docs.armature.tech/llms.txt
Use this file to discover all available pages before exploring further.
All triage tools are available to every role: viewer, editor, admin, and owner. All responses include both a
text JSON body and a structuredContent field for agent-native consumption. See Authentication and Roles for access details.Tools
search_runs
search_runs
search_runs returns a paginated list of workflow runs matching your filters. Use it to find recent failures, audit activity for a specific workflow, or surface runs that need attention before kicking off a repair loop.Arguments| Argument | Type | Required | Description |
|---|---|---|---|
workflowId | string | No | Filter to runs belonging to this workflow. |
status | string | No | One of pass, fail, partial, running, pending. |
limit | number | No | Maximum number of results to return (default: 20, max: 100). |
before | string | No | ISO 8601 timestamp — return runs started before this time. |
after | string | No | ISO 8601 timestamp — return runs started after this time. |
inspect_run
inspect_run
inspect_run returns the full record for a single run identified by its run ID. This is the most detailed view available: you get every criterion result, the complete tool-call trace, evaluator output, cost, duration, and the model used by the tester agent.Arguments| Argument | Type | Required | Description |
|---|---|---|---|
runId | string | Yes | The ID of the run to inspect. |
You can also access the raw trace and artifact for a run via the
armature://runs/{id}/trace and armature://runs/{id}/artifact resources. See Resources for details.diagnose_run
diagnose_run
diagnose_run performs a structured diagnostic analysis of a single run and returns a structured explanation of what went wrong, along with suggested remediation. Unlike inspect_run, which returns raw data, diagnose_run interprets the failure — identifying which criteria failed, which tool calls contributed to the failure, and what changes to the workflow or target server might resolve the issue.Arguments| Argument | Type | Required | Description |
|---|---|---|---|
runId | string | Yes | The ID of the run to diagnose. |
propose_workflow_patch if you want to enter the repair loop.Example invocationget_org_health
get_org_health
get_org_health returns an organization-level health summary. Use it to get a high-level picture of which workflows are failing, what your pass rates look like, and whether any monitors are in a degraded state — without needing to enumerate individual runs.Argumentsget_org_health takes no arguments.ReturnsA health summary object containing: overall pass rate across all workflows, count of passing and failing workflows, a list of currently failing workflows with their most recent run status, and the status of any configured monitors.Example invocationFor per-server tool coverage, use the
armature://mcp-servers/{id}/coverage-report resource instead. Coverage reports aggregate the most recent 50 runs per server and track up to 100 active tools. See Resources.Error codes
If a triage tool cannot complete, it returns a JSON-RPC error with anApiError data body. Common codes you may encounter:
| Code | Meaning |
|---|---|
forbidden_role | Your API key does not have sufficient role permissions for this operation. |
auth_profile_unavailable | The API key could not be resolved to an Armature organization. |
Next steps
Repair workflow tools
Stage and apply patches to fix failing workflows using the repair loop.
Run and sync tools
Dispatch manual runs, compare results, and sync your MCP tool catalog.