Skip to main content
Glama

querytap

Search US federal contracts, grants, loans and other assista

us_search_awards
Read-onlyIdempotent

Search US federal contracts, grants, loans and other assistance (USAspending) by keyword, agency, NAICS, PSC, state, date and amount. Example: /us/awards/search?q=cybersecurity&agency=Department%20of%20Defense Price: $0.01 USDC per call (x402). Without payment: a free 3-row preview, 3 per day.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "us_search_awards"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoKeywords (description, recipient).
toNoStart date ≤ (YYYY-MM-DD).
alnNoAssistance listing number, e.g. 93.853 (grants).
pscNoProduct/service code (contracts).
fromNoStart date ≥ (YYYY-MM-DD, default 3 years ago, earliest 2007-10-01).
nextNoOpaque keyset token from the previous page's `next`.
sortNoSort order.
typeNoAward family.
limitNoResults per page, 1–100 (default 25). Same price at any size.
naicsNoNAICS code (contracts).
stateNoPlace of performance, two-letter state.
agencyNoAwarding agency, e.g. Department of Defense.
recipientNoRecipient name or UEI.
min_amountNoMinimum award amount (USD).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations (which already establish read-only, idempotent, non-destructive behavior), the description discloses the commercial model: $0.01 USDC per call via x402, with a free 3-row preview limited to 3 per day. That is exactly the kind of cost and rate-limit context an agent needs before invoking, though it omits what a paid result set looks like or how pagination behaves.

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?

Three compact sentences plus a worked example, front-loaded with purpose and filter scope. The pricing and preview terms are appended efficiently; only the bare URL example is slightly cryptic without labeling what it returns.

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?

For a 14-parameter, zero-required search tool with full schema coverage and annotations, the definition covers purpose, filters, cost, and free-tier limits adequately. The remaining gap is the absence of an output schema combined with no description of the returned award record shape or page-size/pagination behavior.

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 every parameter including `next`, `sort`, and `limit` is already documented. The description restates the major filter families (keyword, agency, NAICS, PSC, state, date, amount) but adds no syntax or format detail beyond the schema, so the baseline of 3 applies.

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 gives a specific verb and resource ('Search US federal contracts, grants, loans and other assistance') and names the upstream source (USAspending), which makes the scope clear. It also enumerates the filter dimensions, distinguishing it in spirit from a grants-only sibling, though it never names an alternative tool.

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 inclusion of a concrete example query implies how the tool is meant to be used, and the payment note signals a cost gate before calling. However, there is no explicit when-to-use / when-not guidance and no routing to sibling tools such as the grants-only or entity search variants.

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.

Resources