Skip to main content
Glama

List automation runs

list_automation_runs
Read-onlyIdempotent

The runs of DM automations: one row per run with the automation, what started it (a comment or the DM conversation), conversation, comment, contact, status, current step, start and end time and error. include=steps adds every step run (type, status, times, the message it sent, error); include=surveyResponses adds survey answers. Newest first by default. Comment automations that only act on comments (reply, like, hide) record no runs here; their actions are comment_automation_run rows in list_events.

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

Input Schema

NameRequiredDescriptionDefault
toNoOnly runs started at or before this time; a plain date covers the whole day.
fromNoOnly runs started at or after this time.
brandYes
limitNo
orderNodesc
cursorNo
statusNo
includeNo
timeZoneNo
commentIdNoOnly runs started by this comment.
automationIdNo
updatedSinceNoOnly runs started, finished, or with a step started or finished at or after this time, ISO 8601.
conversationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so safety is covered. The description adds real behavioral context on top: the default sort order (newest first) and the fact that some automations produce no rows here at all. It stops short of describing pagination behavior for the cursor or how status values behave.

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?

Front-loaded with the resource and return shape, then include semantics, then ordering, then the exclusion caveat. The field enumeration is long but earns its place since there is no output schema. Minor cost: it is one dense block rather than separated sentences.

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?

With no output schema, the description usefully enumerates the returned row fields and expands both include options, which is exactly what an agent needs to interpret results. The remaining gap is filter/pagination semantics for a 13-parameter tool, where several parameters are undocumented in both schema and description.

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 only 31% across 13 parameters, so the description must compensate and it only partly does. It gives genuine meaning to the include values (steps = every step run with type, status, times, sent message, error; surveyResponses = survey answers) and confirms the newest-first default, but says nothing about status, timeZone, cursor, limit, automationId, conversationId, or updatedSince.

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 names the specific resource (runs of DM automations), the unit of return (one row per run) and enumerates the row fields, so an agent knows exactly what it gets. It also draws a hard boundary against comment-only automations, which are the nearest confusing case.

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?

It states the default ordering, explains what each include value adds, and explicitly tells the agent when NOT to use this tool (comment automations that only reply/like/hide) and where those records live instead (list_events / comment_automation_run rows). That is an explicit alternative plus the condition that selects it.

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