Skip to main content
Glama

Full opinion text

get_opinion
Read-onlyIdempotent

Full text of one opinion by opinion id, plus metadata. The text is the best stored text extracted from the mirror (HTML stripped; body_source names the extraction source and fallback_used flags a lower-precedence one), bounded to 200k characters with truncated and text_available flags. Not live CourtListener, not legal advice, and no treatment, "good law" or citation-validity status. Responses carry body_as_of, body_pending (state, exact count, read_at) and body_note, which say when the stored opinion text is older than the case records while a refresh is written; a count that could not be read makes an empty result inconclusive. body_pending_note, when present, says whether this text is the older build or not yet written. Every response carries a "note" stating that response’s source and coverage limits.

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": {
      "id": "<id>"
    },
    "name": "get_opinion"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesopinion id (from a search_case_names/search_opinion_text/search_by_concept/find_similar_opinions result opinion_id)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Annotations only establish that this is a safe, idempotent read. The description goes well beyond that: HTML stripping and precedence of the extraction source, a 200k character bound with truncation flags, staleness semantics via body_as_of/body_pending, and the fact that a count that could not be read makes an empty result inconclusive. That is substantial behavioral context the structured fields do not carry.

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?

The core purpose is front-loaded in the first clause and the caveats follow logically. The middle section is dense with nested flags (body_pending, body_note, body_pending_note), which is justified by the need to explain freshness but makes the prose heavy.

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?

There is no output schema, so the description carries the return-value burden, and it does: body_source, fallback_used, truncated, text_available, body_as_of, body_pending and the per-response note are all explained. For a one-parameter read tool, an agent has everything it needs to interpret the response correctly.

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 single id parameter is fully documented in the schema, including where opinion_id values come from. The description adds no format, range, or validation detail beyond that, so the baseline applies.

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?

Opens with a specific verb+resource+scope: 'Full text of one opinion by opinion id, plus metadata.' That clearly separates it from search_opinion_text and the other retrieval tools. It stops short of naming any sibling, so it is clear but not explicitly differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: fetch by opinion id, as opposed to searching. The exclusions ('Not live CourtListener, not legal advice, and no treatment, "good law" or citation-validity status') hint that validity questions belong to get_negative_history or get_citation_graph, but no alternative is named and no explicit when-to-use statement is given.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources