Skip to main content
Glama

List Rule Runs

list_rule_runs
Read-only

List the scheduled-run history for one rule — newest fire first. Shows status (pending/running/succeeded/failed/skipped), handler result text or skip reason, error details, and duration. Limit clamped to [1, 100], default 20. Read-only.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ruleId": "<ruleId>"
    },
    "name": "list_rule_runs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows to return (1-100, default 20).
ruleIdYesRule id (GUID).

Output Schema

NameRequiredDescriptionDefault
okNo
runsNo
totalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/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 covered; the description adds genuine context beyond that by enumerating the status vocabulary (pending/running/succeeded/failed/skipped), the presence of handler result text, skip reason, error details and duration, and the newest-first ordering. The trailing 'Read-only' restates the annotation rather than adding to it.

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 and ordering, then return fields, then the limit constraint. The final 'Read-only' clause and the limit restatement duplicate structured fields and could be cut, but the overall density is good.

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 two-parameter read tool with an output schema, this covers purpose, ordering, returnable fields, status values, and pagination bounds. Nothing an agent needs to call it correctly is missing.

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%, so both parameters are already documented, and the description's 'Limit clamped to [1, 100], default 20' largely repeats the schema's own '1-100, default 20' text. The only meaning added is the clamping behavior under out-of-range input, which is a small increment over structured data.

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?

The description gives a specific verb and resource ('List the scheduled-run history for one rule') plus scope ('one rule', 'newest fire first'), which separates it from the run-listing siblings that cover production or simulation scenario runs. An agent can tell what this returns without opening the schema.

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 'for one rule' scoping and the required ruleId, so an agent can infer it is the per-rule history view. However, there is no explicit when-to-use versus when-not guidance and no sibling is named as an alternative for cross-rule or production-run queries.

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