Skip to main content
Glama

List agent runs

list_agent_runs
Read-only

List an agent's background job runs.

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": "list_agent_runs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
statusNo
agent_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered without the description. The description adds nothing beyond that: no ordering, no default page size, no statement of what a 'run' includes or how status filtering behaves. With annotations carrying the safety burden, this is a missed opportunity rather than a contradiction.

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?

A single short sentence with no filler, front-loading the verb and resource. Its brevity is a formatting virtue even though the underlying content is thin.

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

Completeness2/5

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

For a three-parameter listing tool with zero schema coverage and no output schema, the definition should state default and maximum limits, ordering, and what status values mean. None of that is present, leaving the caller to guess at the most consequential invocation details.

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

Parameters2/5

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

Schema description coverage is 0% across three parameters (limit, status, agent_id), so the description would need to compensate and does not. The word 'agent's' loosely hints at agent_id and 'runs' hints at the status enum, but limit (units, defaults, maximum) and the meaning of budget_exceeded versus cancelled are entirely undocumented.

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?

The description states a concrete verb and resource: listing an agent's background job runs. An agent can tell this is a read/list operation scoped to a single agent. It does not distinguish itself from nearby siblings such as list_agent_tool_calls or cancel_agent_run, so differentiation is left to the caller.

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

Usage Guidelines3/5

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

The phrasing 'an agent's background job runs' weakly implies the tool is used when you already have an agent in mind, but there is no explicit when-to-use, no when-not-to-use, and no named alternative such as list_agent_tool_calls. The caller must infer the conditions from the name alone.

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