Skip to main content
Glama

Perisclaw: Use ChatGPT and Claude with your WhatsApp

List Automation Runs

automation_runs
Read-only

Inspect automation runs and durable progress state. Each run carries its failure reason (last_error_code/last_error_message) and usage: the model calls, tokens and cost_usd it paid for (null when none were recorded).

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

Input Schema

NameRequiredDescriptionDefault
limitNo
sinceNoOnly runs started at or after this ISO 8601 timestamp with offset.
statusNoOnly runs in this status, e.g. failed.
active_onlyNo
automation_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / since
      Added value: +{
      +  "description": "Only runs started at or after this ISO 8601 timestamp with offset.",
      +  "type": "string"
      +}
    • addedInput schema / properties / status
      Added value: +{
      +  "description": "Only runs in this status, e.g. failed.",
      +  "enum": [
      +    "running",
      +    "waiting",
      +    "paused",
      +    "completed",
      +    "failed",
      +    "cancelled"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

B3.3/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 useful behavioral context by naming failure fields (last_error_code/last_error_message) and usage fields (model calls, tokens, cost_usd) with null semantics, though it omits pagination and ordering behavior.

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?

The description is two sentences, front-loaded with the core purpose, and contains no wasted text. The second sentence efficiently summarizes the most important return fields.

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?

With no output schema, the description partially compensates by explaining failure and usage fields. However, it leaves filtering parameters and list behavior undocumented, which is a meaningful gap for a five-parameter list tool.

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 only 40% across five parameters, and the description does not explain any of them. The schema itself documents only 'since' and 'status', leaving limit, active_only, and automation_id without semantic guidance in either place.

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 uses a specific verb and resource: 'Inspect automation runs and durable progress state.' It is clear this is about automation runs, but it does not explicitly distinguish the tool from siblings like automation_get or automation_list.

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

Usage Guidelines2/5

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

The description gives no guidance on when to use this tool versus alternatives such as automation_get or automation_list. It implies inspection of runs but provides no exclusions or selection criteria.

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.