Skip to main content
Glama
cliwant

mcp-sam-gov

by cliwant

opengov_list_governments

Read-only

Lists active government procurement portals from OpenGov Procurement (525+ US state/local governments). Filter by state, name, or paginate results. Returns portal codes for use with opengov_search_solicitations.

Instructions

List the government portals on OpenGov Procurement (formerly ProcureNow) — the directory for opengov_search_solicitations (keyless; api.procurement.opengov.com). OpenGov Procurement hosts the live open-solicitation portals of 525+ US state/local governments (cities, counties, school & special districts across 42 states + DC). The WHOLE directory arrives in ONE keyless GET and is filtered client-side: state (2-letter), query (case-insensitive name substring); limit(1..200)/offset. Only ACTIVE, non-internal portals are returned. Output: { governments:[{ code, name, city, state, website }] } + honest _meta. Feed a result's code to opengov_search_solicitations. HONESTY: this consumes ONLY the anonymous endpoints the public portal itself calls (the official key-gated api-key API is NOT used) — genuinely keyless; totalAvailable is the EXACT filtered portal count (never the page length); a 429/5xx/timeout THROWS (never a fake empty); a non-array body ⇒ schema_drift.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoPortals per page, 1..200, default 50.
queryNoCase-insensitive name substring filter (client-side), e.g. 'county', 'school'. Optional.
stateNo2-letter US state filter (client-side), e.g. 'CA', 'FL'. Optional.
offsetNo0-based offset; page with _meta.pagination.nextOffset. totalAvailable = exact filtered portal count.
Behavior5/5

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

The description provides extensive behavioral context beyond annotations: it is read-only (keyless GET), returns only active non-internal portals, filters client-side, uses anonymous endpoints, handles errors by throwing, and detects schema drift. It complements the readOnlyHint and openWorldHint annotations without contradiction.

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 purpose and is well-structured, covering filtering, output, usage with sibling, and honesty notes. Each sentence adds value, but it is relatively long and could be slightly more concise without losing essential information.

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?

The description compensates for the lack of an output schema by detailing the output structure (fields like code, name, city, state, website) and behavior of _meta and totalAvailable. It also covers error handling. However, it does not fully specify the _meta object fields besides pagination, and 'schema_drift' is mentioned but not defined.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema covers all 4 parameters (100% coverage), so baseline is 3. The description adds semantics: explains client-side filtering for state and query, limit range 1..200, offset 0-based, and that totalAvailable is the exact filtered count. This extra context raises the score to 4.

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?

The description clearly states 'List the government portals on OpenGov Procurement' and specifies the resource (directory for opengov_search_solicitations). It distinguishes from sibling tools by mentioning it provides the code needed for opengov_search_solicitations and by describing the client-side filtering behavior.

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 description explains when to use the tool: to list active government portals, optionally filtered by state, query, limit, and offset. It notes the client-side filtering and the output format. However, it lacks explicit guidance on when not to use this tool or direct comparison with similar sibling tools like bonfire_list_organizations.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cliwant/mcp-sam-gov'

If you have feedback or need assistance with the MCP directory API, please join our Discord server