Skip to main content
Glama

What the government is about to buy

search_opportunities
Read-only

Search SAM.gov notices: Sources Sought and Pre-solicitations (the earliest public signal of a purchase), solicitations and combined synopses. Filter by keyword, NAICS, agency, notice type, date. Each result carries hillsignal_url, the HillSignal opportunity page (notice history, typical time to award, who won similar work, competitors' lobbying and PAC money); give that link to the user, with ui_link as the SAM.gov source. For the full analysis of one notice, call get_opportunity with its hillsignal_url.

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
limitNoMax rows, 1-25 (default 10)
naicsNoNAICS code or prefix, e.g. 3364
sinceNoISO date (YYYY-MM-DD); only rows on or after this date
agencyNoDepartment or organization (partial)
offsetNoSkip this many results (paging, up to 1,000); use next_offset from the previous answer
keywordNoWord in the notice title
notice_typeNosources_sought | presolicitation | solicitation | combined

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "Skip this many results (paging, up to 1,000); use next_offset from the previous answer",
      +  "type": "number"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The readOnlyHint annotation already establishes this is a safe read, and the description stays consistent with that. Beyond annotations it discloses the shape of each result (hillsignal_url and ui_link) and the intended use of each field, which is genuinely useful. It stops short of covering result volume or rate/coverage caveats, so it is strong but not exhaustive.

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 definition is front-loaded with the resource and notice types, then moves to result handling and the sibling hand-off, so an agent gets the essentials first. The long parenthetical listing what the HillSignal page contains is slightly dense but earns its place by justifying why the link matters.

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?

There is no output schema, and the description compensates by explaining the two key returned fields and how to use them. Combined with the schema's own parameter documentation and the explicit sibling routing, nothing an agent needs in order to call this correctly 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 is already documented in the input schema, including the paging hint about next_offset. The description's "filter by keyword, NAICS, agency, notice type, date" largely restates the schema and adds no syntax or format detail. Baseline 3 is appropriate when the schema carries the semantics.

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 and resource ("Search SAM.gov notices") and enumerates the notice types covered: sources_sought, presolicitation, solicitation, combined. It also distinguishes itself from get_opportunity by reserving that tool for "the full analysis of one notice," so an agent can separate the two 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 Guidelines5/5

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

It gives explicit routing: use this tool to find notices, then call get_opportunity with the hillsignal_url for deeper analysis of a single notice. It also tells the agent what to do with results — hand hillsignal_url to the user and cite ui_link as the SAM.gov source — which is real operational guidance rather than implication.

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