Skip to main content
Glama

CaseMagic — Court Case Monitor

List available case documents

get_case_documents
Read-onlyIdempotent

List the docket entries in a federal case that have a document available, with the entry number, what the entry says, and a link to the document where the source publishes a free one. Use this when a user asks what documents are on file, whether an order or a motion is available to read, or for a copy of a filing. Availability depends on what the court source publishes; an entry with no free document is reported as such rather than guessed at. 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.
limitNoHow many documents to return, newest first. Defaults to 20.
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, and destructiveHint=false, covering safety and mutability. The description adds meaningful context: 'Availability depends on what the court source publishes; an entry with no free document is reported as such rather than guessed at' – disclosing that results may be incomplete and that it won't fabricate availability. Also notes that no account is needed for a case number, which clarifies access requirements.

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 moderately lengthy but each sentence contributes: action, usage, behavior, parameter guidance. It is front-loaded with the core action and follows with usage. No redundant phrasing, though it could be trimmed slightly without losing value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers what is returned (entry number, text, link), explains the availability caveat, and how to identify the case. With no output schema, it adequately describes the return content. The limit parameter is documented in the schema, and the description mentions court optionality. It is complete for a read-only list tool, especially given the annotations.

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 adds value by explaining when to use case_number vs matter_id ('Identify the case with case_number (and court, if known), or with matter_id for a case already saved to the account') and clarifies that court is optional. It also notes 'No account is needed to give a case number,' which helps parameter selection. This goes beyond the schema's field descriptions.

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 action ('List the docket entries... that have a document available') and the exact output (entry number, text, and link). It clearly differentiates from siblings like get_case_status or get_case_deadlines by focusing on document availability rather than case progression or deadlines.

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 explicitly says 'Use this when a user asks what documents are on file, whether an order or a motion is available to read, or for a copy of a filing.' This gives clear trigger conditions. However, it does not explicitly mention alternatives or exclusions, leaving some inference to the agent about when not to use it (e.g., for deadlines).

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