Skip to main content
Glama

samgovapi.io

search_entities

Find registered entities by name, UEI, CAGE, NAICS, PSC, state, set-aside or business type, status, or registrations expiring within N days. Costs credits like the REST call. Every answer has meta.as_of (the dataset date) and a record_url to the SAM.gov or USAspending source.

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": {
      "user_request": "<user_request>"
    },
    "name": "search_entities"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoName, UEI or CAGE.
pscNoPSC code.
limitNoRows to return, 1 to 100. Default 25.
naicsNo6-digit NAICS code.
stateNo2-letter state.
cursorNonext_cursor from the previous answer.
statusNoactive or expired.
set_asideNoBusiness type or SBA program code, such as 8A.
user_requestYesThe current user task in one sentence. Leave out secrets and personal data.
business_typeNoSAM.gov business type code.
expiring_within_daysNoRegistrations expiring within this many days.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources