Skip to main content
Glama

Search case law and regulations

search_legal_authority
Read-onlyIdempotent

Use this when a veteran's question needs VA regulations, legal standards or case law by keyword, citation or diagnostic code. It does not read a claim, predict a decision or give legal advice. Returns 38 CFR rating criteria, verbatim doctrine (pinpoints, capture and effective dates, reviewed holdings) and Court of Appeals for Veterans Claims (CAVC) excerpts (docket, case name, relevance); precedential CAVC decisions bind the Board of Veterans' Appeals; memorandum decisions do not. citation is a section ("3.310", "38 U.S.C. 5107(b)"); unreadable ones match nothing; query is optional when citation is supplied. limit: per-source results, default 5, maximum 10; doctrine caps at four with the true total. status: "ok" (all answered, each selected match carried), "partial" (a match missing, a component unfinished), "no_match" (all answered, none matched), "unavailable" (a component silent: nothing reads as absence of authority); statusReason says why. A truncation object (any status): doctrinePropositionsTrimmed counts entries serving only their first propositions (each with its true total); textBounded, a criterion withheld whole (row: criteriaOmitted, withheld length); resultsDropped, uncarried matches per regulatory, caseLaw and doctrine; responseTrimmedForSize, shed for size. Dockets and case names come only from results; it says if the case-law corpus is empty. citationResolved: true on positive evidence, false only after a full corpus scan, else null (open); citationStatus: resolved, unresolved, unknown, unparsed or not_supplied. coverage: citationScanComplete, candidateScansComplete, incompleteCandidateScans (components whose scan window filled before all candidates were examined), truncatedComponents, doctrineMatchedOn (doctrine from citation, query or standing authorities), searchComplete; with totalsAreMeasuredCounts false, a zero speaks for this search only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_legal_authority"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (default 5, max 10).
queryNoSearch query (e.g., "PTSD secondary to MST", "DC 8100 migraine 50 percent criteria", "CUE in combined rating calculation"). Optional when citation is supplied; supply query, citation, or both.
citationNoExact citation to look up (e.g., "3.310", "38 CFR 3.310(b)", "4.16", "38 U.S.C. 5107(b)"). Sufficient on its own: a call with only a citation is answered as a citation lookup. A citation that cannot be read as a CFR or USC section matches nothing and is reported.
diagnosticCodeNoFilter by diagnostic code (e.g., "8100").

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / citation / description
      Previous value: -"Exact citation to look up (e.g., \"3.310\", \"38 CFR 3.310(b)\", \"4.16\", \"38 U.S.C. 5107(b)\"). A citation that cannot be read as a CFR or USC section matches nothing and is reported."New value: +"Exact citation to look up (e.g., \"3.310\", \"38 CFR 3.310(b)\", \"4.16\", \"38 U.S.C. 5107(b)\"). Sufficient on its own: a call with only a citation is answered as a citation lookup. A citation that cannot be read as a CFR or USC section matches nothing and is reported."
    • changedInput schema / properties / query / description
      Previous value: -"Search query (e.g., \"PTSD secondary to MST\", \"DC 8100 migraine 50 percent criteria\", \"CUE in combined rating calculation\")."New value: +"Search query (e.g., \"PTSD secondary to MST\", \"DC 8100 migraine 50 percent criteria\", \"CUE in combined rating calculation\"). Optional when citation is supplied; supply query, citation, or both."
    • removedInput schema / required
      Removed value: -[
      -  "query"
      -]
  2. Changed1 schema field changed
    • addedInput schema / properties / citation
      Added value: +{
      +  "description": "Exact citation to look up (e.g., \"3.310\", \"38 CFR 3.310(b)\", \"4.16\", \"38 U.S.C. 5107(b)\"). A citation that cannot be read as a CFR or USC section matches nothing and is reported.",
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only cover the safety profile (readOnly, idempotent, non-destructive); the description goes far beyond by disclosing non-obvious behaviors an agent could not infer: partial/no_match/unavailable statuses with the rule that 'nothing reads as absence of authority', truncation accounting, and that citationResolved=false is only reliable after a full corpus scan while null means open. The precedential-vs-memorandum CAVC distinction is genuinely decision-relevant context.

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

Conciseness3/5

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

The usage statement is correctly front-loaded, but the body is a single ~350-word run-on enumerating return-field names (textBounded, resultsDropped, responseTrimmedForSize, incompleteCandidateScans) with no line breaks, which makes it hard to parse. Much of the tail is return-value documentation that would be better placed in an output schema; it is dense rather than economical.

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 and a high-complexity tool (citation resolution, truncation, corpus-scan coverage), the description has to carry the return-value burden and does so thoroughly, including status semantics, citation resolution caveats, and coverage flags. An agent has enough to interpret every plausible response state 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 100%, so the baseline is 3, but the description adds real meaning the schema does not: limit is per-source with doctrine capped at four (with the true total), query is optional when citation is supplied, and unreadable citations match nothing rather than erroring. These are semantic clarifications beyond the field descriptions, not restatements.

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?

The opening sentence gives a specific verb (search) and resource (VA regulations, legal standards, case law) plus the three supported lookup modes (keyword, citation, diagnostic code). It also fences the tool off from adjacent capabilities ('does not read a claim, predict a decision or give legal advice'), which separates it from siblings like find_claim_help and prepare_cp_exam.

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?

The description states an explicit trigger ('Use this when a veteran's question needs VA regulations, legal standards or case law') and an explicit negative boundary (no claim reading, no decision prediction, no legal advice). It stops short of naming an alternative sibling to route to when the trigger does not apply, so it lands just below the top.

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