Skip to main content
Glama

list_agent_runs

Lists agent runs of the issues the caller can read, oldest first, up to 50 per page - check hasNextPage for more. A runner polls state 'Ready' with excludeBlocked=true and takes the first run it can claim. Each run has its id, the issue (key, title, url), state (Ready, Working, Done, Failed or Cancelled), isBlocked (an issue blocking it isn't Completed yet - see get_issue's links), who handed it off and when, the API key that claimed it, and when it finished and why it failed.

Input Schema

NameRequiredDescriptionDefault
pageNoZero-based page number - pass the previous result's page + 1 for the next page. Omit for the first page.
countNoMax runs per page, 1-50. Omit for the default of 50.
stateNoOnly runs in this state. Omit to include every state.
spaceKeyNoOnly runs of issues in this space (e.g. 'BRD'), from list_spaces. Omit to include every space.
assigneeIdsNoOnly runs of issues assigned to one of these user ids, from list_members or get_me - e.g. a runner passes its own user id to take only its owner's issues. Omit to include every assignee.
excludeBlockedNoPass true to leave out runs of blocked issues - an issue is blocked while an issue that blocks it is in Created, InProgress or Review; only Completed releases it. Blockers you can't read don't count. A runner should pass true: a blocked run can't be claimed. Omit to include them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden and largely meets it: it discloses ordering, the 50-per-page cap, the hasNextPage continuation cue, read-permission scoping, the precise isBlocked lifecycle rule, and the fields each run carries including failure reason. What is missing is any note on ordering stability or pagination caveats beyond hasNextPage.

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?

Front-loads the core purpose, scope, ordering and page size before moving to the polling recipe and the field inventory. The final enumeration of return fields is dense but informative; it reads as one long paragraph, though no sentence is truly wasted.

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

Completeness4/5

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

With no annotations and no output schema, the description does the heavy lifting by describing pagination behavior, permission scoping, blocker semantics and the shape of each returned run. For a six-parameter list tool this is close to complete, though an agent still has to infer the exact response envelope.

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 every parameter (page, count, state, spaceKey, assigneeIds, excludeBlocked) is already fully documented in the schema. The description reinforces the excludeBlocked polling pattern and mentions hasNextPage, but adds no syntax or semantics beyond what the schema provides, so the baseline 3 applies.

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 agent runs'), plus scope ('issues the caller can read'), ordering ('oldest first') and page size ('up to 50 per page'). Combined with the polling sentence it is unmistakably the read/list counterpart to claim_agent_run, create_agent_run and finish_agent_run rather than any of them.

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?

Gives concrete when-to-use guidance: a runner polls state 'Ready' with excludeBlocked=true and claims the first eligible run, which implicitly routes the agent to claim_agent_run next. It also points to get_issue for blocker links. It stops short of naming alternatives or when-not-to-use conditions explicitly, so it is clear but not exhaustive.

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.