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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ueiNo12-character Unique Entity ID
nameNoLegal business name (partial match allowed) - used when no UEI given
sam_api_keyNoOptional: 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.

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=true, destructiveHint=false). The description adds valuable behavioral context: the tool accesses only 'Public registration sections' and explains the optional SAM.gov API key behavior (spending your own quota and skipping the shared budget). This goes beyond the annotations by disclosing scope and rate-limit considerations, though it doesn't cover all potential response details or error handling.

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 description is concise and well-structured: a single opening sentence states the core function and returns, followed by concrete use cases, and a final scope limitation. Every sentence adds value with no fluff or repetition, front-loading the most critical information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has no required parameters and no output schema, so the description must convey what the tool returns and its limitations. It lists the returned data fields and notes the public-only scope, which is sufficient for a simple read-only lookup. It also addresses the API key option, which is relevant for usage context. It might have been improved by explicitly mentioning the response format, but given the low complexity, it is nearly complete.

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 description coverage is 100%, so the schema already documents all three parameters (UEI, name, sam_api_key) with their descriptions. The tool description adds minimal parameter-specific info beyond restating that lookup can be by UEI or name. It doesn't clarify behavior when both are provided or any precedence, so it stays at the baseline for high schema coverage.

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?

The description clearly states the tool's function: 'Look up a federal contractor registration in SAM.gov by Unique Entity ID (UEI) or legal business name' with a specific verb ('look up') and resource ('federal contractor registration'). It also lists the returned fields (registration status, CAGE code, address, business types, NAICS codes), distinguishing it from sibling tools like find_agency or get_award.

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?

The description provides explicit usage scenarios: 'Call this to vet a teaming partner, check a competitor, or confirm an entity is award-eligible.' It also notes a limitation: 'Public registration sections only.' However, it does not explicitly state when not to use it or name alternative tools, missing the full 'when/when-not/alternatives' criterion for a 5.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: two are code/name resolvers, two are searchers (awards vs opportunities), one fetches award details, one looks up entities, and one aggregates spending. No two tools overlap in function, and descriptions reinforce the boundaries.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern (find_agency, find_naics, get_award, lookup_entity, search_awards, search_opportunities, spending_by_category). The use of 'lookup' instead of 'find' is a minor stylistic variation but does not break the overall pattern.

Tool Count5/5

Seven tools is well-scoped for a federal market intelligence server, covering the essential operations of entity resolution, searching, detail retrieval, and aggregation without unnecessary bloat. Each tool earns its place.

Completeness4/5

The tool set provides strong coverage of the federal market research workflow: resolving agencies and NAICS codes, searching opportunities and awards, retrieving award details, vetting entities, and aggregating spending. The only notable gap is the absence of a dedicated 'get_opportunity' tool to mirror 'get_award' for retrieving full opportunity details.

Resources