Skip to main content
Glama
mcp-courtwatch

mcp-courtwatch

by haksanlulz

case_authorities

Read-onlyIdempotent

Lists every authority a court opinion relies on, with citation depth counts, by opinion ID; use it to map a ruling's table of authorities and paginate longer results.

Instructions

The reverse of cited_by: every authority a given opinion RELIES ON (its table of authorities), with a depth count of how many times each is cited. Pass the citing opinion's id. Requires COURTLISTENER_API_TOKEN (authentication-only endpoint). Returns cited opinion ids; fetch interesting ones with case_detail (type opinion) or their clusters. A table longer than limit continues from the returned next_cursor.

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": "case_authorities"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax authorities to return (1-50, default 50).
cursorNoOpaque cursor from a previous response's next_cursor.
opinion_idYesNumeric OPINION id whose authorities to list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.1.0
    • addedInput schema / properties / cursor
      Added value: +{
      +  "description": "Opaque cursor from a previous response's next_cursor.",
      +  "type": "string"
      +}
  2. Addedv1.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 readOnly, idempotent, non-destructive, open-world, so the safety profile is covered; the description adds material context beyond that: a required COURTLISTENER_API_TOKEN and an 'authentication-only endpoint' caveat, the return shape (cited opinion ids plus a per-authority depth count), and continuation behavior via next_cursor. Only gap is that the phrasing of 'authentication-only endpoint' is somewhat cryptic about failure modes.

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?

Four tight sentences with the core semantics front-loaded and no redundant restatement of the tool name. The parenthetical auth note is slightly jargon-heavy, but overall the text is dense and purposeful.

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 no output schema, the description carries the burden of describing returns and does so (cited opinion ids, depth counts), and it also covers pagination continuation and auth prerequisites. Nothing an agent needs to call this correctly — direction, input, returns, next step — 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, but the description adds real meaning by stressing that opinion_id is the CITING opinion's id — a directionality detail that prevents the most likely misuse given the sibling cited_by. It also ties `limit` to continuation from next_cursor, complementing the schema's opaque-cursor wording.

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?

Names a specific resource (a given opinion's table of authorities / relied-on authorities) and anchors it against the sibling cited_by by calling itself 'the reverse of cited_by'. The directionality (opinion RELIES ON these) is stated unambiguously, so an agent can distinguish it from cited_by 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 Guidelines4/5

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

Gives an explicit input rule ('Pass the citing opinion's id') and a concrete follow-up workflow ('fetch interesting ones with case_detail (type opinion) or their clusters'). The when-to-use is implied by the reverse-of-cited_by framing rather than stated as an explicit exclusion, so it falls short of a full 5.

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