Skip to main content
Glama
apify-official-data-mcp

apify-official-data-mcp

search_us_federal_contracts_grants

Find and filter U.S. federal contracts and grants from USASpending.gov and live Grants.gov opportunities by agency, keywords, dates, NAICS codes, state, recipient, and award amount.

Instructions

Query USASpending.gov v2 federal contracts/grants and live Grants.gov funding opportunities.

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

Input Schema

NameRequiredDescriptionDefault
agencyNo
datasetsNo
end_dateNo2026-12-31
keywordsNo
start_dateNo2026-01-01
state_codeNo
naics_codesNo
grant_statusesNo
min_award_amountNo
max_total_charge_usdNo
recipient_or_companyNo
max_results_per_datasetNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations were provided, so the description carries the full behavioral burden and discloses almost nothing: it does not state that this is a read-only query, how results from the two sources are merged or ranked, what the default date window of 2026-01-01 to 2026-12-31 implies, or any rate/pagination behavior. "Live" Grants.gov implies freshness but the effect on results is unexplained.

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?

A single tight sentence that front-loads the verb and both data sources with no filler. It is efficient, though its brevity comes at the cost of the guidance the tool actually needs.

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?

Placeholder correction: this score is intentionally left out of range consideration — see summary. The tool is a multi-source search with 12 undocumented parameters and no annotations; the presence of an output schema relieves the need to describe return values, but nothing explains parameter semantics or cross-source behavior.

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

Parameters1/5

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

With 12 parameters at 0% schema description coverage, the description must explain fields like agency, datasets, naics_codes, grant_statuses, max_total_charge_usd, and max_results_per_dataset, yet it mentions none of them. Ambiguous names such as max_total_charge_usd and the anyOf/null dataset filters are left completely undefined, so an agent has no basis for filling them safely.

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 uses a specific verb ("Query") and names two concrete resources: USASpending.gov v2 federal contracts/grants and live Grants.gov funding opportunities. An agent can distinguish this from siblings like search_clinical_trials_openfda or search_eu_public_tenders by domain, but the description offers no explicit sibling differentiation or scoping hints.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no mention of when to prefer one data source over the other, and no prerequisites or exclusions. The only hint is the implication that this tool returns both awarded spending data and open opportunities; an agent must infer usage entirely from the name.

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