Skip to main content
Glama
Capture MCP Server

Capture MCP Server

by blen-labs

Get USASpending Budgetary Resources

get_usaspending_budgetary_resources
Read-onlyIdempotent

Retrieve an agency's budgetary resources and obligations for a fiscal year using its 3-digit agency code, with fiscal year defaulting to 2024.

Instructions

Get budgetary resources and obligations for an agency in a fiscal year.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "agency_code": "<agency_code>"
    },
    "name": "get_usaspending_budgetary_resources"
  }
}

Input Schema

NameRequiredDescriptionDefault
agency_codeYes3-digit agency code (e.g., '075' for HHS)
fiscal_yearNoFiscal year (default: 2024)

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the tool could not do what was asked: a message, or an object with a stable `code` (bad_request, not_found, upstream_error, ...) and a `message`. The call is then marked isError.
warningsNoCaveats about this result, for example a filter the upstream did not honor.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv4.0.2
    • changedInput schema / properties / fiscal_year / description
      Previous value: -"Fiscal year (e.g., 2024)"New value: +"Fiscal year (default: 2024)"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "error": {
      +      "description": "Present when the tool could not do what was asked: a message, or an object with a stable `code` (bad_request, not_found, upstream_error, ...) and a `message`. The call is then marked isError.",
      +      "oneOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "additionalProperties": true,
      +          "properties": {
      +            "code": {
      +              "type": "string"
      +            },
      +            "message": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "code",
      +            "message"
      +          ],
      +          "type": "object"
      +        }
      +      ]
      +    },
      +    "warnings": {
      +      "description": "Caveats about this result, for example a filter the upstream did not honor.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is fully covered by structured data. The description adds no behavioral context beyond that scope statement — nothing about data currency, fiscal-year defaulting behavior, or upstream API constraints. With annotations carrying the load, this is minimum viable rather than deficient.

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?

A single front-loaded sentence with no filler, hedging, or redundant restatement of the title. Every word (resource type, entity, time scope) carries information.

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?

An output schema exists, so return-value explanation is not required, and the tool is simple at two parameters. However, the description never clarifies how fiscal-year scoping interacts with the default, or whether agency_code must be resolved via lookup_reference_code first — meaningful gaps for an open-world data tool.

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 100% for both parameters, including the '075' format example for agency_code and the '2024' default for fiscal_year, so the schema does the work. The description adds no syntax, format, or interpretation guidance beyond what the schema already provides, which matches the baseline 3 for fully documented schemas.

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?

The description states a concrete verb and resource ('Get budgetary resources and obligations') scoped to an agency and fiscal year, which an agent can distinguish from award-oriented siblings like get_usaspending_awards or get_award_detail. It stops short of explicitly naming any sibling it complements or overlaps with, so it lands at clear-but-undifferentiated.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no when-not-to-use condition, and no alternative tool named. An agent must infer from the title alone that this is the budget/obligations-by-agency view rather than a spending-category or award-level query.

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