Skip to main content
Glama

List runs

run_list
Read-only

List runs, newest first. Paged like document_list: {data, has_more, next_cursor}.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "run_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size, 1–100 (default 25).
cursorNonext_cursor from the previous page; omit for the first page.
statusNoOnly runs in this status: queued, processing, completed, failed or cancelled.
document_idNoOnly runs over this document version.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / cursor / description
      Added value: +"next_cursor from the previous page; omit for the first page."
    • addedInput schema / properties / document_id / description
      Added value: +"Only runs over this document version."
    • addedInput schema / properties / limit / description
      Added value: +"Page size, 1–100 (default 25)."
    • addedInput schema / properties / status / description
      Added value: +"Only runs in this status: queued, processing, completed, failed or cancelled."
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds ordering (newest first) and the response envelope {data, has_more, next_cursor}, which is genuinely useful given there is no output schema. It stops short of saying whether results are scoped to the caller's workspace or whether the list spans all statuses by default.

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?

Two compact sentences with the ordering fact front-loaded. The "Paged like document_list" shorthand is efficient but assumes the agent already knows that sibling's contract, which is a small inference cost.

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?

For a four-parameter read-only list tool with no output schema, disclosing both ordering and the response envelope covers the main gaps. Only scoping and total-count behavior remain undisclosed, which are minor for a cursor-paged listing.

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 coverage is 100%, with limit, cursor, status, and document_id all documented including the enumeration of status values in the schema text. The description adds nothing about filter interaction or cursor semantics, so baseline 3 applies.

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

Purpose4/5

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

States a specific verb and resource ("List runs") plus a meaningful default ordering ("newest first"), which tells the agent exactly what comes back. It does not explicitly contrast with run_get or group_run_list, so sibling differentiation is only implicit.

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

Usage Guidelines2/5

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

No statement of when to use this instead of run_get (single run) or group_run_list (group-scoped runs). The only guidance is the pagination pointer to document_list, which addresses mechanics rather than tool selection.

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.