Skip to main content
Glama

RoboParts 机器人零部件兼容性

trace_replay

从 JSONL 文本重放轨迹(结构校验 + 计数)。本端点可处理当前请求内传入的 json_lines;不做"重算 verdict"(语义重放属 P3,需要完整输入重演)。

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": {
      "json_lines": "<json_lines>"
    },
    "name": "trace_replay"
  }
}

Input Schema

NameRequiredDescriptionDefault
strictNo严格模式:首个 parse 失败即中断
json_linesYesJSONL 行数组(每行一条 trace JSON)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It usefully scopes the operation (current-request lines only, structural validation plus counting, no verdict recomputation), which is real behavioral value, but it says nothing about what the tool returns (counts? per-line errors?), whether strict mode changes the response shape, or whether any state is written.

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?

Two sentences, front-loaded with the core operation and followed by the key scope limitation. No filler, though the emphasis markup and the P3 reference add noise that an agent cannot act on.

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 two-parameter tool with no annotations and no output schema, the description covers what it does and what it refuses to do, but leaves the response contract (counts, error reporting, strict-mode effect on output) unexplained. Adequate but with an obvious gap for an agent that needs to interpret results.

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%, so both json_lines and strict are already documented in the schema. The description adds only that json_lines must be passed within the current request, which is marginal beyond the schema's 'JSONL 行数组' wording.

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+resource: replay a trace from JSONL text, scoped to structural validation and counting. This distinguishes it from the sibling trace_export and from semantic/verdict tools, though the parenthetical '(结构校验 + 计数)' is the only thing separating it from a generic replay.

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?

The description gives a clear exclusion: it only handles json_lines supplied in the current request and does not recompute verdicts (semantic replay is deferred to P3). However, it never names an alternative sibling (e.g. trace_export or get_behavior_evidence) or states the conditions under which an agent should pick this tool over them.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.