Skip to main content
Glama
govconapi

io.github.govconapi/govconapi

Official

Get Contract Vehicle

get_contract_vehicle
Read-onlyIdempotent

Find which contract vehicle (IDIQ, GWAC, FSS, or BPA) an order was placed against using its PIID. Returns vehicle details or flags standalone contracts.

Instructions

Get the contract vehicle (IDIQ, GWAC, FSS schedule, or BPA) this order was placed against.

Award & Compliance tool. Returns the vehicle's own PIID, chain into get_vehicle for
the vehicle's own ceiling/period detail, or get_vehicle_holders to see who else can
compete for orders on it.

- piid: the ORDER's PIID (not the vehicle's own PIID), from search_contracts or get_contract

If the contract was awarded directly, not against a vehicle, returns
`{status: "standalone", vehicle: null, message: ...}` instead, check `status` before
reading `vehicle.award_id_piid` or chaining into get_vehicle.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
piidYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds meaningful behavior: direct awards return {status: 'standalone', vehicle: null, message: ...} and instructs the agent to check status before reading vehicle fields. This goes beyond annotation signals.

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?

Front-loaded purpose, concise usage guidance, a single parameter bullet, and a clearly separated edge-case note. Every sentence earns its place without fluff.

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?

Given the tool's moderate complexity, the description covers the core behavior, the parameter source, sibling routing, and the important direct-award return shape. It is complete enough for safe autonomous invocation.

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

Parameters5/5

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

Schema provides 0% description coverage for piid, but the description fully compensates by clarifying it is the ORDER's PIID, not the vehicle's own PIID, and indicates where to obtain it. This prevents a likely misuse.

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 contract vehicle (IDIQ, GWAC, FSS schedule, or BPA) against which an order was placed. It also distinguishes itself from sibling tools like get_vehicle and get_vehicle_holders by explaining what those are for.

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

Usage Guidelines5/5

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

Explicitly tells the agent when to use this tool versus alternatives: chain into get_vehicle for vehicle ceiling/period detail, get_vehicle_holders for competing holders, and order PIID should come from search_contracts or get_contract. Also covers the direct-award edge case.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/govconapi/govconapi-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server