Skip to main content
Glama

querytap

Bid brief for a SAM.gov opportunity

us_opportunity_brief
Read-onlyIdempotent

Answers: Who wins this kind of US federal contract at this agency? Bid brief for a SAM.gov opportunity: the notice plus the top contract winners for its NAICS at that agency over 5 years (USAspending). Input: A SAM.gov notice id, from /us/opportunities/search (field notice_id). Example: /us/opportunities/4b4330c5ddff4b16a1e5c99449d2b8dd/brief Price: $0.08 USDC per call (x402). Without payment: a free 3-row preview, 3 per day.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "us_opportunity_brief"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesSAM.gov notice id (or sam:{id}).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, non-destructive), the description discloses cost ($0.08 USDC per call via x402), a free fallback (3-row preview, 3 per day), the underlying data source, and the 5-year lookback window. These are exactly the operational facts an agent needs before spending money on a call.

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 value proposition is front-loaded in the first sentence, followed by input, example, and pricing in a predictable order. It is dense but slightly crammed, mixing prose and URL examples in one block, which costs a bit of scannability.

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?

With no output schema, the description carries the burden of describing returns and does so ('the notice plus the top contract winners ... over 5 years'). Combined with cost, free-tier limits, and input sourcing, an agent has everything needed to decide and invoke correctly.

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

Parameters4/5

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

Schema coverage is 100% for the single `id` parameter, so the baseline is 3. The description adds real meaning on top of the schema by specifying the id's provenance (from /us/opportunities/search, field notice_id) and by showing the `sam:{id}` form and a worked example URL.

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 the specific resource (a bid brief for a SAM.gov notice) and the exact payload: the notice plus top contract winners for its NAICS at that agency over 5 years from USAspending. The opening question ('Who wins this kind of US federal contract at this agency?') frames the intent so an agent can distinguish it from sibling brief tools like us_grant_brief or tender_brief.

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

Usage Guidelines4/5

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

It tells the agent where the required input comes from ('A SAM.gov notice id, from /us/opportunities/search (field notice_id)') and supplies a concrete example call, which is strong routing guidance. It does not, however, state when to prefer this over a related sibling such as us_incumbents, nor any exclusion conditions.

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