Skip to main content
Glama

cite

Read-only

Resolve an evidence ID to its full passage, file path and location, nearby context, current-version status, and disk-match check so you can verify cited sources.

Instructions

Resolve an evidence_id: full passage, file path and location, neighbouring passages, whether it is still the current version of the file and whether the file on disk still matches.

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": {
      "evidence_id": "<evidence_id>"
    },
    "name": "cite"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextNo
evidence_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description does add genuine value by disclosing that the response includes staleness signals (current version? disk still matches?). However it says nothing about what happens when the ID is unknown or the file has been deleted or moved, which matters for a resolution tool.

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

Conciseness5/5

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

A single front-loaded sentence with the verb and the input first, then the enumerated outputs. Every clause carries information; nothing is padded or repeated.

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

Completeness4/5

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

With no output schema, the description usefully previews the return shape, and the two-parameter surface is small. The one real gap is the unexplained context parameter, which leaves an agent guessing at how many neighbouring passages it will get.

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 0%, so the description must carry the parameter burden. It explains what evidence_id denotes in effect, but the second parameter, context (integer 0-3, default 1), is never mentioned; 'neighbouring passages' hints at its purpose without connecting it to the parameter, its default, or its maximum of 3.

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?

Names a specific verb (resolve) and resource (an evidence_id) and enumerates exactly what the resolution returns: passage text, file path/location, neighbouring passages, current-version status, and on-disk match. That is far more specific than a restatement of the name, though it never contrasts itself with search_docs or open_record, so an agent must infer the division of labour.

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 phrase 'Resolve an evidence_id' implies the trigger condition (you already hold an evidence_id from a prior search), but there is no explicit when-to-use, no when-not-to-use, and no named alternative for the case where the agent only has a file path or a topic instead of an ID.

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