Skip to main content
Glama

Corpus statistics

get_corpus_stats
Read-onlyIdempotent

Returns current statistics about the Veterans’ Rights archive: the number of vetted Board of Veterans’ Appeals decisions, the distribution of outcomes (granted / denied / remanded / mixed), the date range the decisions cover, and the number of accredited representatives in the directory. Shows how much data the archive holds and how current it is. Counts reflect only quality-filtered, publicly visible decisions.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_corpus_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
dataYesTool-specific result payload.
linkYesTagged deep link into the matching veterans-rights.com page.
disclaimerYesStanding not-legal-advice / not-VA framing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "description": "Tool-specific result payload.",
      +      "type": "object"
      +    },
      +    "disclaimer": {
      +      "description": "Standing not-legal-advice / not-VA framing.",
      +      "type": "string"
      +    },
      +    "link": {
      +      "description": "Tagged deep link into the matching veterans-rights.com page.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "data",
      +    "link",
      +    "disclaimer"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so safety is covered. The description still adds real context beyond them: the counts are restricted to 'quality-filtered, publicly visible decisions' and 'vetted' Board decisions, which tells the agent the numbers are a conservative subset rather than a raw corpus total.

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?

Three front-loaded sentences that name the metrics first and the scoping caveat last. The sentence 'Shows how much data the archive holds and how current it is' largely restates the enumerated counts, which is mild redundancy but aids framing.

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?

An output schema exists, so return shape need not be described; the description still summarizes the key fields. For a zero-parameter read-only tool with full annotation coverage, nothing an agent needs to call it correctly is missing.

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 takes zero parameters, so there is no parameter meaning to add; baseline 4 applies. The description correctly implies the call is scope-free and returns archive-wide figures with no filtering knobs.

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?

States a specific verb and resource ('Returns current statistics about the Veterans' Rights archive') and then enumerates exactly what is counted (vetted BVA decisions, outcome distribution, date range, accredited reps). An agent can immediately tell this is the only aggregate/metrics tool among the search- and condition-oriented siblings.

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?

Usage is only implied via 'Shows how much data the archive holds and how current it is' — enough to infer it is a reconnaissance/orientation call before searching, but there is no explicit 'use when' or contrast with search_bva_decisions or list_conditions.

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