Skip to main content
Glama

List an automation's runs

list_automation_runs
Read-only

The run history of one automation, newest first, including runs that were SKIPPED with their skipReason (a cooldown, the daily cap, conditions that did not match…) — the answer to "why did it not post?". Each run has its status, postId when it published, error and the trimmed event that triggered it. Runs are kept for 90 days. Needs the automations permission: a connection authorized before it existed must be reconnected (remove PostRite from the assistant and add it again).

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": {
      "automationId": "<automationId>"
    },
    "name": "list_automation_runs"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, 1-based (default 1)
limitNoPage size (max 100, default 20)
automationIdYesThe automation's ID (from list_automations)
organizationIdNoOrganization to act in — an id from list_organizations. Required when this connection was authorized for more than one organization; omit it when there is only one.

Output Schema

NameRequiredDescriptionDefault
runsNo
totalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnlyHint, destructiveHint=false, openWorldHint), and the description adds substantial context on top: newest-first ordering, inclusion of skipped runs with skipReason, a 90-day retention window, and the permission/reconnection prerequisite for the automations scope. That auth and retention detail is exactly the behavioral context annotations cannot convey.

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?

The resource and its distinguishing feature (skipped runs) are front-loaded, and the parenthetical examples of skipReason are useful interpretation aids. The 'why did it not post?' gloss sits close to redundancy with the skipReason explanation but still earns its place as framing.

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?

Given an output schema exists, return-shape explanation is optional, yet the description covers status, postId, error and trigger event as well as retention and auth. The only notable gap is any hint about paging through a long history despite the page/limit parameters.

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 page, limit, automationId and organizationId are all documented in the schema itself. The description adds no format, default, or pagination guidance beyond that, so the baseline 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?

It states a precise verb and resource — the run history of one automation — and immediately distinguishes itself from the similarly named siblings (list_automations, get_automation) by scope and by including SKIPPED runs. The phrase 'the answer to "why did it not post?"' pins the intent unambiguously.

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?

The description gives a clear use case (diagnosing why an automation did not post) and implies the read-only, historical nature of the call. It does not name an explicit alternative or when-not-to-use condition, so it stops short of the routing precision a 5 requires.

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