Skip to main content
Glama

Search SAM.gov opportunities

search_opportunities
Read-only

Search live SAM.gov federal opportunities from the past year. Returns up to 25 notices per page with title, agency, deadline, NAICS, PSC, set-aside, and the canonical SAM.gov link. Federal notices only; no contract value bands are published. Free, no sign-in. Limited to 10 searches per day, shared with the web feed.

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

Input Schema

NameRequiredDescriptionDefault
pscNo4-character product service code.
pageNoResults page, 0 to 9. Default 0.
naicsNo6-digit NAICS code.
keywordNoKeyword search, up to 100 characters.
setAsideNoSet-aside type code, up to 12 characters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

The annotations already cover safety (readOnly, openWorld, non-destructive), yet the description still adds substantial operational context: the returned fields, a 25-per-page cap, exclusion of contract value bands, no sign-in requirement, and a hard quota of 10 searches per day shared with the web feed. Quota and output-shape disclosure are exactly the kind of traits structured fields do not carry.

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?

Three sentences, front-loaded with what the tool does, followed by return shape and then constraints. Every clause carries a fact the agent needs (fields, page size, scope, quota, auth), with no restating of the title.

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 five-parameter search tool with no output schema, the description still conveys result shape, pagination limits, scope exclusions, auth posture, and rate limits. Nothing an agent needs in order to call and interpret it 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 description coverage is 100%, so every parameter already has documentation in the schema (psc, naics, keyword, setAside, page). The description adds the temporal bound of the search but says nothing about how the filters combine or what happens when psc and naics are supplied together; baseline 3 applies.

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 names a specific verb (search), a specific resource (live SAM.gov federal opportunities), a bounded scope (past year), and paginated result semantics ('up to 25 notices per page'). That combination makes it self-evidently a list/search entry point rather than a single-record fetch like get_opportunity, so an agent can route correctly without opening either schema.

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?

Usage is implied by scope statements ('Federal notices only; no contract value bands are published') and by the rate-limit note, which gives practical context. However, the description never explicitly says when to choose this over sibling tools such as search_evidence or when to follow up with get_opportunity for detail, so the agent must infer the workflow.

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.