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.
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.
Tool Definition Quality
Average 3.4/5 across 3 of 3 tools scored.
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.
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.
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.
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 toolsget_caseBInspect
Get detailed information about a specific court case/docket by docket ID or case name search.
| Name | Required | Description | Default |
|---|---|---|---|
| court | No | Court ID to narrow case name search | |
| case_name | No | Case name to search for (e.g. "Roe v Wade") | |
| docket_id | No | CourtListener docket ID |
Tool Definition Quality
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.
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.
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.
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.
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.
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.
| Name | Required | Description | Default |
|---|---|---|---|
| court | No | Limit to specific court (e.g. ca9, scotus) | |
| limit | No | Number of results (max 20) | |
| company | Yes | Company name (e.g. "Apple Inc", "Goldman Sachs") | |
| date_after | No | Only cases filed after date (YYYY-MM-DD) |
Tool Definition Quality
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.
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.
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.
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.
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.
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.
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Search query (case name, topic, parties, etc.) | |
| type | No | Result type: o=opinions (default) | o |
| court | No | Court ID (e.g. ca9, scotus, dcd, nyed) | |
| limit | No | Number of results (max 20) | |
| date_after | No | Filter cases filed after date (YYYY-MM-DD) |
Tool Definition Quality
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.
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.
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.
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.
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.
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.
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!