Skip to main content
Glama

list_automation_runs

Read-only

List automation runs, newest first. Filter by automation template, status, or a created_at window to find a run that stalled or errored, then read its steps with list_automation_run_steps. Journey runs are listed by list_journey_runs instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoRuns per page, 1 to 50. Defaults to 20.
cursorNonext_cursor from a previous response
statusNoComma-separated run statuses to filter on, e.g. PROCESSED,ERROR
end_dateNoInclusive upper bound on created_at, ISO 8601 date or timestamp
start_dateNoInclusive lower bound on created_at, ISO 8601 date or timestamp
template_idNoComma-separated automation template ids to filter on

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds real context beyond that: result ordering (newest first), the purpose-oriented filtering strategy, and the follow-up call for step detail. It does not mention pagination/cursor behavior, but that is documented in the schema.

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

Conciseness5/5

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

Three tight sentences, ordered as scope, usage, and sibling routing. Every sentence earns its place and the most important constraint (this lists automation runs, not journey runs) is stated up front.

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?

For a read-only, no-output-schema list tool, the description covers scope, filtering strategy, ordering, follow-up tool, and sibling disambiguation. No output schema is present, so no return-value explanation is required.

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 is already documented in the schema. The description names the filterable dimensions (template, status, created_at window) at a high level, matching template_id, status, and start_date/end_date, but adds no syntax or format detail beyond the schema. 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 (list automation runs) plus the sort order (newest first), and explicitly excludes journey runs by pointing to list_journey_runs. An agent can distinguish it from its closest sibling without opening either schema.

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

Usage Guidelines5/5

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

Gives both the when (filter by template/status/created_at window to find a stalled or errored run) and the alternatives (journey runs go to list_journey_runs), plus the natural next call (list_automation_run_steps). Nothing is left to inference.

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