Skip to main content
Glama

spending_search_awards

Read-onlyIdempotent

Search federal awards (contracts, grants, loans) from USAspending.gov by recipient company, keyword, and/or awarding agency, with optional fiscal year and minimum amount. Returns each award's id, recipient, amount, awarding agency, type, start date, and description, sorted by amount.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax rows (default 10, max 50).
agencyNoAwarding agency name, e.g. 'Department of Defense'.
keywordNoFree-text keyword across the award.
categoryNoAward category: 'contracts' (default), 'grants', 'loans', or 'other'.
recipientNoRecipient company/org name, e.g. 'Lockheed Martin'.
min_amountNoMinimum award amount in USD.
fiscal_yearNoFederal fiscal year, e.g. 2024.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / fiscal_year / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / limit / maximum
      Added value: +50
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, so safety is covered. The description adds genuine context beyond them: the upstream source (USAspending.gov), the sort order (by amount), and the returned field set, which is valuable since no output schema exists.

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?

Two sentences, front-loaded with purpose and scope, then the return contract. No filler or redundancy; every clause carries information the caller needs.

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

Completeness5/5

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

For a read-only, open-world search with full schema coverage and no output schema, the definition supplies what is missing: data source, sorted-by-amount behavior, and the exact result fields. An agent has everything needed to call it correctly.

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 the schema already documents all seven parameters with examples. The description restates the filterable fields (recipient, keyword, agency, fiscal year, minimum amount) without adding syntax, defaults, or combination semantics beyond what the schema provides.

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?

States a specific verb (Search) and resource (federal awards: contracts, grants, loans), names the data source (USAspending.gov) and the filterable dimensions, so the agent knows exactly what is retrieved. It is clearly a search tool distinct from spending_award_details, but it never names or contrasts with that sibling explicitly.

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?

Filter options imply when the tool is useful (by recipient, keyword, agency), but there is no explicit when-to-use guidance, no exclusions, and no pointer to spending_award_details for single-award lookups or spending_recipient_summary for aggregates. Usage is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.