Skip to main content
Glama

srgssr_weather_search_location

Read-onlyIdempotent

Search Swiss locations by name or postal code to obtain precise geolocation IDs for accurate weather forecasts from SRF Meteo.

Instructions

Sucht Schweizer Standorte für die Wettervorhersage nach Name oder Postleitzahl und gibt eine Liste von Orten mit geolocationId zurück.

<use_case>Wetteranalysen, Reiseplanung und journalistische Recherchen zu Schweizer Standorten. Erster Schritt vor srgssr_weather_current, srgssr_weather_forecast_24h oder srgssr_weather_forecast_7day, um die präzise geolocationId für eine Vorhersage zu ermitteln.</use_case>

<important_notes>Beschränkt auf Schweizer Standorte (SRF Meteo). Die zurückgelieferte geolocationId verbessert die Qualität der Wettervorhersagen gegenüber reinen Koordinaten.</important_notes>

query='Zürich' | query='8001' | query='Lausanne'

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true. The description adds valuable context: limited to Swiss locations (SRF Meteo) and that the geolocationId improves forecast quality. No contradictions.

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 concise, well-structured with <use_case>, <important_notes>, and <example> tags. Every sentence adds value, and the purpose is front-loaded.

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?

For a simple search tool with one parameter and an existing output schema, the description covers purpose, usage guidelines, limitations, and examples completely. No gaps.

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 schema provides a description for the query parameter (Ortname oder Postleitzahl). The tool description adds examples (query='Zürich', '8001', 'Lausanne') and context on usage, enhancing meaning beyond the schema.

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 it searches for Swiss locations by name or zip code, returning a list with geolocationId. It uses a specific verb ('Sucht') and resource ('Schweizer Standorte'), and the <use_case> tag differentiates it from sibling weather tools.

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 <use_case> tag explicitly says this is the first step before srgssr_weather_current, srgssr_weather_forecast_24h, or srgssr_weather_forecast_7day to get the geolocationId. This provides clear when-to-use and prerequisite context.

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

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