Skip to main content
Glama

cross-reference-check

Find dangling and duplicated cross-references (Section 3.2, Table 4, Figure 2, [7]) in a document — Scans a document for the targets it defines (numbered headings, Table/Figure/Listing/Equation captions at line start, Appendix/Annex headings, [n] bibliography entries, [^id] footnote definitions) and the references it makes to them ('see Section 3.2', 'Tables 2 and 4', 'Figures 3 to 5', '[7]', '[^note]'), and reports references with no target, targets defined twice, and targets never referenced,

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": {
      "text": "<text>"
    },
    "name": "cross-reference-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesDocument text (plain text or Markdown).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does disclose the detection logic in useful detail (what counts as a target vs a reference) and implies a read-only scan that 'reports' rather than fixes. However, it never states that the document is not modified, says nothing about performance or size limits beyond the schema's maxLength, and gives no output shape for the three finding categories.

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?

It is a single front-loaded sentence whose opening clause states the purpose before the parenthetical detail, so an agent can stop reading early. The enumeration in the back half is dense but earns its place by defining what counts as a target versus a reference; only a trailing comma and one unfinished clause detract.

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 one-parameter tool with no annotations and no output schema, the description adequately covers input expectations and the three report categories. It falls short on what the report actually looks like (per-reference line numbers, severity, grouping) and on scope limits for very large documents, which the agent would need to decide whether to call it at all.

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?

There is a single parameter documented at 100% schema coverage, so the schema already explains 'text' and its length bounds. The description adds only the framing that the text is a document containing headings, captions, and bibliography entries — useful context that clarifies what forms the input must contain, but no syntax or format guidance beyond that.

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 opens with a specific verb and resource — 'Find dangling and duplicated cross-references' — and immediately grounds it with concrete examples (Section 3.2, Table 4, [7]). It fully describes the detection domain, but never names or contrasts with a sibling such as reference-verifier or doi-check, so an agent must infer the boundary itself.

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?

Usage is only implied: the mention of document scanning and the enumerated reference styles make clear this applies to docs containing internal cross-references, but there is no explicit when-to-use statement, no exclusions, and no named alternative for citation-DOI validation or external link checking.

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