Skip to main content
Glama
Capture MCP Server

Capture MCP Server

by blen-labs

Get USASpending Awards

get_usaspending_awards
Read-onlyIdempotent

Retrieves federal award counts, obligations, and top awards for a specified agency code and fiscal year, enabling procurement and spending analysis.

Instructions

Get federal awards data for a specific agency and fiscal year. Returns award counts, obligations, and top awards.

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

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of top awards to return (default: 10)
agency_codeYes3-digit agency code (e.g., '075' for HHS, '097' for DOD)
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.2/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 and the description cannot contradict it. The description adds the returned content (counts, obligations, top awards), but says nothing about openWorld implications like data freshness, pagination of the top-awards list, or what happens when no awards match the agency/year.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences: the first establishes scope, the second establishes the return payload, so it is well front-loaded with no filler. It is arguably over-lean for a tool with six siblings, but nothing is wasted.

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?

Complexity is low (one required param, flat schema, 100% coverage, output schema present, rich annotations), so the description does not need to explain return structure or safety. The main residual gap is routing guidance against sibling tools, which is a usage rather than completeness concern.

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%, with agency_code, fiscal_year and limit all documented including the 3-digit code format and defaults, so the schema already carries parameter meaning. The description restates that agency and fiscal year drive the query but adds no interpretation beyond it, which is the expected baseline when the schema does the work.

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?

"Get federal awards data for a specific agency and fiscal year" states a specific verb (get), resource (federal awards) and scope (agency + fiscal year), and "Returns award counts, obligations, and top awards" clarifies the payload. It never names a sibling, so an agent must infer from the sibling list that this is the agency-keyed entry point rather than the recipient- or category-based ones.

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 exclusions, and no mention of alternatives such as search_usaspending_awards_by_recipient or get_usaspending_spending_by_category. The only implicit routing signal is the required agency_code, leaving the agent to guess when this is preferable to the more granular siblings.

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