Skip to main content
Glama

Reinject lost spans

reinject
Destructive

restore DEGRADED/LOST spans verbatim, or HALT on critical loss when allow=false; requires the audit's signed receipt

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": {
      "post_text": "<post_text>",
      "receipt": "<receipt>"
    },
    "name": "reinject"
  }
}

Input Schema

NameRequiredDescriptionDefault
allowNo
receiptYes
event_idNo
snapshotNo
post_textYes
snapshot_refNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already flag this as a non-read-only, destructive operation; the description adds real value beyond them by disclosing the verbatim-restore guarantee, the critical-loss halt path, and the receipt requirement. However, it says nothing about what the destruction actually reverts or overwrites, whether the operation is reversible, or how snapshot vs snapshot_ref affect behavior.

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 dense sentence with the core action and the critical safety condition front-loaded; nothing is wasted. The all-caps emphasis is unusual but functional, and the terseness does cost some clarity on the unmentioned parameters.

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 destructive, six-parameter tool with nested objects, no output schema, and zero schema descriptions, the definition is thin. An agent knows the high-level intent but lacks enough to populate snapshot, snapshot_ref, or event_id, or to predict what a successful restore 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% with six parameters including nested objects, so the description must carry the load. It only sheds light on 'allow' (halt semantics) and 'receipt' (signed, from audit); post_text, event_id, snapshot, and snapshot_ref are entirely undefined anywhere, including whether snapshot/snapshot_ref are mutually exclusive.

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 ('restore DEGRADED/LOST spans verbatim') plus a distinct failure mode ('HALT on critical loss when allow=false'). It is clear what the tool does and how it differs from audit/pin/snapshot, though it never names those siblings 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?

Implies usage context — recovering lost spans from an audit — and gives one prerequisite ('requires the audit's signed receipt') plus the effect of allow=false. It never says when to prefer this over snapshot or audit, nor what the prerequisites for obtaining a receipt are.

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.

Resources