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

Vaquill-AI/vaquill-mcp

Official
by Vaquill-AI

Statute Section Metadata

get_us_statute_section
Read-only

Retrieve metadata for a US statute, regulation, or rule section by act_id, including citation, title hierarchy, amendment history, and document links, to confirm you have the right section before fetching its full text.

Instructions

Metadata for one US statute, regulation or rule section by act_id: citation, title hierarchy, breadcrumb, amendment history, and links to HTML, PDF and XML. Does NOT include the section text -- use get_us_statute_section_text for that. Good for confirming you have the right section before paying for its full body.

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": {
      "act_id": "<act_id>"
    },
    "name": "get_us_statute_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
fullNoReturn every list entry and the whole `history` credit line. By default lists are capped at 50 items and `history` at 4,000 characters, and `responseBounds` reports each cut with its total. No extra charge.
act_idYesSection identifier, e.g. `USC_T42_C21_S1983` (Title 42, Chapter 21, Section 1983, written 42 U.S.C. 1983). Take it from a search result rather than assembling it: the title and section are derivable from a citation but the CHAPTER is not, so hand-built ids usually 404.
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. Changed2 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"
      +  ]
      +}
    • addedInput schema / properties / full
      Added value: +{
      +  "default": false,
      +  "description": "Return every list entry and the whole `history` credit line. By default lists are capped at 50 items and `history` at 4,000 characters, and `responseBounds` reports each cut with its total. No extra charge.",
      +  "type": "boolean"
      +}
  2. Changed2 schema fields changedv0.4.0
    • changedInput schema / properties / act_id / description
      Previous value: -"Section identifier. Encodes the citation's hierarchy: `USC_T42_C21_S1983` is Title 42, Chapter 21, Section 1983, the section a lawyer writes as 42 U.S.C. § 1983. Take it from a `/us/statutes/search` result rather than assembling it: the title and section are derivable from a citation, but the CHAPTER is not, so hand-built ids usually 404."New value: +"Section identifier, e.g. `USC_T42_C21_S1983` (Title 42, Chapter 21, Section 1983, written 42 U.S.C. 1983). Take it from a search result rather than assembling it: the title and section are derivable from a citation but the CHAPTER is not, so hand-built ids usually 404."
    • removedInput schema / properties / act_id / title
      Removed value: -"Act Id"
  3. Changed1 schema field changedv0.2.0
    • changedInput schema / properties / act_id / description
      Previous value: -"Section identifier (e.g., 'USC_T42_C21_S1983')."New value: +"Section identifier. Encodes the citation's hierarchy: `USC_T42_C21_S1983` is Title 42, Chapter 21, Section 1983, the section a lawyer writes as 42 U.S.C. § 1983. Take it from a `/us/statutes/search` result rather than assembling it: the title and section are derivable from a citation, but the CHAPTER is not, so hand-built ids usually 404."
  4. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the exclusion of section body text and the cost implication of this call versus the full-text call. It does not discuss the Idempotency-Key retry semantics or rate limiting, which the schema covers but the prose does not reinforce.

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

Conciseness5/5

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

Three short sentences, front-loaded with purpose, then the exclusion and the alternative, then the practical rationale. Every sentence carries distinct information with no restatement of the title or name.

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?

An output schema exists, so the description need not document return values, and it correctly focuses on scope, the excluded text, and the sibling routing. The one small gap is that the `full` parameter's bounding behavior and `responseBounds` truncation are only explained in the schema, not flagged here, though that is acceptable given the rich schema.

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 description coverage is 100%, so all three parameters including act_id, full and Idempotency-Key already carry documentation, complete with the warning about hand-built ids 404ing. The description only references act_id as the lookup key and adds no format, default, or bounding details beyond the schema, so the 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 ('Metadata for one US statute, regulation or rule section by act_id') and enumerates the returned fields (citation, title hierarchy, breadcrumb, amendment history, links). It also explicitly distinguishes itself from the sibling get_us_statute_section_text, so an agent can pick the right tool without opening either schema.

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 explicit when-to-use and when-not-to-use guidance: 'Does NOT include the section text -- use get_us_statute_section_text for that' names the alternative and the condition that selects it. It further frames the use case ('confirming you have the right section before paying for its full body'), which tells the agent where this call sits in a cost-aware workflow.

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