CSOSA MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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 Returns:
A pagination envelope (JSON) with |
| 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 |
| 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 |
| 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 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 Returns:
A pagination envelope with |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| explore_dataset | Start an exploration session for a named dataset. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| server_info | Basic 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
Scored across 5 tools
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.
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.
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.
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.