Skip to main content
Glama
govconapi

io.github.govconapi/govconapi

Official

Search Forecasts

search_forecasts
Read-onlyIdempotent

Search agency procurement forecasts to identify upcoming contract opportunities before they're posted, filtering by agency, NAICS, keywords, and estimated value.

Instructions

Search agency procurement forecasts, the only FORWARD-LOOKING layer in this API. These are pre-solicitation: work an agency has planned but hasn't posted an opportunity for yet.

Market Research tool. Use this to find what's coming before it's postable, not what's live now (for live notices, use search_opportunities instead).

  • source: fco | dhs | hhs (which agency forecast feed)

  • naics: 2-6 digit code, prefix match (e.g. "5415" matches 541511, 541512...)

  • is_recompete: true = only forecasts that name a current incumbent (see below)

  • amount_min/amount_max: USD, matched against the forecast's value range

  • active_only: default true, excludes already-awarded/cancelled forecasts

  • keywords: full-text search over title + description

  • sort_by: est_award_fy | est_solicitation_date | value_high | agency | last_updated_date

Recompete signal: when is_recompete is true, each row's incumbent_piid is the SAME identifier get_contract and get_vehicle take as piid, chain into either to see who currently holds it, its value, and when it expires (Pro accounts get this pre-joined inline as incumbent_award, so check that field before making the extra call). Direct-line PoC contact fields (poc_email, poc_phone, co_email, sb_specialist_email/phone) are Pro-gated; poc_name stays visible on every plan.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
naicsNo
stateNo
agencyNo
offsetNo
sourceNo
statusNo
sort_byNo
keywordsNo
set_asideNo
amount_maxNo
amount_minNo
sort_orderNo
active_onlyNo
est_award_fyNo
is_recompeteNo
est_award_quarterNo

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

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, and destructiveHint=false, but the description adds significant behavioral context: the forward-looking nature, pre-solicitation meaning, recompete signal relationships, and Pro-gating of contact fields. No contradiction with annotations and substantial extra transparency.

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?

The description is lengthy but well-structured with a lead paragraph, bullet list, and a 'Recompete signal' section. Every sentence carries useful information and there is no filler. It could arguably be trimmed, but the density justifies the length.

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 17-parameter tool with no schema descriptions, the description covers the most decision-critical parameters and adds domain context (forward-looking, pre-solicitation, recompete chaining). An output schema exists to cover return structure. However, some parameters remain undocumented, leaving minor but real gaps for an agent attempting exhaustive queries.

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 0%, so the description must compensate. It explains several parameters well (source, naics, is_recompete, amount_min/max, active_only, keywords, sort_by), but omits semantics for many others (state, status, set_aside, est_award_fy, est_award_quarter, limit, offset, sort_order, agency). The partial coverage leaves gaps that could cause misparametrization.

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 uses a specific verb ('Search agency procurement forecasts') and clearly identifies the resource and its unique position as the 'only FORWARD-LOOKING layer'. It distinguishes itself from search_opportunities by emphasizing pre-solicitation status, so an agent can confidently differentiate it from the most closely related sibling.

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 states when to use ('find what's coming before it's postable') and when not to with a direct reference to the alternative ('for live notices, use search_opportunities instead'). It also provides contextual guidance on recompete signals and Pro-gated fields, giving clear decision criteria.

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