Skip to main content
Glama
SAM gov US Federal Contracts & Grants Scraper (Keyless)

SAM gov US Federal Contracts & Grants Scraper (Keyless)

search_us_contracts

Search active US federal contract opportunities, RFPs, and solicitations on SAM.gov without an API key, with filters for agency, deadlines, notice types, and details.

Instructions

Search active US federal contract opportunities, RFPs, and solicitations on SAM.gov without an API key.

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_contracts"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoSearch keyword (e.g. "cybersecurity", "cloud", "software")
maxItemsNoMaximum opportunities to return
activeOnlyNoOnly return active non-canceled notices (default true)
departmentsNoDepartment or agency substrings (e.g. ["DEFENSE", "HOMELAND"])
minDeadlineNoMinimum response deadline (YYYY-MM-DD)
noticeTypesNoNotice type codes or names (e.g. ["o", "k", "p", "r"])
publishedFromNoMinimum publication date (YYYY-MM-DD)
includeDetailsNoEnrich each opportunity with NAICS codes and contracting officer contacts

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. The phrase 'without an API key' is a genuinely useful disclosure that no authentication setup is needed. Beyond that, it says nothing about rate limits, pagination or truncation with maxItems up to 100, or whether includeDetails slows results or triggers extra calls: significant gaps for a tool whose behavior is undocumented elsewhere.

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?

One front-loaded sentence that states the verb, the resource, the source, and the no-key condition. Every clause earns its place and nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter tool with no annotations and no output schema, the description covers purpose and authentication but leaves behavioral completeness thin. It does not explain pagination behavior when maxItems caps results, or what an empty result means, which an agent would benefit from knowing.

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 the schema already explains all 8 parameters, including formats, and a baseline of 3 is appropriate. The description does not add any parameter-level meaning beyond indirectly confirming that active filtering is the default. That is acceptable but not compensating for anything.

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?

States a specific verb and resource: searching active US federal contract opportunities, RFPs, and solicitations on SAM.gov. That is far more informative than the bare name. However, it never distinguishes this tool from the sibling get_opportunity_details; an agent must infer that this is the list-level tool and that one is the per-record lookup.

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?

The description gives no explicit when-to-use guidance, no when-not-to-use conditions, and does not name the alternative tool for detail or contact lookups. Usage is only implied by the word 'Search', leaving the agent to work out the relationship with get_opportunity_details on its own.

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

Deploy Server

Other Tools