Skip to main content
Glama
Capture MCP Server

Capture MCP Server

by blen-labs

Search USASpending Awards By Recipient

search_usaspending_awards_by_recipient
Read-onlyIdempotent

Search federal awards by recipient name with optional time and amount filters. Investigate specific companies or organizations.

Instructions

Search for federal awards by recipient name, with optional filters for time period and amount ranges. Great for investigating specific companies or organizations.

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": {
      "recipient_name": "<recipient_name>"
    },
    "name": "search_usaspending_awards_by_recipient"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of results (default: 10, max: 100)
cursorNoPage number from the prior response's next_cursor. Reuse the same filters and limit when paging.
max_amountNoMaximum award amount filter
min_amountNoMinimum award amount filter
award_typesNoAward type codes from one USASpending group only (default ['A','B','C','D'] for contract prime awards). Search contracts, IDVs, grants, loans, and other assistance groups separately.
fiscal_yearNoFiscal year to search by award action date (e.g., 2024)
recipient_nameYesName of recipient to search (e.g., 'Boeing', 'Johns Hopkins')

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.
totalYesThe upstream total, or null when it is not trustworthy for this query (see warnings).
awardsYesThis page of records, as the upstream returned them.
filtersYesThe filters applied, split into those the upstream applied and those applied here, on this page only.
warningsNoCaveats about this result, for example a filter the upstream did not honor.
count_unitYesWhat `total` and the page size count.
date_fieldNoThe date the date filters apply to.
next_cursorYesPass as `cursor` for the next page; null on the last page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv4.0.2
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "awards": {
      +      "description": "This page of records, as the upstream returned them.",
      +      "type": "array"
      +    },
      +    "count_unit": {
      +      "description": "What `total` and the page size count.",
      +      "type": "string"
      +    },
      +    "date_field": {
      +      "description": "The date the date filters apply to.",
      +      "type": "string"
      +    },
      +    "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"
      +        }
      +      ]
      +    },
      +    "filters": {
      +      "description": "The filters applied, split into those the upstream applied and those applied here, on this page only.",
      +      "properties": {
      +        "client_side": {
      +          "type": "object"
      +        },
      +        "upstream": {
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "upstream",
      +        "client_side"
      +      ],
      +      "type": "object"
      +    },
      +    "next_cursor": {
      +      "description": "Pass as `cursor` for the next page; null on the last page.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "total": {
      +      "description": "The upstream total, or null when it is not trustworthy for this query (see warnings).",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "warnings": {
      +      "description": "Caveats about this result, for example a filter the upstream did not honor.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "awards",
      +    "total",
      +    "count_unit",
      +    "filters",
      +    "next_cursor"
      +  ],
      +  "type": "object"
      +}
  2. Changed3 schema fields changedv1.0.2
    • changedInput schema / properties / award_types / description
      Previous value: -"Award type codes to filter (e.g., ['10'] for contracts)"New value: +"Award type codes from one USASpending group only (default ['A','B','C','D'] for contract prime awards). Search contracts, IDVs, grants, loans, and other assistance groups separately."
    • addedInput schema / properties / cursor
      Added value: +{
      +  "description": "Page number from the prior response's next_cursor. Reuse the same filters and limit when paging.",
      +  "type": "string"
      +}
    • changedInput schema / properties / fiscal_year / description
      Previous value: -"Fiscal year to search (e.g., 2024)"New value: +"Fiscal year to search by award action date (e.g., 2024)"
  3. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is well covered. The description adds that filters are optional and mentions the investigative use case, but it does not disclose anything about rate limits, result caps, or paging behavior beyond what the annotations already provide.

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?

The description is two sentences and front-loads the core purpose before the use-case sentence. The second sentence is somewhat promotional but still earns its place by suggesting an investigative context.

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?

The tool has an output schema, full schema description coverage, and rich annotations, so the description does not need to explain return values or safety. It is nearly complete for a search tool, though it could briefly mention paging or default award-type behavior to help an agent call it without opening the schema.

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%, so all seven parameters are already documented in the input schema. The description mentions time period and amount range filters, but it does not add syntax, default, or interaction details beyond what the schema already states.

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 specific verb and resource — 'Search for federal awards' — and scopes it to 'by recipient name,' which distinguishes it from a general awards search. It does not explicitly name a sibling alternative, but the recipient-specific scope is clear enough for an agent to select it correctly.

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 phrase 'Great for investigating specific companies or organizations' gives an implied use case, but there is no explicit when-to-use guidance, no when-not-to-use guidance, and no named alternative such as get_usaspending_awards. The agent must infer the routing from the recipient-specific scope.

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