Skip to main content
Glama

get_automation_execution

Read-only

Read one execution of an automation with every step's output and fan-out items.

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>",
      "executionId": "<executionId>"
    },
    "name": "get_automation_execution"
  }
}

Input Schema

NameRequiredDescriptionDefault
executionIdYes
automationIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/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 and the bar is lower. The description contributes one useful behavioral fact -- that the payload includes the full step output and fan-out items -- but says nothing about size, payload limits, or what happens when the execution is missing or still running.

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?

A single tight sentence with no filler and the resource stated first. It is arguably too terse for its size, but nothing is wasted.

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?

For a two-id read tool whose annotations already cover safety, the definition is close to sufficient, and it usefully hints at return content in the absence of an output schema. The gap is the unexplained identifier relationship and no note on empty/errored/partial executions.

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 0% and both parameters are required, so the input schema provides only names and a length bound on executionId. The description does not explain the relationship between automationId and executionId, whether executionId is globally unique or scoped to the automation, or the accepted format.

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 ('Read') and a precise resource ('one execution of an automation'), and adds the scope of what is returned ('every step's output and fan-out items'). It does not name the sibling list_automation_executions, which would be the natural contrast for retrieving one execution vs many.

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 only implied by 'one execution' – an agent can infer this is the single-execution detail read rather than a listing or a cancel/wake operation, but there is no explicit when-to-use statement or named alternative. No prerequisites (e.g. needing an executionId from list_automation_executions) are stated.

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.