Skip to main content
Glama

fleet_output

Read clean output from a fleet run, including final answers, incremental deltas, logs, events, and raw paths, with optional waiting until completion or new output arrives.

Instructions

Read output from a fleet run cleanly.

Views:

  • 'summary': status, timing, path mapping, recent 6 events, final_text preview

  • 'final': clean final answer + session_id + usage (best for agent handoff)

  • 'delta': incremental bytes/events starting from cursor (returns next_cursor)

  • 'tail': ANSI-stripped tail of stdout/stderr logs

  • 'events': recent structured JSON events

  • 'raw': absolute paths to stdout.log, stderr.log, meta.json Pass wait_sec > 0 to block quietly until completion or new output arrives.

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_id": "<run_id>"
    },
    "name": "fleet_output"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewNosummary
cursorNo
run_idYes
wait_secNo
max_charsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does well: it discloses that logs are ANSI-stripped, that 'delta' is incremental and returns next_cursor, and that wait_sec > 0 blocks until completion or new output. It omits failure behavior for an unknown run_id and any truncation semantics, which are material for a polling tool.

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?

A one-line purpose statement followed by a scannable view list and a single behavioral note. Every bullet adds distinct information and the most important content (what you get back per view) is front-loaded.

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?

There is no output schema, so the description must describe returns, and the view list effectively documents what each mode yields (status, timing, final_text preview, session_id, usage, next_cursor, absolute log paths). The concrete return format and truncation behavior under max_chars remain unspecified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate, and it does for the three non-obvious parameters: view values are enumerated with their content, cursor is tied to delta and next_cursor, and wait_sec's blocking semantics are spelled out. run_id and max_chars get no explanation, leaving truncation behavior undocumented.

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 opening line states a specific verb and resource ('Read output from a fleet run') and the view enumeration makes the exact scope concrete. It doesn't explicitly contrast itself with fleet_status or fleet_list, so an agent must infer that this tool reads run artifacts rather than run metadata.

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?

Per-view guidance is genuinely actionable: 'final' is called out as 'best for agent handoff' and 'delta' is tied to the cursor workflow. The wait_sec note explains blocking behavior, but there is no guidance on when to prefer this tool over fleet_status or fleet_list.

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