Skip to main content
Glama

search_government_contracts

Read-only

Search US federal government contracts, grants, and spending data from USASpending.gov. Args: keyword: Search keyword (e.g., 'cybersecurity', 'cloud computing', 'AI') agency: Filter by agency (e.g., 'Department of Defense') award_type: Type: contracts, grants, loans, or all min_amount: Minimum award amount in USD max_results: Max results (default 20)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agencyNo
keywordYes
award_typeNocontracts
min_amountNo
max_resultsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the read-only, open-ended nature is covered. The description adds the data source (USASpending.gov) and list of award types, but it does not disclose behavior such as result ordering, pagination, or how 'open world' search behaves. Given the annotations, the description provides adequate but not rich supplemental transparency.

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?

The description is a single introductory sentence followed by a concise, bulleted 'Args:' block. Every line is purposeful, front-loaded with the tool's core purpose, and the parameter documentation is scannable without unnecessary prose.

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?

With no output schema, the description does not explicitly state what the search results look like (e.g., list of awards with dates/amounts), but it does specify the source, filters, and defaults, which is adequate for a read-only search tool. The parameter documentation is thorough and the read-only/open-world annotations fill the safety and matching-expectation gaps. A slightly richer return-value hint would make it complete.

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

Parameters5/5

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

Schema descriptions are absent (0% coverage), and the description fully compensates by explaining each parameter with examples and semantics: keyword ('cybersecurity', 'cloud computing'), agency ('Department of Defense'), award_type ('contracts, grants, loans, or all'), min_amount ('in USD'), and max_results ('default 20'). This adds substantial meaning beyond the bare type/default fields in the schema.

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 clearly states a specific action ('Search') and resource ('US federal government contracts, grants, and spending data from USASpending.gov'), distinguishing it from sibling tools like search_amazon_products or search_fda_recalls. It also lists the key search dimensions (keyword, agency, award type, amount, result count), making the tool's scope unmistakable.

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 description implies usage for federal spending searches (via 'federal government contracts, grants, and spending data') and the parameter examples illustrate common use cases, but it does not explicitly state when to use this tool over alternatives or when not to use it. There is no direct comparison with sibling tools or exclusion criteria, so guidance is implied rather than explicit.

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