Skip to main content
Glama
malkreide

swiss-procurement-mcp

by malkreide

search_procurements

Read-onlyIdempotent

Find Swiss public procurement projects by topic, canton, CPV code, or date window. Data from simap.ch, updated intraday across all cantons and the Confederation.

Instructions

Find open tenders matching a topic, canton, CPV code or date window — the default entry point when the question is "what is being tendered?".

Search Swiss public procurement projects on simap.ch.

Covers all cantons and the Confederation, updated intraday. This is the entry point; use get_procurement_details with the returned ids for the full record.

Note that simap indexes PROJECTS, not publications: one hit is one project, represented by its NEWEST publication. A project tendered in March and awarded in July appears once, as the July award. Use get_publication_history to see the earlier publications of a project.

At least one filter is required — simap answers a filterless query with nothing rather than everything.

Args: query: Free-text search over titles and descriptions. canton: Bare canton id, e.g. ZH (NOT CH-ZH). See CANTON_IDS. canton_match: How canton is interpreted. procuring_body (default) — procured by that canton's public bodies, including communal and subordinate offices. place_of_delivery — the work is delivered there. Beware: ~60% of publications carry no structured order address and are invisible to this filter. both — the union of the two. Costs two upstream calls and does not support cursor. cpv_codes: One or more CPV classification codes. Resolve names to codes with search_cpv_codes first. process_type: One of open, selective, invitation, direct, no_process. pub_type: Publication type. For awarded contracts use one of award_tender, award_study_contract, award_competition, direct_award — a plain "award" is rejected by the API. published_from / published_until: ISO dates YYYY-MM-DD. These filter on the NEWEST publication date of a project. cursor: Pagination cursor from a previous response's next_cursor. language: de, fr, it or en.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
countYes
sourceYes
resultsYes
has_moreYesTrue if the pagination cursor can be advanced.
match_typeNoexact when results were returned, none when empty.none
provenanceYes
next_cursorNoPass as `cursor` to search_procurements for the next page.
retrieved_atYes
Behavior5/5

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

The annotations already declare read-only/idempotent behavior, but the description adds substantial non-obvious context: simap indexes projects rather than publications, a project appears once under its newest publication, filterless queries return nothing, and place_of_delivery misses ~60% of publications. It also discloses that canton_match='both' costs two upstream calls and disables cursors.

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 long, but it is well-organized with a use-case tag, summary paragraphs, and an Args block. Virtually every sentence adds operational value—coverage, update frequency, project-indexing model, required filters, and parameter caveats—though a bit more trimming would make it even more concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is complete for a complex search tool: it covers scope, update cadence, the project-vs-publication model, required filters, pagination behavior, parameter quirks, and links to related tools. Given the output schema is present and the description provides deep operational context, an agent can invoke this tool reliably.

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

Parameters5/5

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

Even though the context signal claims 0% schema description coverage, the schema actually includes property descriptions, and the tool description's Args section goes much further. It explains bare canton format (NOT CH-ZH), the meaning and caveats of each canton_match value, the exact award pub_type strings, and the fact that a plain 'award' is rejected by the API.

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 opens with a clear use case: 'Find open tenders matching a topic, canton, CPV code or date window — the default entry point...' and explicitly states it searches Swiss public procurement projects on simap.ch. This specific verb-plus-resource framing distinguishes it from siblings like get_procurement_details and get_publication_history.

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

Usage Guidelines5/5

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

The description explicitly labels itself as the default entry point for 'what is being tendered?' and directs the agent to use get_procurement_details for full records and get_publication_history for earlier publications. It also references search_cpv_codes for resolving CPV names, providing concrete alternatives.

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/malkreide/swiss-procurement-mcp'

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