Skip to main content
Glama
CSOSA MCP Server

CSOSA MCP Server

by nidahal

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Starter MCP server for the GSA MCP hackathon. Replace this description, the tools, and the package name with your own service. See the repo README to get started.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
csosa_search_contract_awardsA

Search real federal contract award data for CSOSA.

Source: USAspending.gov public award-search API, scoped to the Court Services and Offender Supervision Agency for the District of Columbia. Data is sourced from agency procurement system submissions and refreshed daily; see the module docstring for freshness and coverage limits.

Each result includes a usaspending_url permalink to the award's page on USAspending.gov so answers can cite their source, and an award_detail_id you can pass to csosa_get_award_details for the full contract record (competition, NAICS/PSC, place of performance).

Returns: A pagination envelope (JSON) with items, count, offset, has_more, next_offset; or a Markdown summary of the matches.

csosa_get_award_detailsA

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.

csosa_spending_summaryA

Aggregate CSOSA contract spending for summaries and charts.

Source: USAspending.gov spending_over_time / spending_by_category APIs, scoped to CSOSA contracts. Data refreshes daily; see csosa_search_contract_awards's module docstring for coverage limits.

Returns: {"group_by": ..., "results": [{"label": ..., "amount": ...}, ...]}

csosa_search_subawardsA

Search sub-award (subcontractor) records tied to CSOSA prime contracts.

Source: USAspending.gov award-search API in sub-award mode, scoped to prime contracts awarded by the Court Services and Offender Supervision Agency. Each result is money a CSOSA prime contractor passed to a subcontractor, not a direct CSOSA obligation — use csosa_search_contract_awards for prime-award totals. Data is sourced from prime-contractor subcontract reporting (FSRS) and refreshed daily; coverage is sparser than prime-award data because sub-award reporting is not universal.

Returns: A pagination envelope (JSON) with items, count, offset, has_more, next_offset; or a Markdown summary of the matches.

csosa_list_idv_child_awardsA

List task/delivery orders (or nested IDVs) issued under a parent IDV.

Source: USAspending.gov IDV award-family API. An IDV (Indefinite Delivery Vehicle — a GWAC, BPA, or multiple-award schedule contract) has no fixed award amount of its own; its obligated dollars live in the individual orders placed against it. Use this tool after csosa_get_award_details surfaces a parent_idv_award_id to see the other orders issued under that same vehicle.

Note: this endpoint is not scoped to CSOSA. Some IDVs (e.g. GSA multiple-award schedules) are shared across agencies, so results may include orders placed by agencies other than CSOSA — check each item's awarding_agency before attributing spend to CSOSA.

Returns: A pagination envelope with items, count, offset, has_more, next_offset.

Prompts

Interactive templates invoked by user choice

NameDescription
explore_datasetStart an exploration session for a named dataset.

Resources

Contextual data attached and managed by the client

NameDescription
server_infoBasic information about this MCP server. Replace with documentation specific to the API(s) you expose — a data dictionary, field reference, or usage notes the model can read directly.

TDQS

A4.1/5.0

Scored across 5 tools

Disambiguation5/5

Each tool targets a distinct data shape or entity: prime award search, single-award detail, time/category aggregation, subaward search, and IDV family listing. Descriptions explicitly spell out the boundary cases (prime vs. subaward dollars, IDV children vs. direct awards), leaving little room for misselection.

Naming Consistency4/5

All tools share the csosa_ prefix and snake_case, with verb_noun patterns for four of five (search_, get_, search_, list_). csosa_spending_summary is noun-only, a minor stylistic deviation but still perfectly readable and predictable.

Tool Count5/5

Five tools for a single-agency federal spending domain is well-scoped—each tool covers a distinct query type (search, detail, aggregate, subaward, IDV) with no filler.

Completeness4/5

The lifecycle from discovery (search) to drill-down (details) to roll-up (summary) to related-entity traversal (subawards, IDV children) is covered. Minor gaps remain, such as recipient-level or agency-comparison lookups, but core workflows have no dead ends.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues