Skip to main content
Glama
beholder-mcp

beholder-mcp

by rsivilli

search_contractors

Find government contractors by company name, UEI, state, or agency, and sort results by obligations or contract count to identify relevant vendors.

Instructions

Search for contractors (vendors/organizations) in the Beholder database.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_contractors"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoSearch by company name or UEI
pageNoPage number (1-based)
stateNoFilter by two-letter state code, e.g. VA
sort_byNoSort field: total_obligation | contract_count | legal_name
agency_idNoFilter to contractors with awards from this agency UUID
page_sizeNoResults per page (max 200)

Output Schema

NameRequiredDescriptionDefault
pageYesCurrent page number (1-based)
itemsYesContractor records matching the query
totalYesTotal number of matching contractors across all pages
page_sizeYesNumber of items per page

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a read-only search but says nothing about pagination limits (the 200 cap lives only in the schema), ordering defaults, or what happens when no filters are supplied — all relevant for a 6-parameter discovery tool.

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?

A single front-loaded sentence with no wasted preamble; the purpose arrives immediately. 'In the Beholder database' is mild filler but does establish the data source, so the sentence earns its place.

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

Completeness3/5

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

An output schema exists, so return values need not be explained, and the schema fully documents all six optional parameters. What is missing is routing context — when this search should be preferred over contractor lookup or resolution siblings — which matters for a tool sitting among many similarly named alternatives.

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 every parameter (q, page, state, sort_by, agency_id, page_size) is already documented in the schema. The description adds only the parenthetical that contractors are 'vendors/organizations,' which marginally reinforces the q parameter's intent but adds no new syntax or filtering semantics.

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 gives a specific verb and resource — 'Search for contractors (vendors/organizations)' — and clarifies the entity type, which helps distinguish it from search_contracts and search_opportunities. It does not, however, differentiate it from sibling lookups like resolve_contractor or get_contractor, leaving the agent to infer the boundary.

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 when-to-use guidance at all: nothing says when to search here versus resolve_contractor, get_contractor, or search_contracts. The word 'search' implies exploratory lookup, but no alternatives or exclusions are named, so the agent must guess from sibling names alone.

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