Skip to main content
Glama

Groundsocial

US federal contract awards

economy_government_contracts_get
Read-onlyIdempotent

US federal contract awards by recipient, keyword or industry code.

Contract awards from USAspending.gov matching a recipient, keyword, naics or psc (at least one), in the date window: award id, recipient, amount, outlays, description, dates, agencies, NAICS, PSC, place of performance and a link. type limits to purchase_order, delivery_order, definitive_contract or bpa_call; sort amount (default), start_date, end_date or recipient; limit up to 100, page × limit up to 50,000.

Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.

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

Input Schema

NameRequiredDescriptionDefault
pscNoProduct or service codes (1 to 4 characters), comma-separated, up to 20.
pageNoPage number, 1 to 10000. Defaults to 1.
sortNo
typeNo
limitNoAwards per page, 1 to 100. Defaults to 25.
naicsNoNAICS codes (2, 4 or 6 digits), comma-separated, up to 20.
orderNo
keywordNoFree text matched against award descriptions (3 to 120 characters).
to_dateNoYYYY-MM-DD.
from_dateNoYYYY-MM-DD, from 2007-10-01. Defaults to the last complete federal fiscal year.
recipientNoCompany or organisation name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/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 covered upstream. The description still adds real context beyond them: a cost model of 1 credit per call with automatic refund on failure, a 'public data only' scope, and the credit fields returned in results. That is useful, though it does not describe result volume or latency behavior for a 50,000-record retrieval.

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 purpose statement is front-loaded in the first sentence, followed by a dense parameter/behavior block. The long enumeration of returned fields is the one costly passage, but it earns its place given the tool has no output schema. No filler sentences or marketing language.

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 an 11-parameter tool with no output schema, the description covers the important gaps: filter combinatorics, defaults, caps, cost, and the shape of returned records. Minor omissions remain, such as the meaning/default of the 'order' parameter and what happens when page × limit exceeds the cap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With schema coverage at 73%, the description supplements the undocumented enums by spelling out the type values (purchase_order, delivery_order, definitive_contract, bpa_call), the sort options with 'amount' as default, and limit/page behavior. It also introduces a combined cap of page × limit up to 50,000 that is not derivable from the schema's individual maxima, which is genuine added meaning.

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 names a specific verb and resource ('US federal contract awards') plus the three axes of selection (recipient, keyword, industry code) and the data source (USAspending.gov). An agent can tell it retrieves award records rather than aggregate spend, but it never names or contrasts the closest sibling such as economy_government_spend_get.

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 states the selection rule ('matching a recipient, keyword, naics or psc (at least one)') and the date-window behavior including the default fiscal-year start, which tells an agent how to build a valid call. It gives no explicit when-not-to-use case or routing to an alternative tool for aggregate spending data.

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.