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

Vaquill-AI/vaquill-mcp

Official
by Vaquill-AI

Statute Sections (Batch)

get_sections_batch
Read-only

Retrieves metadata for up to 50 US statute sections in one call from a list of act IDs, replacing repeated single-section lookups; missing sections are skipped and not charged.

Instructions

Metadata for up to 50 sections in one call, by a list of act_ids. Same fields as get_us_statute_section. Use instead of looping that tool when you already hold several act_ids, for example every result of one search. Sections that are not found are skipped and 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": {
      "actIds": "<actIds>"
    },
    "name": "get_sections_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
actIdsYesSection identifiers from a prior search, up to 50 per call. Duplicates are collapsed and order is preserved. DO NOT BUILD THESE FROM A CITATION: the chapter/article segments exist only in the data, so assembled ids miss. To start from a citation, use resolve_statute_citation.
includeBodyNoAdds the ordinary body price for each row that returns text. Unresolved text returns `body: null` with no body charge. Use `creditsConsumed` for the total rather than calculating from the number of IDs.
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. Changed3 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 / actIds / items / maxLength
      Added value: +200
    • addedInput schema / properties / includeBody
      Added value: +{
      +  "default": false,
      +  "description": "Adds the ordinary body price for each row that returns text. Unresolved text returns `body: null` with no body charge. Use `creditsConsumed` for the total rather than calculating from the number of IDs.",
      +  "examples": [
      +    true
      +  ],
      +  "type": "boolean"
      +}
  2. Changed2 schema fields changedv0.4.0
    • changedInput schema / properties / actIds / description
      Previous value: -"Section identifiers from a prior `/us/statutes/search` response. Up to 50 per call. Duplicates are collapsed, and order is preserved in the response. Each id encodes the citation's hierarchy: `USC_T42_C21_S1983` is Title 42, Chapter 21, Section 1983. The chapter is not derivable from a citation, so take ids from search results rather than assembling them."New value: +"Section identifiers from a prior search, up to 50 per call. Duplicates are collapsed and order is preserved. DO NOT BUILD THESE FROM A CITATION: the chapter/article segments exist only in the data, so assembled ids miss. To start from a citation, use resolve_statute_citation."
    • removedInput schema / properties / actIds / title
      Removed value: -"Actids"
  3. Addedv0.2.0

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already declare a read-only, non-destructive, non-open-world call, but the description adds real operational context beyond them: partial-result handling (missing sections are skipped) and the billing consequence (not charged for those), which matters for cost-aware batching. It does not discuss failure modes such as an over-50 list or how the batch behaves if all ids miss, leaving a small residual gap.

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 tight sentences, front-loaded with the core purpose and the batching rationale, with no redundant restatement of the title. A minor cost is that the fields-equivalence claim would read better placed before the alternative-tool guidance, but nothing is wasted.

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?

Complete for a batch read tool: purpose, cap, replacement rule, partial-result behavior, and pricing stance are all present, while the output schema carries the return shape and the annotations carry the safety profile.

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 each parameter is already documented in detail (duplicate collapsing, citation-construction warning, includeBody pricing, idempotency replay semantics). The description only restates that the call is driven by a list of act_ids; the batch-level 'skipped and not charged' note is the sole added meaning, so the baseline of 3 fits.

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 concrete verb+resource (metadata for statute sections) with an explicit scope cap (up to 50 per call) and input form (list of act_ids), and explicitly equates its output to get_us_statute_section, which distinguishes it from the single-section sibling at a glance.

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 an explicit when-to-use rule ('use instead of looping that tool when you already hold several act_ids, for example every result of one search'), naming the alternative it replaces and the condition that selects it; the schema adds the complementary route (resolve_statute_citation) for the citation case.

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