Skip to main content
Glama

Read a playbook run's output

ansible_run_output

Retrieve the status and captured output of an Ansible run by run ID to inspect execution results and troubleshoot failures.

Instructions

The status and captured output of one Ansible run.

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": {
      "run": "<run>"
    },
    "name": "ansible_run_output"
  }
}

Input Schema

NameRequiredDescriptionDefault
runYesrun id, e.g. ar-…

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and does very little with it. It never says whether output is truncated or paginated for large runs, what happens with an unknown run id, whether in-progress runs return partial output, or whether any permissions are required.

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 short sentence with no wasted words, front-loaded on the return value. Its terseness is efficient, though it edges toward under-specification rather than pure conciseness.

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 one-parameter read tool with full schema coverage and no output schema, the description covers the essentials by indicating that both status and captured output come back. It still omits output size behavior and failure semantics, which matter for an agent consuming run logs.

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% and the single 'run' parameter already documents its expected form ('run id, e.g. ar-…'). The description only restates that the parameter identifies one run, so the baseline 3 applies.

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 names a specific resource and scope: the status and captured output of one Ansible run. An agent can tell this is a per-run detail lookup rather than a listing tool, though it never explicitly differentiates itself from the parallel terraform_run_output sibling.

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?

There is no when-to-use guidance, no statement of prerequisites (e.g. the run must exist or be complete), and no routing to alternatives such as the ansible tool or terraform_run_output. The agent must infer usage entirely from the title.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.