Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SAM_MODENoOverrides default mode: 'live' or 'fixtures'.auto
SAM_API_KEYNoFree key from SAM.gov. Its presence is what selects live mode. Omit to run in fixtures mode.
SAM_TIMEOUT_MSNoUpstream request timeout in milliseconds.20000
SAM_MAX_ATTACHMENT_BYTESNoRefuse attachments larger than this rather than filling a context window.8000000

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_solicitationsA

Searches federal contract opportunities in a posted-date window. postedFrom and postedTo are required, MM/dd/yyyy, at most one year apart. Returns normalised notices, each with its attachment links. The returned count is the length of the list actually returned, which is not the same as totalRecords across all pages.

get_solicitationA

Retrieves a single notice by its solicitation number, within a posted-date window. Abstains explicitly when the number is not found in that window, because 'not in this window' and 'does not exist' are different answers.

list_attachmentsA

Returns the downloadable attachment URLs for one notice. An empty list means the notice carries no attachments, which is a real and common state and is reported as zero rather than as an error.

fetch_attachmentA

Downloads a single attachment by its resource URL, as returned by list_attachments. Returns UTF-8 text when the document is text, and otherwise returns the content type and byte length without guessing at the contents. Binary formats such as PDF are reported, not silently decoded into noise.

server_statusA

Reports which mode the server is in and where its data is coming from. Call this first when results look surprising.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/juanmplazasg-lgtm/samgov-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server