Skip to main content
Glama

console_capture

console_capture
Read-onlyIdempotent

Capture the current CLI buffer output from a specified device and detect prompts or errors to help diagnose console sessions.

Instructions

Capture current CLI buffer output for device_name and detect prompt/errors.

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": {
      "device_name": "<device_name>"
    },
    "name": "console_capture"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNo
device_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavioral information by noting it detects prompt/errors in the buffer. It does not disclose whether capturing drains or resets the buffer, nor any timing/connection prerequisite.

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 front-loaded sentence with no wasted words, and the resource plus secondary behavior are ordered sensibly. It is arguably too terse for a two-parameter tool, but nothing in it is redundant.

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?

An output schema exists, so return values need not be explained, and annotations cover safety. However, with 0% schema coverage the definition leaves the 'model' parameter and buffer semantics (drain vs. peek) unexplained, which matters for correct invocation.

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%, so the description must carry parameter meaning and it does not. It names device_name only as a bare identifier (no format or source guidance) and never mentions the optional 'model' parameter at all.

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 ('Capture current CLI buffer output') scoped to a named device, plus an additional behavior ('detect prompt/errors'). An agent can distinguish it from console_execute by the capture-vs-execute wording, though the description never names that sibling explicitly.

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: 'capture current buffer' suggests reading output after commands have run, as opposed to running new ones. There is no explicit statement of when to prefer this over console_execute, and no preconditions such as needing an open connection or prior command execution.

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