Skip to main content
Glama
mcp-courtwatch

mcp-courtwatch

by haksanlulz

docket_entries

Read-onlyIdempotent

Retrieve a federal docket's filing history from RECAP by docket ID, including numbered entries, dates, descriptions, and archived PACER documents with page counts and availability.

Instructions

The actual filing history of a federal docket from the RECAP archive: numbered entries, dates, descriptions, and any archived PACER documents (with page counts and availability). Pass a docket_id from docket_lookup. Requires COURTLISTENER_API_TOKEN (authentication-only endpoint). Coverage note: RECAP holds what its users have bought from PACER — an entry or document not present may still exist on PACER.

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": {
      "docket_id": "<docket_id>"
    },
    "name": "docket_entries"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax entries to return (1-50, default 50).
cursorNoOpaque cursor from a previous response's next_cursor.
docket_idYesNumeric docket id (from docket_lookup results).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (which already declare readOnly, openWorld, idempotent, non-destructive), the description adds crucial operational context: it requires COURTLISTENER_API_TOKEN for authentication, and it discloses that RECAP only contains documents users have purchased from PACER, so missing entries may still exist elsewhere. This coverage note is a significant behavioral disclosure that helps the agent interpret results correctly.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three sentences, front-loaded with the tool's purpose, followed by usage and a critical coverage caveat. Every sentence earns its place without redundancy or filler.

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 fully explains the return values: numbered entries, dates, descriptions, and archived documents with page counts and availability. It also covers the authentication requirement and the RECAP coverage limitation, giving the agent everything needed to call and interpret the tool 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%, so the schema already documents all parameters thoroughly. The description repeats that docket_id comes from docket_lookup, but the schema already states '(from docket_lookup results),' so no additional meaning is added. Baseline 3 is appropriate when the schema does the heavy lifting.

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 states a specific verb and resource: 'The actual filing history of a federal docket from the RECAP archive,' and details what is returned (numbered entries, dates, descriptions, archived PACER documents). It also distinguishes from the sibling docket_lookup by instructing to pass a docket_id obtained from that tool, making the division of labor clear.

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?

The description gives clear context: use docket_lookup to get the docket_id, then call this tool. It also notes the authentication requirement and data coverage limitation. However, it does not explicitly state when to use this tool versus other siblings like case_detail or case_authorities, so no exclusions are provided.

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