Skip to main content
Glama

CaseMagic — Court Case Monitor

Get the full text of a docket entry

explain_docket_entry
Read-onlyIdempotent

Return one docket entry in full — its number, filing date, the exact text the court published, whether a document is attached and a link to it — together with the entries around it and the posture of the case, so that you can explain to the user what the filing is and what it means in context. Use this when a user asks what the latest filing means, what an order says, or to explain a specific docket entry. CaseMagic returns the court's own words and the surrounding facts; it does not write the explanation and does not give legal advice. Identify the case with case_number (and court, if known), or with matter_id for a case already saved to the account. No account is needed to give a case number.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
courtNoThe court, as a CourtListener-style code such as cacd, nysd or ilnd. Optional: leave it out when the user does not know which district the case is in.
matter_idNoThe CaseMagic matter id, as returned by create_case_passport or shown in an earlier result. Omit it when the account follows exactly one case and that is the one meant.
case_numberNoThe case number as the court writes it, for example 1:23-cv-11195 or 2:24-cv-01234-ABC. Judge initials are optional and are ignored when matching.
docket_numberNoThe docket entry number to explain, as shown on the docket, for example "312". Omit it for the most recent entry.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already mark the tool as readOnly and idempotent, and the description adds meaningful behavioral context beyond that: it returns the court's own words and surrounding facts, does not write an explanation, and does not give legal advice. It also discloses that no account is needed when a case number is provided, which helps set invocation expectations.

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 description is front-loaded with the core return value and keeps usage guidance near the top. It is a bit dense, with long enumerative clauses, but every sentence earns its place: output contents, when to use, behavioral limits, and identification approach. No 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 present, the description carries the burden of explaining what the tool returns. It does so concretely: entry number, filing date, exact court text, attachment indicator and link, surrounding entries, and case posture. It also covers invocation prerequisites and the non-legal-advice boundary, making it complete for an agent deciding whether and how to call it.

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 goes beyond the schema by explaining the identification strategy — use case_number with optional court, or use matter_id for an already-saved case — and makes clear that a docket number is only needed for a specific entry. This adds useful semantic grouping beyond the raw parameter list.

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: 'Return one docket entry in full' and enumerates the exact contents returned — number, filing date, court-published text, attachment link, surrounding entries, and case posture. This clearly differentiates it from siblings like get_case_documents or get_case_status without needing to inspect 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 gives explicit when-to-use context: 'Use this when a user asks what the latest filing means, what an order says, or to explain a specific docket entry.' It does not explicitly name alternative tools or state when not to use it, so it falls short of a perfect 5, but the intended scenarios are unmistakable.

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