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

Vaquill-AI/vaquill-mcp

Official
by Vaquill-AI

US Opinion Text

get_us_opinion
Read-only

Retrieves a single US court opinion by its opinionId as HTML or plain text, so you can read the majority, concurrence, or dissent separately and follow case citations.

Instructions

The text of one opinion by opinionId (listed on the case record), as html (default; a citation to a case we hold carries data-case-id, which get_us_case accepts) or plain text. A decision can have several opinions (majority, concurrence, dissent): read each by its own id. textFromOcr true means the text was recognised from a scan, so check a quotation before relying on it. An unknown id is a 404, 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": {
      "opinion_id": "<opinion_id>"
    },
    "name": "get_us_opinion"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNo`html` is our markup: paragraphs, footnotes, and a `cite` element carrying `data-case-id` where the citation points to a case we hold. `text` is the same opinion as plain text.html
opinion_idYesThe opinionId: `USOP_` and 20 uppercase hex characters. Malformed is a 422.
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. Addedv0.7.1

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/destructive annotations, it discloses error behavior ('An unknown id is a 404, not charged'), billing semantics (failed lookups aren't charged), and a data-quality caveat (textFromOcr means the text came from a scan, so verify quotations). It also explains the actionable `cite`/data-case-id linkage into get_us_case, which annotations cannot convey.

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?

It is a single dense paragraph with purpose, format, multiplicity, OCR caveat and error behavior — no filler sentences, and the core purpose is front-loaded. The density means the OCR and 404 caveats are somewhat buried mid-paragraph rather than structured separately.

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 an output schema present, the description need not explain return values, and it still covers the extras an agent needs: id provenance, format trade-off, per-opinion iteration, OCR reliability, and 404/billing behavior. Nothing required to call this correctly is missing.

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; the description earns above that by explaining that the default `html` form carries `data-case-id` values that get_us_case accepts, turning a formatting choice into a downstream workflow decision. The `textFromOcr` note adds meaning about returned fields rather than the three input parameters, which is why it isn't a 5.

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 description opens with a specific verb and resource: 'The text of one opinion by opinionId'. It also pins down the granularity ('A decision can have several opinions... read each by its own id'), which is exactly what separates it from case-level or batch siblings like get_us_case and get_us_opinions_batch. An agent can identify the right tool without opening the schema.

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 tells the agent where the id comes from ('listed on the case record') and how to handle multi-opinion decisions by iterating ids, which is real usage guidance. It stops short of naming an explicit alternative such as the batch opinion tool or stating when not to use this one, so it is clear context rather than full routing.

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