Skip to main content
Glama

List issue triage runs

get_triage_runs
Read-only

Lists the issue-triage run history for one attached repo — one row per GitHub issue that was auto-triaged — including terminal status (pr_opened means a fix PR was opened and passed the repo's own test suite; needs_human means the issue wasn't judged auto-fixable; failed means the triage/build/verify pipeline errored). The repoAttachmentId is the attachment id returned by list_repos, NOT a owner/repo string. Full diagnostics (the generated diff and before/after test output) for any run id returned here are available via the get_triage_diagnostics tool.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "repoAttachmentId": "<repoAttachmentId>"
    },
    "name": "get_triage_runs"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoAttachmentIdYesThe repo attachment id, as returned by list_repos (not an owner/repo string).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare readOnlyHint=true; the description adds substantive context beyond that — the row granularity (one row per triaged issue) and the meaning of each terminal status, including that pr_opened implies the repo's own test suite passed. It omits ordering, pagination and result limits, which is the remaining gap for a list tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One dense, front-loaded paragraph: purpose first, then status semantics, then the parameter caveat and the sibling handoff. Every clause carries information, though the status parentheticals make it heavier than a typical list tool needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description compensates by describing the return shape (one row per issue) and enumerating the status values an agent must interpret. Combined with the diagnostics pointer, nothing essential for calling or interpreting the tool is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents the single parameter. The description's clarification that repoAttachmentId is a list_repos id rather than an owner/repo string largely restates the schema's own wording, adding emphasis but no new meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Lists the issue-triage run history') and pins the scope to 'one attached repo — one row per GitHub issue that was auto-triaged'. It also decodes the result vocabulary (pr_opened, needs_human, failed), so an agent knows exactly what it is retrieving rather than guessing from the name.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The closing sentence routes the agent to get_triage_diagnostics for per-run details, which is a real alternative-selection rule, and the repoAttachmentId warning steers the agent to list_repos for the input value. It never states when this tool should not be used (e.g. single-run lookup), so it stops short of full when/when-not guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources