Skip to main content
Glama

List runs

list_automation_runs
Read-only

List what rules did, newest first: pass id for one rule's runs or ticketId for one ticket's. Each run has its mode (live or shadow), verdict with percent and bar, and its steps' outcomes. cursor is the nextCursor of the page you have; it is null on the last page.

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

Input Schema

NameRequiredDescriptionDefault
idNoThe rule's id.
cursorNo
ticketIdNoThe ticket's id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only establish read-only and closed-world; the description adds substantial behavior beyond that: result ordering, per-run payload contents (mode live/shadow, verdict with percent and bar, step outcomes), and cursor pagination semantics including null on the last page. The one gap is the unfiltered default case, which the agent cannot infer.

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?

Three tight sentences, front-loaded with purpose then scoping then pagination, with no filler. Minor friction from jargon ('verdict with percent and bar') and the 'rules' vs 'automation' terminology mismatch.

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 read-only list tool with an output schema absent, the description carries the return-shape and pagination burden well. Only the no-filter default behavior remains unspecified, which is a small but real gap for a tool with zero required parameters.

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

Parameters5/5

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

All three parameters are explained with meaning the schema lacks: id scopes to one rule's runs, ticketId to one ticket's runs, and cursor is defined as the nextCursor from the prior page with null signalling the end. This fully compensates for the partial (67%) schema description coverage, including the undocumented cursor field.

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 gives a concrete verb and resource ('List what rules did'), plus ordering ('newest first'), so the agent knows exactly what is returned. It does not explicitly distinguish itself from near siblings such as list_automation_versions or get_automation, and it uses 'rules' where the tool name says 'automation', which costs a point.

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?

It clearly states the two scoping modes: pass id for one rule's runs, ticketId for one ticket's runs. It does not state what happens when neither is passed, nor name any alternative tool, so exclusions are absent.

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