Skip to main content
Glama
CSOSA MCP Server

CSOSA MCP Server

by nidahal

Get CSOSA Award Details

csosa_get_award_details
Read-onlyIdempotent

Fetches the full contract record for one CSOSA award from USAspending.gov, including competition, NAICS/PSC codes, performance, recipient, and parent IDV details.

Instructions

Fetch the full contract record for one CSOSA award.

Source: USAspending.gov award-detail API. Returns competition data (how many offers were received, how it was solicited), NAICS/PSC industry codes, place and period of performance, the recipient (and its parent company, if any), and the parent IDV/schedule contract this award was issued under, if applicable.

If parent_idv_award_id is present, pass it to csosa_list_idv_child_awards to see the other orders issued under the same IDV.

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": {
      "award_detail_id": "<award_detail_id>"
    },
    "name": "csosa_get_award_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
award_detail_idYesThe award_detail_id from a csosa_search_contract_awards result (e.g. 'CONT_AWD_CSOSA13D1044_9594_GS07F0256L_4730'). The short award_id/PIID alone will not resolve.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds genuine context beyond that by disclosing the data source (USAspending.gov award-detail API) and the exact shape of the payload. The one caveat worth noting—that the short PIID will not resolve—lives in the schema rather than the description.

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?

Front-loaded with the one-line purpose, followed by the payload contents as a compact list and then the conditional next step. The provenance line earns its place by telling the agent where the data originates. No sentence is padding.

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 single-parameter read tool with an output schema, this covers purpose, payload, source, and the logical follow-up call. Nothing an agent needs in order to invoke it correctly is missing; the only mild gap is the absence of explicit routing guidance versus the sibling search tools.

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% and the single parameter is fully documented in the schema, including the critical warning that the short award_id/PIID will not resolve. The description adds no syntax or format guidance for award_detail_id beyond what the schema states, so the baseline 3 applies.

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 ("Fetch the full contract record for one CSOSA award") and then enumerates exactly what the record contains: competition data, NAICS/PSC codes, place/period of performance, recipient and parent company, and parent IDV. This lets an agent distinguish it from csosa_search_contract_awards, which produces the identifier this tool consumes.

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?

Gives an explicit follow-on workflow: "If `parent_idv_award_id` is present, pass it to csosa_list_idv_child_awards." The schema description also makes clear this must be called with an award_detail_id from csosa_search_contract_awards, so the ordering is inferable. It stops short of an explicit "use this instead of X when..." contrast with the search siblings, but the usage context is clear.

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