Skip to main content
Glama
Global Weather MCP Server

Global Weather MCP Server

by Zachwitte21

geocode

Convert a location name to latitude, longitude, and related location details via the Open Meteo API to support weather lookups.

Instructions

Convert a location name to geographic coordinates using Open Meteo Geocoding API. Returns latitude, longitude, and other location details.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "location": "<location>"
    },
    "name": "geocode"
  }
}

Input Schema

NameRequiredDescriptionDefault
locationYesLocation name (e.g., 'London', 'New York', 'Tokyo')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose the external API and the shape of the return ('latitude, longitude, and other location details'), but says nothing about ambiguous names returning multiple matches, error behavior for unknown places, rate limits, or whether the call is read-only.

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?

Two tight sentences with the core action front-loaded and the return information second. Nothing is redundant, though the definition is thin enough that it could afford one more clause without becoming bloated.

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

Completeness3/5

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

For a one-parameter tool with no output schema, the description covers the action and the return fields. It is incomplete on the one behavior that actually matters for geocoding: what happens when a name matches several places, or matches none.

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

Parameters3/5

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

Schema coverage is 100% for the single 'location' parameter, including examples, so the schema already does the work. The description adds no additional constraint such as format expectations, country disambiguation, or handling of ambiguous inputs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb+resource ('Convert a location name to geographic coordinates') and names the backing API, so the agent knows exactly what it produces. It is clearly distinct from the weather siblings by virtue of returning coordinates rather than conditions, though it never explicitly contrasts itself with them.

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?

Usage is only implied: an agent can infer this is the step for turning a place name into lat/lon (e.g., before a weather lookup). There is no explicit when-to-use, when-not-to-use, or statement about what to do with the resulting coordinates.

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

Deploy Server

Other Tools