Skip to main content
Glama
DOGE MCP

DOGE MCP

by larasrinath

get_payment_statistics

Retrieve aggregated payment counts by agency, request date, and organisation to identify which entities have payment data before filtering payment records.

Instructions

Retrieve aggregated payment counts grouped by agency name, request date, and organisation name. No parameters required. Use this to discover which agencies and organisations have payment data before calling get_payments with a filter.

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_payment_statistics"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior3/5

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

With no annotations at all, the description carries the full behavioral burden. It does disclose the aggregated shape of the result (counts grouped by three fields), which is the most important trait here, but it says nothing about data coverage (all-time vs. limited range), permissions, result size limits, or pagination.

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?

Three short sentences, front-loaded with what it returns, followed by the parameter fact and the workflow guidance. Nothing is redundant or padded.

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?

With no output schema, the description correctly compensates by describing the returned aggregation and its grouping keys, and the zero-param nature is stated. The remaining gap is scope — whether the aggregation spans all payments or a bounded set — which matters for interpreting the counts.

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 and the description states 'No parameters required,' which is consistent with the empty schema and prevents an agent from hunting for a filter argument. Baseline for a no-param tool.

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 names a specific verb ('Retrieve aggregated payment counts') and the exact grouping dimensions (agency name, request date, organisation name), which cleanly separates it from the sibling get_payments that returns records rather than aggregates.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly states the sequencing use case — call this first to discover which agencies/organisations have data, then call get_payments with a filter. A named alternative plus the condition selecting it is present, so no inference is needed.

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