Skip to main content
Glama
haydentbs

USAspending MCP Server

by haydentbs

Call Safe USAspending Endpoint

usaspending_call_endpoint
Read-onlyIdempotent

Access any documented read-only USAspending v2 endpoint not covered by purpose-built tools. Supports GET and POST requests with query filters, returning markdown or JSON.

Instructions

Call a documented read-only USAspending v2 endpoint that is not covered by a purpose-built tool. Blocks download and bulk_download paths. Use only with official /api/v2/ endpoints.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
methodNoGET
endpoint_pathYes
bodyNoRaw USAspending API JSON object. Use official field names from the endpoint docs.
queryNo
response_formatNoOutput format: markdown for readable summaries, json for raw structured data.markdown
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false. The description adds that it blocks download and bulk_download paths, which is useful behavioral context beyond what annotations provide.

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 two concise sentences, front-loading the purpose and constraints without any unnecessary words.

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?

For a general endpoint-calling tool with good annotations and sibling tools covering common cases, the description is mostly complete. It could mention that the tool returns the API response, but overall it provides sufficient context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 40%, but the tool description does not add parameter-level details for method, endpoint_path, or query. Only body and response_format have schema descriptions. The description lacks explanation of parameter usage and constraints.

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 clearly states the tool calls a documented read-only USAspending v2 endpoint not covered by purpose-built tools. It distinguishes from siblings by specifying it is for endpoints lacking dedicated tools.

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 says to use only with official /api/v2/ endpoints and implies using purpose-built tools when available. However, it does not explicitly list alternative tools or provide when-not-to-use scenarios.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/haydentbs/usaspending-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server