Skip to main content
Glama

Look up a SAM.gov registered entity

lookup_entity
Read-onlyIdempotent

Look up a federal contractor registration in SAM.gov by Unique Entity ID (UEI) or legal business name: registration status, CAGE code, physical address, business types (SDVOSB, 8(a), HUBZone, etc.), and NAICS codes. Call this to vet a teaming partner, check a competitor, or confirm an entity is award-eligible. Public registration sections only. Requires the caller's own free SAM.gov API key (X-Sam-Api-Key header or sam_api_key argument).

Input Schema

NameRequiredDescriptionDefault
ueiNo12-character Unique Entity ID
nameNoLegal business name (partial match allowed) - used when no UEI given
sam_api_keyNoYour own free SAM.gov API key. Required unless it is already set as the X-Sam-Api-Key header on the MCP connection; this server has no shared SAM.gov key. Get one free at sam.gov: sign in, open your profile (Account Details), request a public API key. Docs: https://open.gsa.gov/api/get-opportunities-public-api/. Never logged or stored.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / sam_api_key / description
      Previous value: -"Optional: your own free SAM.gov API key (from sam.gov → Account Details). With it you spend your own 1,000/day quota and skip the shared budget. Can also be sent once as the X-Sam-Api-Key header on the MCP connection."New value: +"Your own free SAM.gov API key. Required unless it is already set as the X-Sam-Api-Key header on the MCP connection; this server has no shared SAM.gov key. Get one free at sam.gov: sign in, open your profile (Account Details), request a public API key. Docs: https://open.gsa.gov/api/get-opportunities-public-api/. Never logged or stored."
  2. Changed1 schema field changed
    • changedInput schema / properties / name / description
      Previous value: -"Legal business name (partial match allowed) — used when no UEI given"New value: +"Legal business name (partial match allowed) - used when no UEI given"
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, so the bar is lower. The description adds real behavioral context beyond them: scope is limited to 'public registration sections only' and the call requires the caller's own SAM.gov API key via header or argument. It omits rate-limit or pagination behavior.

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?

Two sentences, front-loaded with the resource and identifiers, then use cases, then constraints. Every clause carries distinct information; nothing is redundant.

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 compensates by enumerating the returned fields. The auth requirement and the public-sections scope are both stated, so an agent has everything needed to invoke and interpret this correctly.

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

Parameters3/5

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

Schema coverage is 100%, so all three parameters are already documented, including the header fallback and key-acquisition link. The description only adds the UEI-vs-name precedence hint, which is already implied by the schema's 'used when no UEI given'. Baseline 3 applies.

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?

Specific verb (look up) plus resource (federal contractor registration in SAM.gov) with the key identifiers (UEI, legal business name) stated up front. It enumerates the returned fields and is clearly distinct from siblings like get_award or find_naics.

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?

Explicitly names three concrete use cases: vetting a teaming partner, checking a competitor, confirming award eligibility. It does not name a sibling alternative or state when NOT to use it, but the sibling set is disjoint enough that routing is unambiguous.

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