Skip to main content
Glama

recorder

Captures variable history in the background before a fault occurs and dumps the buffered window for inspection and diagnosis.

Instructions

Flight recorder chạy nền: giữ lịch sử biến ngay trước lúc lỗi; dump để xem.

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": {
      "action": "<action>"
    },
    "name": "recorder"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupNo
actionYes
rate_hzNo
window_sNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false and destructiveHint=false, so the agent knows state changes occur without destruction. The description adds genuinely useful behavior context — the recorder runs in the background and retains a rolling window of variable history leading up to a fault. It does not say whether 'start' resets existing data, what memory cost the buffer imposes, or how start/stop/status differ in effect.

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 compact sentence with the core capability front-loaded and the viewing action appended. Nothing is redundant, though the extreme terseness is partly the cause of the missing parameter guidance rather than a virtue in itself.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-parameter stateful tool with no output schema and zero schema description coverage, the description is far too thin. An agent can form a rough mental model of a pre-fault recorder but cannot confidently choose values for rate_hz or window_s, or understand what each action returns.

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% for four parameters, so the description carries the full burden and largely fails: only the 'dump' action is named. rate_hz, window_s, and group receive no explanation of units, defaults, or effect on capture depth, leaving the agent to guess the sampling and buffering tradeoffs.

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 gives a concrete verb+resource: a background flight recorder that keeps variable history from just before a fault, with 'dump' to view it. That is a specific, recognizable function rather than a restatement of the name. It does not distinguish itself from close siblings such as snapshot, journal, or watch, which keeps it from a 5.

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?

'dump để xem' gives one concrete usage step (dump to inspect), and the pre-fault retention framing implies when the tool is valuable. However, there is no explicit when-to-use vs. when-not guidance and no mention of alternatives like snapshot or watch for one-off captures.

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