Skip to main content
Glama

Get corpus size and freshness

get_corpus_stats
Read-only

Return live statistics about the Workers' Rights corpus: total number of court rulings in the research corpus, number of public attorney listings, number of monitored legal data sources, the date the corpus was last updated, and the distribution of case outcomes across the analyzed rulings. Use this to establish scale/credibility or to answer 'how much data do you have / how current is it'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds transparency about the 'live' nature of the statistics, implying real-time data rather than cached figures, and lists the specific fields returned, which is useful behavioral context beyond the annotations.

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 a single, information-dense sentence followed by a concise usage note. It front-loads the action and immediately enumerates the specific statistics, with no filler or redundancy.

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?

Given the tool has no parameters and no output schema, the description fully compensates by enumerating the exact return statistics (total rulings, attorney listings, monitored sources, last update, outcome distribution). The stated use cases round out the contextual picture, making this complete for its simplicity.

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?

The tool has zero parameters, so schema coverage is trivially 100%. The description does not need to explain parameters. Per the guidelines, a no-parameter tool gets a baseline of 4, and the description adds no conflicting or redundant information.

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 uses a specific verb 'Return live statistics' and enumerates the exact data points returned (court rulings, attorney listings, legal data sources, last updated date, case outcome distribution). This clearly distinguishes it from sibling tools like search_rulings or find_similar_cases, none of which provide corpus-level metrics.

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 explicitly states when to use it: 'Use this to establish scale/credibility or to answer "how much data do you have / how current is it"'. It does not explicitly state when not to use it or name alternatives, but the use cases are clear and contextually sufficient.

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.

TDQS

A4.6/5.0
Disambiguation5/5

Each tool targets a distinct resource or action: legal explanation, attorney lookup, case analytics, attorney history, employer history, EEOC process, evidence preservation, corpus stats, and ruling search. Even the two case-research tools are clearly differentiated by input type and output (aggregate outcomes vs. individual rulings).

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern, with 'get_*' used for retrieval tools, 'find_*' for lookup tools, and 'search_*'/'explain_*' for their respective functions. There is no mixing of naming conventions or vague verbs.

Tool Count5/5

Nine tools is well-scoped for a workers' rights research and guidance server. Each tool covers a meaningful capability without redundancy, and the count is comfortably within the expected range for a focused domain server.

Completeness5/5

The tool set covers the full worker-facing research journey: understanding rights, preserving evidence, navigating EEOC process, researching precedents and outcomes, finding attorneys, and checking attorney/employer track records. No critical dead-end or missing core operation is apparent for the stated informational purpose.

Resources