Skip to main content
Glama

List recent runs

list_runs
Read-onlyIdempotent

Recent workflow and agent runs, newest first, optionally for one workflow, agent or status, with cost.

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_runs"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoOnly workflow runs or only agent runs. Default both.
limitNoHow many to return (default 10).
statusNo
agent_idNoOnly this agent's runs.
share_idNoOnly runs of this share page.
workflow_idNoOnly this workflow's runs (including its share pages' runs).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so safety is covered. The description adds genuinely new behavioral context: results are ordered newest first, and each run includes cost information, which is return-content detail not present in the annotations or schema. It still omits pagination/truncation behavior at the limit boundary, so it falls short of a 5.

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 front-loaded clause with no filler; ordering and return content come before the optional filter enumeration. It is slightly elliptical ('with cost') and lacks an explicit verb, which keeps it from a 5.

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

Completeness3/5

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

For a six-parameter read-only list tool with no output schema, the description covers the core semantics and hints at returned cost data. It does not explain the limit ceiling of 50, what defaults apply, or how workflow_id scope relates to share_id scope, leaving gaps an agent must resolve from the schema alone.

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 83%, so the schema already documents kind, limit, agent_id and workflow_id clearly. The description only restates the workflow/agent/status filters and adds no syntax, defaults, or interaction rules (for example what happens when both agent_id and workflow_id are supplied). Baseline 3 is appropriate when the schema does the heavy lifting.

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 names the resource precisely ('Recent workflow and agent runs') and the ordering ('newest first'), which lets an agent distinguish it from run-detail siblings such as diagnose_run or list_run_files. The verb is only implied by the sentence fragment, and there is no explicit statement of what it does versus list_test_runs.

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?

Usage is implied by the word 'Recent' and by the 'optionally for one workflow, agent or status' filtering clause, so an agent can infer this is a filtered recent-runs listing. However, there is no explicit when-to-use versus alternatives, no mention of when to prefer a run-detail or diagnostic tool, and no exclusions.

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