Skip to main content
Glama
SAM.gov Opportunities MCP server

SAM.gov Opportunities MCP server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
APIFY_TOKENYesYour Apify API token. Runs are billed to this account.
SAMGOV_ACTOR_BUILDNoActor build tag or number to run. get_opportunity needs actor 0.3 or newer.latest
SAMGOV_MAX_CHARGE_USDNoSpending cap per tool call.0.30

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Search U.S. federal contract opportunities from SAM.gov: solicitations, sources sought, presolicitations and award notices. Use search_opportunities with filters (NAICS, PSC, set-aside, agency, state, posted since, deadline). Use get_opportunity for one notice by notice ID, SAM.gov URL or solicitation number. Each returned notice costs $0.003 on the user's Apify account, so keep max_results small unless the user asks for more.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_opportunitiesB

Search active SAM.gov federal contract opportunities. Returns notices newest first, with agency, deadline, NAICS, PSC, set-aside, place of performance, primary contact and SAM.gov link (award notices also include the awardee and amount).

get_opportunityA

Get one SAM.gov opportunity by notice ID, URL or solicitation number. A solicitation number returns all of its notices (for example the solicitation, its amendments and the award notice with the winner and amount).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 2 tools

Disambiguation5/5

The two tools have clearly distinct purposes: search_opportunities performs discovery across active notices, while get_opportunity retrieves a specific notice or full solicitation history. An agent can easily choose between search and direct lookup without overlap.

Naming Consistency5/5

Both names follow the same verb_noun convention (get_opportunity, search_opportunities), with natural singular/plural agreement matching what each returns. There are no mixed styles or cryptic abbreviations.

Tool Count4/5

Two tools is thin but well matched to a focused read-only search-and-retrieve integration; each earns its place. A slightly larger surface with helper/reference tools could be justified, but nothing here feels redundant.

Completeness4/5

The core workflow—find opportunities and inspect a specific notice or full solicitation lifecycle—is covered, including amendments and awards via get_opportunity. Gaps include no explicit document/attachment retrieval or reference-data lookups, and search is limited to active opportunities.