Skip to main content
Glama
beholder-mcp

beholder-mcp

by rsivilli

get_contractor

Retrieve a contractor record by UEI or company name and view top agencies, PSC codes, and risk indicators for government contracting due diligence.

Instructions

Get a contractor record by UEI or name. Returns a ContractorProfile with top agencies, PSC codes, and risk indicators.

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": {
      "uei": "<uei>"
    },
    "name": "get_contractor"
  }
}

Input Schema

NameRequiredDescriptionDefault
ueiYesUEI or company name to look up

Output Schema

NameRequiredDescriptionDefault
idYesBeholder UUID for this contractor
ueiNoSAM.gov Unique Entity Identifier (UEI)
legal_nameYesLegal registered name of the contractor
sam_statusNoSAM.gov registration status, e.g. Active, Expired, or Excluded
entity_typeNoSAM.gov entity type, e.g. Business or Individual
address_cityNoCity of the contractor's primary registered address
agency_countYesNumber of distinct agencies that have awarded contracts to this contractor
display_nameNoPreferred display name, if different from legal name
fiscal_yearsYesFederal fiscal years in which this contractor received at least one award
office_countYesNumber of distinct contracting offices that have awarded to this contractor
top_agenciesYesAgencies that have obligated the most dollars to this contractor
address_stateNoTwo-letter state code of the contractor's primary registered address
top_psc_codesYesProduct Service Codes under which this contractor has received the most obligations
contract_countYesTotal number of contracts awarded to this contractor
risk_indicatorsNoActive risk signals detected for this contractor
vehicle_summaryNoContract vehicles (IDVs) on which this contractor holds a position
recent_contractsYesMost recently awarded contracts for this contractor
total_obligationYesTotal dollars obligated to this contractor across all contracts
review_priority_scoreNoBeholder-computed review priority score (higher = more scrutiny warranted)
subaward_awarded_countNoNumber of subawards this contractor has issued to subcontractors
subaward_received_countNoNumber of subawards this contractor has received as a subcontractor

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose the returned payload shape (top agencies, PSC codes, risk indicators). It says nothing about permissions, rate limits, or what happens when the lookup misses, though the presence of an output schema removes the need to describe return values in more detail.

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

Conciseness4/5

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

Two short sentences with the primary action front-loaded and no filler. The second sentence largely restates information the output schema already provides, which is the only minor waste.

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?

For a one-parameter lookup with a full output schema, the description covers purpose and return contents adequately. The notable gap is routing guidance among the many similarly named sibling tools, which matters more here than return-value detail.

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% for the single parameter, so the baseline is 3. The description's "by UEI or name" mirrors the schema's own parameter description rather than adding new meaning such as accepted name formats or ambiguity handling.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ("Get a contractor record") and states the lookup keys. However, it does not distinguish itself from close siblings such as get_contractor_profile, resolve_contractor, or search_contractors, leaving the agent to guess which retrieval tool to use.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when this tool should be chosen over get_contractor_profile, resolve_contractor, or search_contractors, nor any prerequisites or exclusions. The only implied usage is 'look up one contractor,' which is not enough in a catalog with several similar retrieval tools.

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