Skip to main content
Glama
Soptik1290

MCP Weather Aggregator

by Soptik1290

search_location

Search for any city or location name to get matching coordinates. Type a query and receive a list of locations with country, latitude, and longitude for weather lookups.

Instructions

Search for a location by name to get coordinates.

Args: query: City or location name to search for (e.g., "Prague", "New York")

Returns: JSON list of matching locations with name, country, latitude, longitude

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool performs a search and returns a JSON list with name, country, latitude, and longitude. It does not cover edge cases like empty results or ambiguous matches, but the core behavior is transparent.

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 purpose is front-loaded in one clear sentence, followed by compact Args and Returns sections. There is no filler, and every sentence adds useful 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?

For a simple single-parameter geocoding tool, the description provides enough to invoke it correctly: query semantics, expected returns, and output structure. It lacks a note on when not to use it or what happens when no matching location is found, but these are minor gaps.

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?

The input schema only defines 'query' as a required string with no description. The tool description compensates fully by explaining the query is a city or location name and providing concrete examples like 'Prague' and 'New York'.

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 specifies a clear verb ('Search'), a distinct resource ('location by name'), and an explicit outcome ('get coordinates'). This cleanly separates it from the weather-focused sibling tools.

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

Usage Guidelines3/5

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

The description implies when to use the tool: when an agent has a location name and needs coordinates. However, it does not explicitly mention alternatives such as get_weather_by_coordinates when coordinates are already available, so routing guidance is only implicit.

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