Skip to main content
Glama

Check all citations in a text

lexatlas_citecheck
Read-onlyIdempotent

Check every legal citation in a text in one call. Call it on a draft (contract, memo, AI answer) before it is used: it finds citations that are not in the corpus and citations to norms that are no longer in force, and gives the date the corpus last checked each source. text = the document; default_jur = the jurisdiction to assume when a citation does not name one (e.g. ru). Returns a tally and one finding per citation: in force, repealed, not found, or not verified. 'Not found' means the citation is not in the corpus; confirm such cases with lexatlas_search before calling them wrong. Send long documents in parts.

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": "lexatlas_citecheck"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
default_jurNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the bar is met; the description goes further by disclosing the finding taxonomy (in force, repealed, not found, not verified), the corpus last-checked date, and the important caveat that 'not found' is not proof of error.

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?

Front-loaded with purpose and the action trigger, and the trailing sentences each add real information rather than filler. It is slightly dense and reads as one long block, which costs a point on structure.

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

Completeness5/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 takes responsibility for the return value — a tally plus one finding per citation across four categories. Combined with the parameter and caveat guidance, an agent has everything needed to call and interpret it correctly.

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

Parameters4/5

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

Schema coverage is 0%, so the description must carry the load — it does define both parameters: text = the document and default_jur = the assumed jurisdiction with a concrete example ('ru'). It lacks any statement of accepted format or code set for default_jur, which keeps it from a 5.

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

Purpose5/5

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

States a specific verb and resource — 'Check every legal citation in a text' — with explicit scope ('every ... in one call'). It is clearly distinguishable from siblings like lexatlas_verify and lexatlas_search, which are named for other purposes.

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

Usage Guidelines5/5

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

Gives an explicit when: 'Call it on a draft (contract, memo, AI answer) before it is used,' plus a concrete alternative path — confirm 'not found' cases with lexatlas_search before calling them wrong. It also advises sending long documents in parts.

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.