federal_spending
Search $6T+ federal budget by agency, recipient, or keyword via USAspending.gov API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results, default 20 | |
| agency | No | e.g. Department of Defense | |
| recipient | No | Recipient name |
Search $6T+ federal budget by agency, recipient, or keyword via USAspending.gov API.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results, default 20 | |
| agency | No | e.g. Department of Defense | |
| recipient | No | Recipient name |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so description bears full responsibility. It mentions API source but lacks details on read-only nature, rate limits, data freshness, pagination, or error behavior. Critical behavioral traits are omitted.
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, front-loaded sentence with no wasted words. Efficiently conveys core purpose in 13 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?
For a 3-parameter tool with no output schema, description is too sparse. It does not explain return format, result structure, pagination, or data temporal range, leaving the agent without key operational context.
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% with clear parameter descriptions, so baseline is 3. However, description mentions 'keyword' which is not a parameter in the schema, causing confusion and reducing clarity. This discrepancy lowers the score.
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?
Description clearly states verb 'Search', resource 'federal budget', and scope 'by agency, recipient, or keyword' via 'USAspending.gov API'. Effectively distinguishes from sibling tools like federal_contracts or federal_grants.
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?
Usage is implied: use when searching federal budget data. However, no explicit when-to-use, when-not-to-use, or alternatives compared to sibling tools, leaving the agent to infer context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.