Skip to main content
Glama
Open Data B2B & Compliance MCP Server

Open Data B2B & Compliance MCP Server

search_expiring_recompete_contracts

Read-onlyIdempotent

Find active US federal contracts expiring within a set number of days to spot incumbent recompete opportunities, with vendor names, obligated values, NAICS codes, and awarding agencies.

Instructions

Search active US federal contracts (USASpending.gov) expiring within the next N days to identify incumbent recompete capture opportunities, incumbent vendor names, obligated contract values, NAICS codes, and awarding agencies.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_expiring_recompete_contracts"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortByNoSort by highest contract value ("amount_desc") or soonest expiration ("expiration_asc").amount_desc
statesNoOptional 2-letter US Place of Performance state codes (e.g., ["VA", "MD", "DC"]).
keywordsNoOptional domain keywords (e.g., ["cybersecurity", "cloud migration"]).
maxResultsNoMaximum recompete contracts to return (1-50 in MCP mode). Default: 10.
naicsCodesNoOptional 6-digit NAICS codes (e.g., ["541512", "541511"]).
minAwardAmountNoMinimum contract award value in USD. Default: 50000.
expiringWithinDaysNoDays ahead from today for Period of Performance End Date (1-1095). Default: 180.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description adds genuine context beyond that: the upstream source (USASpending.gov), that results are restricted to 'active' contracts, and the specific fields returned (incumbent vendor, obligated value, NAICS, agency). It does not mention rate limits, auth, or result-size behavior beyond what the schema states.

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?

A single front-loaded sentence with the data source and core filter before the output-field enumeration, so the key selection signal comes first. The trailing list of returned fields is informative rather than filler, though it is the only part that could be trimmed since no output schema exists to carry it.

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?

With 7 all-optional parameters at full schema coverage, annotations covering safety, and no output schema, the description supplies exactly the missing pieces: purpose, data source, activeness constraint, and the shape of the returned data. Nothing an agent needs in order to call this correctly is absent.

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 100%, so every parameter including sortBy's enum and the maxResults 1-50 range is already documented in the schema. The description's only added signal is restating the 'next N days' expiration filter, which maps directly to expiringWithinDays and adds no syntax or edge-case meaning. Baseline 3 is appropriate when the schema does the heavy lifting.

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 ('Search active US federal contracts') plus the exact scope that makes it distinctive ('expiring within the next N days') and the business intent ('recompete capture opportunities'). The domain is unambiguous against siblings like search_open_federal_grants or search_eu_ted_tenders, so an agent can select it without opening the schema.

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 implied by the stated intent ('identify incumbent recompete capture opportunities'), which tells an agent the scenario this fits. However, there is no explicit when-to-use/when-not guidance, no mention of alternatives (e.g., a general contract search or grant search), and no note that all filters are optional and defaults apply.

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