Skip to main content
Glama

ScorpTech x402 Tools

Usaspending Awards

usaspending_awards
Read-onlyIdempotent

Federal contracts, IDVs, grants, loans and direct payments from USAspending.gov by recipient, awarding agency (name or abbreviation such as DOD, NASA, HHS), NAICS code or keyword, for a date range (default last 12 months). Returns the top awards by amount or start date with award id, recipient and UEI, amount, outlays, dates, agency and sub-agency, award type, NAICS/PSC and a link, plus the total matching award count. Returns JSON with: query, type, timePeriod, totalAwards, count, amountOnPage, awards. Price: $0.01 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/usaspending-awards

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": "usaspending_awards"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoEnd date YYYY-MM-DD (default today)
fromNoStart date YYYY-MM-DD (default 12 months ago; >= 2007-10-01)
pageNoPage 1-100
sortNoamount (default) or date
typeNocontracts (default), idvs, grants, loans, direct_payments, other
limitNoAwards per page 1-50 (default 10)
naicsNoNAICS code(s), comma-separated (contracts/idvs only)
agencyNoAwarding toptier agency name or abbreviation (DOD, NASA, HHS, VA, DHS, ...)
keywordNoKeyword search across award descriptions (min 3 chars). Alias: q
recipientNoRecipient name, UEI or DUNS (free text)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/openWorld annotations, the description discloses the commercial model ($0.01 USDC per successful call via x402 on Base or Solana) and an equivalent HTTPS endpoint — material facts an agent needs before invoking. It also enumerates the returned fields and the total matching count, so the response shape is predictable even without an output schema.

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 core capability and filters are front-loaded in the first sentence, with pricing and endpoint trailing. There is some redundancy between the prose field list and the 'Returns JSON with: ...' enumeration, which costs a point but the text remains scannable and free of filler.

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 10-parameter, no-output-schema search tool, the description covers filters, defaults, sort options, the return payload's key fields, pagination-related totals, cost, and a fallback transport. Nothing essential to calling it correctly is missing.

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 coverage is 100%, so every parameter is already documented, and the description largely restates that (default last 12 months, agency abbreviations such as DOD/NASA/HHS, sort by amount or start date). It adds only marginal meaning, such as confirming the default date window, which is the expected baseline-3 outcome when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: federal contracts, IDVs, grants, loans and direct payments from USAspending.gov, plus the filter dimensions (recipient, agency, NAICS, keyword, date range). An agent can immediately distinguish this award-search tool from the numeric/arithmetic siblings in the catalog.

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

Usage Guidelines4/5

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

It gives clear context for when this tool applies (searching federal spending by recipient/agency/NAICS/keyword over a date window) and states the default window of last 12 months. It stops short of naming an alternative tool or a when-not condition, so it does not reach the top band.

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