Skip to main content
Glama
govconapi

io.github.govconapi/govconapi

Official

Search Entities

search_entities
Read-onlyIdempotent

Search all SAM-registered entities by name, covering firms with or without federal awards. Filter by NAICS code, state, business type, and active status to identify potential partners or contractors.

Instructions

Search ALL SAM-registered entities by name (won a federal award or not). For companies that have actually WON an award, use search_companies instead, it has richer award-history fields; use this one when you need the full registry, including firms with no award history yet.

Capture & Teaming tool. `q` alone works on every plan; the other filters are Pro.

- q: name substring, min 2 chars
- naics: NAICS code, no Y/N suffix (Pro)
- state: 2-letter US state (Pro)
- business_type: SAM business-type code, e.g. "8W" (WOSB), "QF" (SDVOSB), "27"
  (self-cert SDB) (Pro), an unrecognized code returns 400 with the full valid list
- active_only: only Active registrations (Pro)
- naics_small: exact 6-digit NAICS code (e.g. "236220"), SBA DSBS small-business
  determination for this NAICS (Pro)
- limit: max 100

Returns each entity's `uei`, the same identifier get_entity, get_company_profile,
check_exclusion, and get_company_contact all take as `uei`.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNo
limitNo
naicsNo
stateNo
offsetNo
active_onlyNo
naics_smallNo
business_typeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Annotations already indicate read-only, non-destructive, idempotent behavior. The description adds valuable behavioral details beyond annotations: q requires min 2 chars, unrecognized business_type returns 400 with the valid list, limit max is 100, and each result returns a uei usable by other listed tools.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The most important scoping and sibling-differentiation guidance appears in the first sentence. The bullet list packs a lot of parameter detail with no fluff, and every line earns its place. The cross-tool uei note at the end is useful and compact.

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 an output schema present, the description doesn't need to enumerate return fields, but it still adds the critical cross-tool uei linkage. It covers scope, plan limits, error behavior, and parameter constraints. The only minor omission is offset, but that's not essential given the schema and pagination context.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries full responsibility for parameter meaning. It covers 7 of 8 parameters with concrete semantics: q substring min length, NAICS suffix rules, business_type examples plus error behavior, active_only meaning, naics_small exact format, and limit maximum. Only offset is left to the schema, which is self-explanatory.

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?

Description states it searches ALL SAM-registered entities by name, explicitly including those without award history. It also differentiates from sibling search_companies by noting that search_companies is for companies that won awards and has richer award-history fields.

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?

Explicitly tells the agent when to use this tool vs search_companies, and when to prefer search_companies instead. It also documents plan limitations (q works on every plan, other filters are Pro), giving operational context for when filters may fail.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Other Tools

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/govconapi/govconapi-mcp'

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