Skip to main content
Glama

swisstopo_list_available_layers

Read-onlyIdempotent

List available Swiss geodata layer identifiers from swisstopo, geodienste, or OREB sources. Filter by canton or topic to identify freely usable datasets before running geodata queries.

Instructions

Discovery-Tool: listet die Layer-Kennungen, die swisstopo_query_geodata akzeptiert.

Erster Schritt vor swisstopo_query_geodata: herausfinden, welche Datensätze (Strassenverzeichnis, ÖREB-Verfügbarkeit, interkantonale geodienste.ch-Topics) verfügbar und ohne Vertrag frei nutzbar sind. Für konkrete geodienste-Kennungen einen Kanton angeben (z.B. canton='ZH').

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNoActionable hint when a search returns nothing — what to try next, rather than a bare negative (audit ARCH-003).
countNoNumber of structured results.
sourceNoData source attribution.swisstopo / geo.admin.ch
licenseNoData licence.Swiss Open Government Data (opendata.swiss)
resultsNoStructured result records (machine-readable).
summaryYesHuman-readable Markdown summary of the result.
is_errorNoTrue if this represents a handled error.
match_typeNoexact | fuzzy | none (for search-style tools).
provenanceNoHow the data was obtained.live_api
retrieved_atNoISO-8601 retrieval timestamp.
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds beyond these by framing the tool as a 'Discovery-Tool' and explaining that it outputs layer IDs accepted by query_geodata, with emphasis on free availability without contract. This provides useful behavioral context without contradicting the annotations.

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?

The description is extremely concise: two sentences and a use_case tag. The first line immediately states the core purpose, and the use_case adds practical context without any fluff. Every sentence earns its place.

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 covers the tool's purpose, usage timing, and a practical example. Since an output schema exists, the description need not explain return values. It also mentions the free-availability constraint. Some details like response format or filtering semantics are not described, but they are either in the schema or not essential for a simple discovery tool.

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

Parameters2/5

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

Schema description coverage is 0% (the top-level 'params' property has no description), and the description does not explain the parameters object. It only gives a single example (canton='ZH'). The inner schema does describe each field, but the description fails to compensate for the lack of top-level param documentation, so the agent gets minimal guidance on how to construct the input.

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 the tool's function: 'listet die Layer-Kennungen, die swisstopo_query_geodata akzeptiert' (lists layer identifiers accepted by swisstopo_query_geodata). It uses a specific verb (listet) and resource (Layer-Kennungen), and explicitly distinguishes itself from the sibling query tool by being a discovery step.

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 explicitly says 'Erster Schritt vor swisstopo_query_geodata' (first step before query_geodata), giving clear when-to-use context. It also provides a concrete use case and an example of specifying a canton. However, it does not mention when not to use or name alternatives, so it falls short of a 5.

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/swisstopo-mcp'

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