Skip to main content
Glama
beholder-mcp

beholder-mcp

by rsivilli

get_contract_detail

Retrieve the full detail record for a contract by PIID, including parent contract, funding agency, period of performance, financial values, competition details, and vehicle info.

Instructions

Get the full detail record for a contract by PIID. Returns all available fields: parent contract, funding agency, period of performance, financial values (obligated, potential, base+options), competition details, and vehicle info.

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": {
      "piid": "<piid>"
    },
    "name": "get_contract_detail"
  }
}

Input Schema

NameRequiredDescriptionDefault
piidYesContract PIID to look up

Output Schema

NameRequiredDescriptionDefault
idYesBeholder UUID for this contract
piidYesProcurement Instrument Identifier
statusNoContract status: active or closedactive
end_dateNoISO date the period of performance ends
psc_codeNoProduct Service Code
psc_nameNoHuman-readable PSC description
cage_codeNoCAGE code of the recipient contractor
set_asideNoSet-aside designation
naics_codeNoNAICS industry code
start_dateNoISO date the period of performance begins
vehicle_idNoBeholder UUID of the parent contract vehicle
child_countNoNumber of child contracts (delivery orders) under this IDV
fiscal_yearNoFederal fiscal year of the award
parent_piidNoPIID of the parent contract (for delivery orders under an IDV)
signed_dateNoISO date the contract was signed
recipient_idNoBeholder UUID of the recipient
contract_typeNoFPDS contract/award type code or label
source_systemNoSource system for this recordusaspending
vehicle_titleNoHuman-readable title of the parent vehicle
funding_agencyNoFunding agency name (may differ from awarding agency)
recipient_nameNoLegal name of the recipient contractor
subaward_countNoNumber of subawards reported under this contract
awarding_agencyNoAwarding agency name
awarding_officeNoAwarding contracting office name
extent_competedNoCompetition extent (e.g. 'Full and Open', 'Not Competed')
risk_indicatorsNoActive risk signals for this contract
total_obligationNoTotal dollars obligated to date
number_of_actionsNoTotal number of contract actions (modifications) on record
awarding_agency_idNoBeholder UUID of the awarding agency
awarding_office_idNoBeholder UUID of the awarding office
initial_obligationNoOriginal obligation amount at award
parent_contract_idNoBeholder UUID of the parent contract
recipient_city_nameNoRecipient city
contract_descriptionNoFree-text description of the contract scope
recipient_zip_4_codeNoRecipient ZIP+4 code
potential_total_valueNoMaximum potential value if all options are exercised
review_priority_scoreNoBeholder-computed review priority score
total_outlayed_amountNoTotal dollars disbursed to date
recipient_country_codeNoRecipient country code
ordering_period_end_dateNoISO date after which no new orders may be placed (IDVs only)
recipient_address_line_1NoRecipient street address line 1
recipient_address_line_2NoRecipient street address line 2
number_of_offers_receivedNoNumber of proposals received
base_and_all_options_valueNoBase contract value plus all priced options
vehicle_solicitation_identifierNoSolicitation identifier of the parent vehicle (e.g. 'OASIS', 'SEWP-V')
period_of_performance_potential_end_dateNoPotential end date of the period of performance including all options

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.7/5.0
Behavior3/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 discloses what comes back ('all available fields', parent contract, funding agency, period of performance, financial values, competition, vehicle info), but says nothing about not-found handling for an unknown PIID, whether nulls are returned for missing fields, or any permission constraints. A read tool with zero annotation coverage warrants more than this.

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 sentences, front-loaded with the verb and lookup key, followed by a compact field inventory. The field list is somewhat enumerative but each item maps to real return content, so little is wasted.

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 an output schema that already documents return values, the description covers purpose and scope well enough to call correctly. The only shortfall is the absent guidance on unknown PIIDs and on where to obtain a PIID in the first place.

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% with a single documented 'piid' parameter, so the schema already does the work. The description only restates 'by PIID' without adding format, casing, or resolution guidance, which is the correct baseline for a fully documented single parameter.

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?

States a specific verb and resource ('Get the full detail record for a contract') plus the lookup key (PIID), and enumerates the field groups returned. The 'full detail record' framing implicitly contrasts with the sibling search tools, so an agent can tell it is a detail fetch rather than a search.

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

Usage Guidelines3/5

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

Usage is only implied: 'by PIID' signals it needs an already-known identifier, which hints that discovery should happen elsewhere, but no alternative tool is named and no when-not condition is given. Adequate for an obvious lookup tool, but nothing explicit to route the agent.

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