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

Vaquill-AI/vaquill-mcp

Official
by Vaquill-AI

Statute Section Text

get_us_statute_section_text
Read-only

Fetch the full text of a US statute, regulation, or rule section by act_id as styled HTML or plain text, so you can quote, draft against, or analyze the actual statutory language.

Instructions

The full text of a US statute, regulation or rule section by act_id. Returns styled HTML (with cross-references and paragraph numbering as officially published) and plain text. Use when you need the actual statutory language to quote, draft against, or analyze rather than just cite. A section the publisher prints as images answers bodyUnavailable: true with image_only_source and no text, and is not charged.

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_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
asOfNoText as it stood on this date (`YYYY-MM-DD`), same cost. Read `asOf.engine` first. `observed_change` is a RECONSTRUCTION from observed changes, not an archive: `asOf.isBounded` true means no change affecting the date was observed, limited by when capture began, not by the law. `stored_edition` (U.S. Code, CFR_ANNUAL, Copyright Compendium, OFAC FAQs) is a held published edition, and there `isBounded` true means the date is inside one; the U.S. Code holds two dates, so most are out of coverage. A section we cannot rebuild, or a date no held edition governs, returns `source: "unavailable"` with no text and is refunded.
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.
formatNoWhich representations to return. `both` (default) is `html` + `plain`, the same text twice, so `plain` or `html` alone roughly halves the payload at the same price. `all` adds `markdown` (a third full copy, opt-in). `markdown` returns only `markdown`, falling back to `plain` with a `note` when the section has no structured rendering. `content` and `operative` return only the split text, about 1 KB instead of 30 KB on a long section, but ONLY United States Code sections can be split: elsewhere they return `plain` with a `note`, and `content` is null, so read `note` instead of assuming it is empty.both
layoutNoLine-break layout of the returned text. `reflowed` (the default) joins hard-wrapped lines into paragraphs, keeping a break before headings, `(a)` / `1.` labels, table rows and signature blocks. `source` returns the line breaks exactly as extracted from the publisher's document. Same cost. The response's `layout` says which one was served. Reflow never changes the words, and a structured `r2_render` body (tables and figures) is returned as rendered under either value. `pinpoint` offsets index into the text of the layout you asked for.reflowed
pinpointNoReturn one subsection in `pinpoint` beside the whole body. Parenthesised labels, outermost first, without the section number: `(c)`, `(c)(1)`, `(d-1)`. Same cost. Malformed, or sent with `asOf`, is an uncharged 422. Read `pinpoint.matched`: a missing subsection is `matched: false`, never the whole section.
structuredNoWhen true, also returns a `subsections` tree for pincite addressing and `markdown` as that tree in nested lists, at the same cost. It overrides the table-preserving markdown that `format=all` or `markdown` would otherwise give, so leave it off when you need the tables.
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. Changed10 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 / asOf / description
      Previous value: -"Return the section's text as it stood on this date (`YYYY-MM-DD`) instead of today's. Same cost.\n\n**This is a reconstruction, not an archive.** The corpus holds one current text per citation; an earlier one is rebuilt from the before-side of the first change we OBSERVED after your date. The `asOf` block on the response says which version you got (`source`), what it rests on (`basisChangeId`), how far back the evidence reaches (`observedFrom`), and whether the answer is bounded by when capture began rather than by the law (`isBounded`). Read `isBounded` before citing the text.\n\nA section that did not exist yet returns `available: false` with `asOf.existed: false`, which is a real answer and is charged. A section we know changed but cannot rebuild returns `source: \"unavailable\"` and IS refunded, because you asked for a historical text and did not get one."New value: +"Text as it stood on this date (`YYYY-MM-DD`), same cost. Read `asOf.engine` first. `observed_change` is a RECONSTRUCTION from observed changes, not an archive: `asOf.isBounded` true means no change affecting the date was observed, limited by when capture began, not by the law. `stored_edition` (U.S. Code, CFR_ANNUAL, Copyright Compendium, OFAC FAQs) is a held published edition, and there `isBounded` true means the date is inside one; the U.S. Code holds two dates, so most are out of coverage. A section we cannot rebuild, or a date no held edition governs, returns `source: \"unavailable\"` with no text and is refunded."
    • removedInput schema / properties / asOf / examples
      Removed value: -[
      -  "2026-01-15"
      -]
    • addedInput schema / properties / asOf / format
      Added value: +"date"
    • changedInput schema / properties / format / description
      Previous value: -"Which representations to return. A long section carries the same text twice by default, so `plain` or `html` roughly halves the payload. Cost is unchanged: the fetch is the same either way.\n\n`content` omits `html` and `plain` entirely and returns only the split fields (`content`, `sourceCredit`, `notes`). Use it when you want the operative text and nothing else: on `17 U.S.C. § 107` that is about 1 KB instead of 30 KB over the wire, for the same price. Only United States Code sections can be split, so for any other corpus `content` returns no text at all -- check `content` for null and fall back to `plain` if you are not sure which corpus you have."New value: +"Which representations to return. `both` (default) is `html` + `plain`, the same text twice, so `plain` or `html` alone roughly halves the payload at the same price. `all` adds `markdown` (a third full copy, opt-in). `markdown` returns only `markdown`, falling back to `plain` with a `note` when the section has no structured rendering. `content` and `operative` return only the split text, about 1 KB instead of 30 KB on a long section, but ONLY United States Code sections can be split: elsewhere they return `plain` with a `note`, and `content` is null, so read `note` instead of assuming it is empty."
    • changedInput schema / properties / format / enum
      Previous value: -[
      -  "both",
      -  "html",
      -  "plain",
      -  "content"
      -]New value: +[
      +  "all",
      +  "both",
      +  "html",
      +  "markdown",
      +  "plain",
      +  "content",
      +  "operative"
      +]
    • changedInput schema / properties / format / examples
      Previous value: -[
      -  "content"
      -]New value: +[
      +  "operative"
      +]
    • addedInput schema / properties / layout
      Added value: +{
      +  "default": "reflowed",
      +  "description": "Line-break layout of the returned text. `reflowed` (the default) joins hard-wrapped lines into paragraphs, keeping a break before headings, `(a)` / `1.` labels, table rows and signature blocks. `source` returns the line breaks exactly as extracted from the publisher's document. Same cost. The response's `layout` says which one was served. Reflow never changes the words, and a structured `r2_render` body (tables and figures) is returned as rendered under either value. `pinpoint` offsets index into the text of the layout you asked for.",
      +  "enum": [
      +    "reflowed",
      +    "source"
      +  ],
      +  "examples": [
      +    "source"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / pinpoint
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 80,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Return one subsection in `pinpoint` beside the whole body. Parenthesised labels, outermost first, without the section number: `(c)`, `(c)(1)`, `(d-1)`. Same cost. Malformed, or sent with `asOf`, is an uncharged 422. Read `pinpoint.matched`: a missing subsection is `matched: false`, never the whole section.",
      +  "examples": [
      +    "(c)(1)"
      +  ]
      +}
    • changedInput schema / properties / structured / description
      Previous value: -"When true, also return `markdown` and a `subsections` tree parsed from the text for pincite addressing. Same cost."New value: +"When true, also returns a `subsections` tree for pincite addressing and `markdown` as that tree in nested lists, at the same cost. It overrides the table-preserving markdown that `format=all` or `markdown` would otherwise give, so leave it off when you need the tables."
  2. Changed8 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"
    • addedInput schema / properties / asOf
      Added value: +{
      +  "anyOf": [
      +    {
      +      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Return the section's text as it stood on this date (`YYYY-MM-DD`) instead of today's. Same cost.\n\n**This is a reconstruction, not an archive.** The corpus holds one current text per citation; an earlier one is rebuilt from the before-side of the first change we OBSERVED after your date. The `asOf` block on the response says which version you got (`source`), what it rests on (`basisChangeId`), how far back the evidence reaches (`observedFrom`), and whether the answer is bounded by when capture began rather than by the law (`isBounded`). Read `isBounded` before citing the text.\n\nA section that did not exist yet returns `available: false` with `asOf.existed: false`, which is a real answer and is charged. A section we know changed but cannot rebuild returns `source: \"unavailable\"` and IS refunded, because you asked for a historical text and did not get one.",
      +  "examples": [
      +    "2026-01-15"
      +  ]
      +}
    • changedInput schema / properties / format / description
      Previous value: -"Which representations to return. A long section carries the same text twice by default, so `plain` or `html` roughly halves the payload. Cost is unchanged: the fetch is the same either way."New value: +"Which representations to return. A long section carries the same text twice by default, so `plain` or `html` roughly halves the payload. Cost is unchanged: the fetch is the same either way.\n\n`content` omits `html` and `plain` entirely and returns only the split fields (`content`, `sourceCredit`, `notes`). Use it when you want the operative text and nothing else: on `17 U.S.C. § 107` that is about 1 KB instead of 30 KB over the wire, for the same price. Only United States Code sections can be split, so for any other corpus `content` returns no text at all -- check `content` for null and fall back to `plain` if you are not sure which corpus you have."
    • changedInput schema / properties / format / enum
      Previous value: -[
      -  "both",
      -  "html",
      -  "plain"
      -]New value: +[
      +  "both",
      +  "html",
      +  "plain",
      +  "content"
      +]
    • changedInput schema / properties / format / examples
      Previous value: -[
      -  "plain"
      -]New value: +[
      +  "content"
      +]
    • removedInput schema / properties / format / title
      Removed value: -"Format"
    • removedInput schema / properties / structured / title
      Removed value: -"Structured"
  3. Changed3 schema fields changedv0.2.0
    • changedInput schema / properties / act_id / description
      Previous value: -"Section identifier."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."
    • addedInput schema / properties / format
      Added value: +{
      +  "default": "both",
      +  "description": "Which representations to return. A long section carries the same text twice by default, so `plain` or `html` roughly halves the payload. Cost is unchanged: the fetch is the same either way.",
      +  "enum": [
      +    "both",
      +    "html",
      +    "plain"
      +  ],
      +  "examples": [
      +    "plain"
      +  ],
      +  "title": "Format",
      +  "type": "string"
      +}
    • addedInput schema / properties / structured
      Added value: +{
      +  "default": false,
      +  "description": "When true, also return `markdown` and a `subsections` tree parsed from the text for pincite addressing. Same cost.",
      +  "examples": [
      +    true
      +  ],
      +  "title": "Structured",
      +  "type": "boolean"
      +}
  4. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld false and non-destructive, so the safety profile is covered. The description adds materially beyond that: image-only sections return bodyUnavailable true with image_only_source and are not charged, which is a real failure mode and billing behavior an agent needs. It stops short of covering pagination or size expectations for the payload.

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?

Three sentences, front-loaded with purpose and followed by return shape and the image-only edge case; every sentence carries information. The final clause about image_only_source is slightly dense but still earns its place.

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?

With an output schema present, the description need not explain return values, and 100% parameter coverage removes the schema burden. It covers the one non-obvious behavioral anomaly (image-only sections). Given 7 parameters and an output schema, this is nearly complete, though it could say more about payload size for default format=both.

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% and the schema itself is unusually rich (format/layout/pinpoint/asOf all fully documented), so the baseline of 3 applies. The description only restates that the tool works 'by act_id' and mentions the two representations, adding little meaning beyond the schema.

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?

The description names a specific verb and resource ('The full text of a US statute, regulation or rule section by act_id') and states the two return representations (styled HTML and plain text). It signals differentiation from citation-oriented tools with 'rather than just cite', but never names a sibling such as get_us_statute_section, so the boundary is implied rather than explicit.

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?

It gives a clear use case ('when you need the actual statutory language to quote, draft against, or analyze rather than just cite') which routes agents toward this tool for full-text needs. It does not enumerate when-not-to-use or name an alternative tool for citation-only lookups, so the guidance is clear but not exhaustive.

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