Skip to main content
Glama

Torivane Logistics Engine

diagnose_evidence

Idempotent

A diagnostic of contradictions, missing evidence and the next evidence needed.

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": {
      "idempotency_key": "<idempotency_key>",
      "request": "<request>"
    },
    "name": "diagnose_evidence"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYes
idempotency_keyYes
receipt_referenceNo
logical_shipment_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false, idempotentHint=true and openWorldHint=true, so the agent knows this is a mutating, idempotent call, yet the description adds nothing about what is written or why an idempotency key and receipt_reference exist. It does not contradict the annotations, but it leaves the mutation semantics undisclosed despite them being non-obvious for a tool named 'diagnose'.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short sentence with no waste, but this is under-specification rather than conciseness: it is a truncated fragment that front-loads nothing actionable. Length is not the problem; the absence of a verb and of any operational detail is.

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

Completeness1/5

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

The tool has a nested required request schema, required idempotency key, no output schema and mutation-adjacent annotations, so the description carries the full explanatory burden. It provides none of it, leaving the agent unable to construct a valid call or anticipate results.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 4 parameters, including a nested request object with required evidence items (message, source_ref), plus idempotency_key, receipt_reference and logical_shipment_id. The description explains none of these, so the agent gets no idea what constitutes valid evidence or how receipt_reference and logical_shipment_id scope the diagnosis.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the subject matter (contradictions, missing evidence, next evidence needed), which hints at an evidence-gap diagnostic, but it is a noun fragment with no verb or object: it never says whether the tool analyses, records, or returns a diagnosis. It also gives no signal distinguishing it from siblings such as assess_shipment or reassess_shipment.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance, no preconditions (e.g. that a receipt or shipment must exist), and no mention of alternatives like assess_shipment or reassess_shipment. The agent must infer the trigger condition entirely from the phrase 'next evidence needed'.

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