Skip to main content
Glama

Triage Bundle

triage_bundle
Read-onlyIdempotent

Collect device-plane packets, logs, events, and window data for an e2e-failure timeframe in one call to align timestamps and classify where a test failed.

Instructions

Collect the device-plane artifacts for an e2e-failure window in one call.

Returns {window, packets, logs, events} from the recorder. Pairs with the triage_e2e_failure prompt and the triage.md skill reference: align these timestamps with the app layout/screen capture at the deadline to classify a failure (never-sent / sent-not-received / received-not-rendered / rendered-not-asserted).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "triage_bundle"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoWindow end, in the same forms.now
startNoWindow start: `-5m`, `now` or ISO 8601; the default is the last 2 minutes.-2m

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds provenance ("from the recorder") and the four-way failure taxonomy, but says nothing about volume, truncation, or missing-data behavior for a bundle that could return large artifacts.

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-loads the one-line purpose, then return shape, then companion prompt/skill usage. Every sentence carries information; the only mild redundancy is enumerating the returned keys despite an output schema existing.

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?

For a two-parameter, idempotent read tool with a full output schema and complete annotations, the description supplies the missing piece an agent needs: how the result is consumed in the triage workflow. The main unanswered question is scope — which device/node the artifacts come from, given no device selector parameter.

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 both parameters (start/end) are documented in the schema with formats and defaults. The description only implies the window semantics ("e2e-failure window") without adding syntax or defaults beyond what the schema already states, so 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?

States a specific verb and resource ("Collect the device-plane artifacts") with an explicit scope ("an e2e-failure window in one call"). The "in one call" framing distinguishes it from single-stream collectors like logs_window and events_window, though those siblings are never named.

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?

Gives clear workflow context: pair with the `triage_e2e_failure` prompt and `triage.md` skill reference, then align timestamps against app layout/screen capture to classify the failure. It stops short of stating when not to use it (e.g. when only logs or only packets are needed) or naming alternative tools.

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