Skip to main content
Glama
govconapi

io.github.govconapi/govconapi

Official

Search FPDS Contract Transactions

search_contracts
Read-onlyIdempotent

Search FPDS prime contract transactions by UEI, PIID, NAICS, agency, date, or amount to find federal award records.

Instructions

Search FPDS prime contract transactions, the comprehensive, authoritative award record (10.6M+ transactions). For the sparse SAM Award Notice slice specifically, use search_awards instead (see its docstring for when that's actually the right tool).

Award & Compliance tool.

  • uei / parent_uei: exact 12-char (parent_uei = corporate roll-up)

  • piid: exact award PIID; parent_piid: the vehicle/IDV it was ordered against

  • agency: name substring

  • naics: exactly 6 digits

  • award_type_code: FPDS type A | B | C | D

  • date_from/date_to: action_date window, YYYY-MM-DD

  • amount_min/amount_max: federal_action_obligation

  • sort_by: action_date | current_total_value_of_award | federal_action_obligation | recipient_name (default action_date). sort_order: asc | desc.

  • limit: max 250

Data coverage starts FY2025 (~2024-10-01) and cannot go earlier on any plan, a date_from before that floor is silently clamped, not rejected; the response's window block (clamped, earliest_searchable, reason) discloses what actually ran. Contrast search_vehicles, which is NOT floored this way.

Returns each transaction's award_id_piid, pass that to get_contract for the full roll-up, get_contract_modifications for the full history, or get_contract_vehicle for what vehicle it's under. recipient_uei chains into every Capture/Teaming tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ueiNo
piidNo
limitNo
naicsNo
agencyNo
offsetNo
date_toNo
sort_byNo
date_fromNo
amount_maxNo
amount_minNo
parent_ueiNo
sort_orderNo
parent_piidNo
award_type_codeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the readOnly and idempotent hints, the description reveals the non-obvious FY2025 coverage floor and that an early date_from is silently clamped rather than rejected, with a window block disclosing what actually ran. It also calls out the behavioral difference from search_vehicles regarding flooring.

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 long, but every paragraph serves a distinct purpose: scope and alternatives, parameter semantics, data coverage caveat, and result chaining. The material is front-loaded with the core purpose before moving to structured details.

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 15 optional parameters and an output schema, the description covers what an agent needs to call it correctly: source scope, parameter formats and constraints, the clamping behavior, defaults, max limit, and downstream tool routing. The output schema can handle return-field details, so no critical context is missing.

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

Parameters4/5

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

Because schema description coverage is 0%, the bulleted parameter notes carry the full burden and do it well: exact 12-char UEIs, 6-digit NAICS, YYYY-MM-DD date format, FPDS award type codes, allowed sort fields, and a limit cap of 250. The offset parameter is not described, so a small but real gap remains.

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 opens with a specific verb and resource: Search FPDS prime contract transactions, and characterizes it as the comprehensive authoritative award record. It immediately distinguishes itself from the sparse SAM Award Notice slice in search_awards, so an agent can separate it from close sibling tools.

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?

It explicitly routes SAM Award Notice queries to search_awards and contrasts its coverage-floor behavior with search_vehicles, which is not floored. It also tells the agent what to do with results by chaining award_id_piid to get_contract, get_contract_modifications, and get_contract_vehicle.

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

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