Skip to main content
Glama

Contrax: US federal contracts ending soon

Federal contracts ending soon

contracts_ending_soon
Read-only

Federal contracts in one line of work whose end date falls in the next 12 months in one US state: how many, their combined award value, how many companies hold them, the typical award size, the largest ones ending within 6 months, the agencies and companies with the most, and open bids that fit. Source: USAspending.gov records gathered by Contrax. An ending contract is not a promise that the work will be rebid.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "state": "<state>",
      "trade": "<trade>"
    },
    "name": "contracts_ending_soon"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateYesTwo-letter US state code, for example VA
tradeYesLine of work

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The read-only and closed-world annotations already cover safety basics, and the description adds useful context by naming USAspending.gov/Contrax as the source and warning that an ending contract is not a promise of rebid. It does not discuss pagination, result limits, or freshness beyond the 12-month window.

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 front-loaded with the core scope and contains no filler, but it packs many return metrics into a single long sentence. Splitting or structuring the output list would improve readability without changing the content.

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?

With no output schema, the description carries the burden of explaining what the tool returns, and it does list the key metrics, source, and caveat. It is complete enough for an agent to invoke correctly, with only minor gaps around exact response shape or limits.

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 the state and trade parameters are already well documented in the schema. The description reinforces the state/trade filtering context but adds no syntax or format details beyond what the schema provides, making the baseline score appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a precise scope: federal contracts ending in the next 12 months, filtered by one US state and one line of work, and it enumerates the metrics returned. It is clear what the tool does, though it does not explicitly distinguish itself from the sibling list_trades tool.

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

Usage Guidelines4/5

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

The 12-month window plus required state and trade parameters give a clear usage context for finding contracts ending soon. It does not explicitly state when not to use the tool or compare it to alternatives, so it falls short of full guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources