Skip to main content
Glama
Vaquill-AI/vaquill-mcp

Vaquill-AI/vaquill-mcp

Official
by Vaquill-AI

Resolve Citation

resolve_statute_citation
Read-only

Resolve Bluebook citation strings to exact statute sections with confirmed official source links and act_id, so citation-based lookups work when users provide citations instead of questions.

Instructions

Resolve a Bluebook citation string ('42 U.S.C. 1983', '16 C.F.R. 444.1', 'Cal. Code Regs. tit. 22, 76227') to the exact section, confirmed, with an official source link and the act_id. Use this whenever the user gives you a citation rather than a question -- it is far more reliable than searching for the citation text. matchLevel means section is NOT the exact unit cited. A shared acronym (G.S. 52-577) is resolved: false until you pass state.

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

Input Schema

NameRequiredDescriptionDefault
citeYesA Bluebook citation string, e.g. '42 U.S.C. 1983' or '16 C.F.R. 444.1'.
stateNoOptional jurisdiction to resolve WITHIN: a 2-letter state code, e.g. `tx`, or `federal` for USC, CFR, federal rules and the U.S. Constitution. Some citation forms are shared: `8 CCR 1206-2` is Colorado and `22 CCR 76227` is California. A constraint, not a hint: a citation naming a different jurisdiction returns `resolved: false` rather than being forced into this one, so a federal citation (`42 U.S.C.`, `C.F.R.`, `Fed. R. Civ. P.`, `U.S. Const.`) under a state returns `resolved: false`. Leave it unset when the citation already names its jurisdiction, and never carry a state over from an earlier question. When the scope is why it missed, `citationOutsideFilters` names the section and the scope that excluded it.
corpusTypeNoOptional corpus to resolve WITHIN: `STATE`, `REGULATION`, `STATE_RULES`, `CONSTITUTION`, `STATE_CONSTITUTION`. Narrows a citation whose form several corpora share; like `state`, a citation belonging to another corpus resolves to nothing instead.
Idempotency-KeyNoOptional, 16 to 255 visible ASCII characters (a UUIDv4 is ideal). A retry with the same key and request replays the original 2xx for 24 hours without charging again; the same key with a different request is rejected.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.5.0
    • addedInput schema / properties / Idempotency-Key
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 255,
      +      "minLength": 16,
      +      "pattern": "^[\\x21-\\x7e]+$",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Optional, 16 to 255 visible ASCII characters (a UUIDv4 is ideal). A retry with the same key and request replays the original 2xx for 24 hours without charging again; the same key with a different request is rejected.",
      +  "examples": [
      +    "3f9c2a1e-7b44-4d0a-9c1e-5a6b7c8d9e0f"
      +  ]
      +}
    • changedInput schema / properties / corpusType / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "CONSTITUTION",
      +      "FEDERAL_BILL",
      +      "REGULATION",
      +      "STATE",
      +      "STATE_CONSTITUTION",
      +      "STATE_RULES",
      +      "US_TREATY"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / state / anyOf
      Previous value: -[
      -  {
      -    "maxLength": 2,
      -    "minLength": 2,
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "federal",
      +      "al",
      +      "ak",
      +      "as",
      +      "az",
      +      "ar",
      +      "ca",
      +      "co",
      +      "ct",
      +      "de",
      +      "dc",
      +      "fl",
      +      "ga",
      +      "gu",
      +      "hi",
      +      "id",
      +      "il",
      +      "in",
      +      "ia",
      +      "ks",
      +      "ky",
      +      "la",
      +      "me",
      +      "md",
      +      "ma",
      +      "mi",
      +      "mn",
      +      "ms",
      +      "mo",
      +      "mt",
      +      "ne",
      +      "nv",
      +      "nh",
      +      "nj",
      +      "nm",
      +      "ny",
      +      "nc",
      +      "nd",
      +      "mp",
      +      "oh",
      +      "ok",
      +      "or",
      +      "pa",
      +      "pr",
      +      "ri",
      +      "sc",
      +      "sd",
      +      "tn",
      +      "tx",
      +      "ut",
      +      "vt",
      +      "vi",
      +      "va",
      +      "wa",
      +      "wv",
      +      "wi",
      +      "wy"
      +    ],
      +    "maxLength": 7,
      +    "minLength": 2,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / state / description
      Previous value: -"Optional 2-letter jurisdiction to resolve WITHIN, e.g. `tx`. Some citation forms are shared: `8 CCR 1206-2` is Colorado and `22 CCR 76227` is California. A constraint, not a hint: a citation naming a different jurisdiction returns `resolved: false` rather than being forced into this one."New value: +"Optional jurisdiction to resolve WITHIN: a 2-letter state code, e.g. `tx`, or `federal` for USC, CFR, federal rules and the U.S. Constitution. Some citation forms are shared: `8 CCR 1206-2` is Colorado and `22 CCR 76227` is California. A constraint, not a hint: a citation naming a different jurisdiction returns `resolved: false` rather than being forced into this one, so a federal citation (`42 U.S.C.`, `C.F.R.`, `Fed. R. Civ. P.`, `U.S. Const.`) under a state returns `resolved: false`. Leave it unset when the citation already names its jurisdiction, and never carry a state over from an earlier question. When the scope is why it missed, `citationOutsideFilters` names the section and the scope that excluded it."
  2. Changed3 schema fields changedv0.4.0
    • removedInput schema / properties / cite / title
      Removed value: -"Cite"
    • addedInput schema / properties / corpusType
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Optional corpus to resolve WITHIN: `STATE`, `REGULATION`, `STATE_RULES`, `CONSTITUTION`, `STATE_CONSTITUTION`. Narrows a citation whose form several corpora share; like `state`, a citation belonging to another corpus resolves to nothing instead.",
      +  "examples": [
      +    "REGULATION"
      +  ]
      +}
    • addedInput schema / properties / state
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 2,
      +      "minLength": 2,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Optional 2-letter jurisdiction to resolve WITHIN, e.g. `tx`. Some citation forms are shared: `8 CCR 1206-2` is Colorado and `22 CCR 76227` is California. A constraint, not a hint: a citation naming a different jurisdiction returns `resolved: false` rather than being forced into this one.",
      +  "examples": [
      +    "tx"
      +  ]
      +}
  3. Addedv0.2.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the description's job is to add resolution behavior — and it does: `matchLevel` signals that the returned `section` is not the exact unit cited, and shared acronyms like 'G.S. 52-577' return resolved: false until `state` is supplied. The cross-jurisdiction failure rule ('a federal citation under a state returns resolved: false rather than being forced') is exactly the kind of non-obvious behavior an agent needs before calling.

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 what the tool returns, followed by the usage rule, then two short caveats about matchLevel and shared acronyms. Every sentence carries signal, though the prose is dense with backticks and code-style tokens that slightly slow scanning.

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?

For a single-citation resolver with an output schema, the definition covers input expectations, filter behavior, and the two main failure modes (matchLevel, resolved: false). What remains unstated is how to handle multiple citations at once and whether rate limits or per-call billing apply — relevant given the Idempotency-Key parameter exists.

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 coverage is 100%, so the schema already documents all four parameters in detail — including the state enum, the corpusType enum, and the Idempotency-Key replay semantics. The description adds little that is not already in those fields; the shared-acronym example for `state` nearly restates the schema's own '8 CCR 1206-2 is Colorado and 22 CCR 76227 is California' note. Baseline 3 applies when the schema does the heavy lifting.

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?

States a specific verb and resource ('Resolve a Bluebook citation string ... to the exact section, confirmed, with an official source link and the act_id') and supplies three concrete input examples plus the shape of the output. What it does not do is name its nearest sibling, resolve_statute_citations_batch, so an agent handling several citations at once gets no explicit routing signal from this text.

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?

'Use this whenever the user gives you a citation rather than a question -- it is far more reliable than searching for the citation text' gives a clear trigger condition and names the inferior alternative it replaces. The state/corpusType guidance ('leave it unset when the citation already names its jurisdiction, and never carry a state over from an earlier question') is unusually actionable. It stops short of stating when not to use this tool, e.g. for multi-citation input.

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