Skip to main content
Glama

Check legal citations

check_citations
Read-onlyIdempotent

Check every legal citation in a piece of text against a law library: does each case citation exist, does it belong to the case named, is each quotation in the opinion word for word, does each New York statute section exist. Returns reply, the finished answer to give the visitor word for word, with ok true (citations, counts and statusMeanings) or ok false (a reason). It does not say whether a case is still good law. Changes nothing. Pass the text exactly as the visitor gave it. Give the returned text to the person word for word, with its sources and its closing note. Do not add law from memory.

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

Input Schema

NameRequiredDescriptionDefault
textYesThe passage that holds the citations, copied exactly, with the case names and any quotations around them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, and the description reinforces this with 'Changes nothing' rather than contradicting it. Beyond that it discloses the response contract (ok true with citations, counts and statusMeanings; ok false with a reason), the scope limitation regarding good law, and two handling rules — relay the returned text word for word and do not add law from memory.

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?

The purpose and its enumerated checks are front-loaded in the first sentence, and the return contract follows. The 'Returns reply...' sentence is long and slightly run-on, and the closing relay instructions sit a bit apart from the functional content, but nearly every sentence carries actionable information.

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 carries the burden of explaining returns and does so by describing both the ok true payload and the ok false reason. Combined with the stated scope limit and the caller-handling instructions, an agent has everything needed to invoke and use the result correctly.

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 and schema coverage is 100%; the schema already documents that the passage must be copied exactly with case names and quotations. The description restates the exactness requirement ('Pass the text exactly as the visitor gave it') but adds no syntax, format, or length guidance beyond the schema's min/max constraints, so baseline 3 applies.

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 legal citations in text against a law library) and enumerates the exact checks performed: existence, case-name match, verbatim quotations, and New York statute sections. It also draws a clear boundary by stating it does not judge whether a case is still good law, which separates it from a general legal search.

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

Usage Guidelines4/5

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

Usage is clear from context (verifying citations in a passage of visitor-supplied text) and the description gives concrete invocation guidance — 'Pass the text exactly as the visitor gave it.' It excludes one adjacent use case (good-law status) but does not name an alternative tool or state what to do in that case, so it stops short of full routing guidance.

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