Skip to main content
Glama
DOGE MCP

DOGE MCP

by larasrinath

get_payments

Retrieve detailed U.S. government payment line items and filter them by agency name, date, or recipient organization to analyze spending records.

Instructions

Retrieve government payment line items from select agencies processed via the Program Support Center. Each record includes payment date, amount, agency name, award description, FAIN, recipient payment justification, agency lead justification, and recipient organisation name. Use the filter + filter_value params to narrow results by agency_name, date (YYYY-MM-DD), or org_name. Tip: call get_payment_statistics first to discover valid agency names and org names.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default: 1)
filterNoField to filter by: agency_name, date (YYYY-MM-DD), or org_name. Must be used together with filter_value.
sort_byNoField to sort by: amount or date
per_pageNoResults per page, 1–500 (default: 100)
sort_orderNoSort direction: asc or desc
filter_valueNoValue to match for the selected filter field.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It does disclose the dataset scope ('select agencies', 'processed via the Program Support Center') and the shape of each record, but says nothing about matching semantics (exact vs partial match on filter_value), pagination totals, permissions, or whether the agency list is limited.

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 front-loaded sentences: what it returns, how to narrow it, and the discovery prerequisite. Every sentence carries operational information and there is no filler.

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 helpfully enumerates the returned fields, and the tip covers discovery of valid filter values for a 6-param all-optional read tool. The remaining gap is that 'select agencies' is never clarified and paging behavior is left entirely to the schema defaults.

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?

Schema coverage is 100%, so the baseline is 3; the description adds real value by stating the date format (YYYY-MM-DD), the filter/filter_value pairing requirement, and — most usefully — how to obtain valid agency and org name values via get_payment_statistics. It does not clarify whether sort_by amount is numeric or formatted, leaving one small gap.

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?

States a specific verb and resource ('Retrieve government payment line items') plus a scoping detail ('from select agencies processed via the Program Support Center') and enumerates the returned fields. It is clearly distinguishable from the *_savings and statistics siblings, though it never explicitly contrasts with them.

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?

Gives concrete usage instructions: use filter + filter_value to narrow by agency_name, date, or org_name, and call get_payment_statistics first to discover valid agency/org names. It lacks explicit exclusions (when not to use this versus the savings tools), so it falls short of a 5.

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