Skip to main content
Glama

AgentLegal

Server Details

Federal court opinion search via CourtListener. Search 10M+ opinions, docket records, and case history by keyword or company name.

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

Full call logging

Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.

Tool access control

Enable or disable individual tools per connector, so you decide what your agents can and cannot do.

Managed credentials

Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.

Usage analytics

See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.

100% free. Your data is private.
Tool DescriptionsB

Average 3.4/5 across 3 of 3 tools scored.

Server CoherenceA
Disambiguation5/5

Each tool targets a distinct access pattern: get_case retrieves a specific case by ID/name, get_company_cases finds all cases for a company, and search_cases provides general filtered search. No overlap in functionality.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern (get_case, get_company_cases, search_cases) with snake_case, making them predictable and easy to understand.

Tool Count4/5

Three tools are appropriate for a focused legal case retrieval server. The count is on the lower side but covers the essential operations for the stated purpose without being overly sparse.

Completeness4/5

The tool set covers the main retrieval needs (single case lookup, company-specific cases, and general search). Minor gaps like docket entry retrieval or court list are not critical for basic legal research.

Available Tools

3 tools
get_caseBInspect

Get detailed information about a specific court case/docket by docket ID or case name search.

ParametersJSON Schema
NameRequiredDescriptionDefault
courtNoCourt ID to narrow case name search
case_nameNoCase name to search for (e.g. "Roe v Wade")
docket_idNoCourtListener docket ID
Behavior2/5

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

No annotations are provided, so the description carries full burden. It does not disclose behavioral traits such as read-only nature, potential network calls, or what 'detailed information' includes. The agent receives no explicit safety or performance cues.

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 a single, concise sentence that immediately conveys the tool's purpose. It is appropriately sized with no redundant information.

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

Completeness3/5

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

Given the low complexity (three optional params, no output schema), the description is adequate but lacks details on return format, required parameter combinations, or potential pitfalls. It leaves room for ambiguity when no parameters are provided.

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 coverage is 100% and parameters are descriptively named. The description adds minimal extra context by indicating that docket_id is primary and case_name is for search, but this does not significantly exceed schema explanations.

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?

The description clearly states the tool gets detailed information about a specific court case/docket. It distinguishes between lookup by docket ID or case name search, but does not explicitly differentiate from sibling tools like get_company_cases and search_cases.

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?

Implied usage: use when you have a docket ID or want to search by case name. No explicit guidance on when to use alternatives or when not to use this tool, such as for company-specific cases or broad searches.

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

get_company_casesBInspect

Find all federal court cases involving a specific company. Returns opinions, dockets, and case summaries.

ParametersJSON Schema
NameRequiredDescriptionDefault
courtNoLimit to specific court (e.g. ca9, scotus)
limitNoNumber of results (max 20)
companyYesCompany name (e.g. "Apple Inc", "Goldman Sachs")
date_afterNoOnly cases filed after date (YYYY-MM-DD)
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It only lists output types (opinions, dockets, summaries) but omits behaviors like pagination, rate limits, error handling, safety, or mutability. Minimal transparency.

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?

Single sentence with front-loaded verb and resource. It is concise but could benefit from slight restructuring to improve readability (e.g., splitting outputs). No wasted words.

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

Completeness3/5

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

Given 4 parameters, no output schema, and no annotations, the description is moderately complete. It conveys purpose and returns but lacks details on coverage (only federal? state?), return format, and result structure. Gaps exist.

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%: all 4 parameters have descriptions. The tool description does not add extra meaning beyond what the schema already provides. Baseline 3 is appropriate.

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 clearly states the verb 'Find', resource 'federal court cases involving a specific company', and lists return types. It distinguishes from siblings 'get_case' (singular) and 'search_cases' (general search).

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?

The description implies usage context (company-specific case lookup) but provides no explicit when-to-use or when-not-to-use guidance. No mention of alternatives, leaving the agent to infer based on sibling names.

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

search_casesAInspect

Search federal court opinions and cases via CourtListener / RECAP Archive. Filter by court, date, and case type.

ParametersJSON Schema
NameRequiredDescriptionDefault
qYesSearch query (case name, topic, parties, etc.)
typeNoResult type: o=opinions (default)o
courtNoCourt ID (e.g. ca9, scotus, dcd, nyed)
limitNoNumber of results (max 20)
date_afterNoFilter cases filed after date (YYYY-MM-DD)
Behavior3/5

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

The description names the external data source (CourtListener/RECAP Archive) and action (search), which is helpful given no annotations. However, it lacks disclosure of rate limits, pagination behavior, or any effects on external systems. The read-only nature is implied but not stated.

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 concise, consisting of two short sentences that immediately convey the tool's purpose and key capabilities. No redundant or extraneous information.

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

Completeness2/5

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

The description does not explain return values or output format, which is problematic since there is no output schema. It also omits details about sorting, pagination limits (beyond the limit parameter), or error handling. For a search tool, more context on what the response contains is needed.

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 coverage is 100%, so the baseline is 3. The description mentions filtering by court, date, and case type, which aligns with parameters but adds no additional semantic meaning beyond what the schema descriptions already provide.

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 clearly states the tool searches federal court opinions/cases, specifies the source (CourtListener/RECAP Archive), and mentions filtering by court, date, and case type. It distinguishes from sibling tools 'get_case' and 'get_company_cases' by implying a broader search capability.

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?

No explicit guidance on when to use this tool vs alternatives. The description implies use for searching, but does not mention when to use 'get_case' for a single case or 'get_company_cases' for company-specific data. Context is implied but not explicitly stated.

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

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.

Resources