Skip to main content
Glama
govconapi

io.github.govconapi/govconapi

Official

Search Recompetes

search_recompetes
Read-onlyIdempotent

Find federal contracts entering recompete within a specified time window to spot new business openings and track your own contract's upcoming expiration.

Instructions

Find contracts entering recompete within a window, a market read for NEW business (who else's contract is about to be up for grabs), and also useful post-award to watch your OWN contract's expiration (see get_recompete for the single-contract form of that).

Capture & Teaming / Post-Award tool, Pro only, factual, never scored (no win-probability guess, just the facts: option runway, offer count, incumbent history).

  • naics: exactly 6 digits

  • agency: name substring

  • ends_after_months / ends_within_months: the window, e.g. 0-18 = "ending in the next 18 months," set ends_after_months higher (e.g. 6) to skip the too-late-to-influence band

  • date_anchor: current_end (next decision point) | potential_end (guaranteed recompete, all options used)

  • options_exhausted_only: true = only contracts whose options are ~exhausted (the high-confidence "must recompete" subset)

  • incumbent_excluded: true = only recompetes whose incumbent is CURRENTLY on the SAM exclusions list (can't legally win the recompete); false = only clean incumbents; omit for both

  • sort_by: ends_soonest | value | mod_churn | de_obligated

Returns each row's agency_code/sub_agency_code alongside the published agency/ sub_agency names, and award_id_piid, pass that to get_recompete for the full incumbent-vulnerability read, or to get_contract/get_vehicle for the raw FPDS record. incumbent_uei is the same identifier every Capture/Teaming tool takes as uei. NOTE: get_recompete (the single-PIID detail form) does not yet carry agency_code/sub_agency_code, only this search does.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
naicsNo
stateNo
agencyNo
offsetNo
sort_byNoends_soonest
set_asideNo
amount_maxNo
amount_minNo
date_anchorNocurrent_end
ends_after_monthsNo
ends_within_monthsNo
incumbent_excludedNo
options_exhausted_onlyNo

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.8/5.0
Behavior5/5

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

Annotations declare read-only/idempotent behavior, and the description adds substantial behavioral context beyond that: it never outputs win-probability, returns specific fields like agency_code/sub_agency_code and award_id_piid, explains the options-exhausted subset as high-confidence 'must recompete,' and notes the get_recompete caveat. It also explains that incumbent_excluded means currently on the SAM exclusions list, which materially affects interpretation.

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 dense but every sentence earns its place. The core purpose is front-loaded, parameter semantics are organized in compact bullets, and cross-tool routing is placed where it is actionable. The length is justified by the tool's 14-parameter surface and zero schema descriptions.

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?

Given the tool's complexity and lack of inline schema descriptions, the description covers the central filters, output highlights, and follow-on tool routing. It is missing guidance on a few parameters (state, set_aside, sort_by meanings) that could still cause confusion, but the output schema and rich annotations lessen the burden. Overall this is a well-rounded definition with only minor gaps.

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?

With schema description coverage at 0%, the description carries the parameter-documentation burden. It does this well for naics (exactly 6 digits), agency (substring), ends_after/within_months (window semantics with a worked example), date_anchor (two enum meanings), options_exhausted_only, incumbent_excluded (true/false/omit), and sort_by (acceptable values). However, state, set_aside, amount_min/max, limit, and offset receive no explanation, and the sort_by values are listed without meaning. Strong but incomplete compensation.

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 identifies a specific verb and resource: 'Find contracts entering recompete within a window.' It clearly frames the tool as a market read for new business and a post-award watch on one's own contract expiration, and explicitly contrasts it with get_recompete's single-contract form. An agent can tell this apart from sibling tools without opening schemas.

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?

The description names the intended use cases (new-business market read, post-award self-monitoring) and explicitly routes to alternatives: get_recompete for single-contract detail, and get_contract/get_vehicle for raw FPDS records. It also scopes the tool as 'Capture & Teaming / Post-Award, Pro only, factual, never scored.' This is explicit when-to-use guidance with named alternatives.

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