Skip to main content
Glama
cliwant

mcp-sam-gov

by cliwant

usas_get_agency_budget_function

Get a U.S. agency's budget function breakdown by program area for a specified fiscal year, revealing spending amounts per category.

Instructions

Budget function breakdown for an agency × fiscal year. Returns the agency's spending by program area (e.g. VA: 'Income security for veterans' $204B, 'Hospital and medical care for veterans' $126B).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toptierCodeYes3-4 digit toptier code from usas_lookup_agency (e.g. '036' for VA)
fiscalYearNo
limitNo
Behavior2/5

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

No annotations are provided, so the description must convey behavioral traits. It explains the output (spending by program area) but does not mention whether the tool is read-only, if it requires authentication, or any side effects. The behavioral context is minimal.

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 remarkably concise: a single sentence plus a parenthetical example. Every word adds value, and the key information is front-loaded. No redundant or filler content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the absence of annotations and output schema, the description provides a reasonable conceptual overview but lacks details on pagination (limit parameter), error handling, or data formatting. It is adequate for a straightforward lookup tool but not fully complete.

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

Parameters3/5

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

Schema description coverage is only 33% (toptierCode documented). The description adds meaning by explaining the toptierCode example ('036' for VA) and implying that fiscalYear is used via 'agency × fiscal year'. However, it does not explain the 'limit' parameter or provide format details for fiscalYear.

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's purpose: 'Budget function breakdown for an agency × fiscal year.' It provides a concrete example with VA and specific budget categories, making it easy to understand what the tool returns. This distinguishes it from sibling tools that focus on awards, profiles, or spending overviews.

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?

The description implies usage by describing the output, but it does not explicitly state when to use this tool versus alternatives like usas_search_agency_spending or usas_get_agency_profile. No guidance is given on when not to use it or what prerequisites exist.

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/cliwant/mcp-sam-gov'

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