Skip to main content
Glama

Open-Meteo Geocoding Places MCP

Search places filtered by country code

search_places_by_country
Read-onlyIdempotent

Search cities and towns restricted to a specific 2-letter ISO country code, with optional minimum population threshold and sorting by population or elevation.

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": {
      "query": "<query>",
      "country_code": "<country_code>"
    },
    "name": "search_places_by_country"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results to return (default 10).
queryYesPlace name or prefix to search (e.g. "San", "New", "Frankfurt").
sort_byNoSort order: "population" (default) or "elevation".
country_codeYes2-letter ISO-3166-1 alpha-2 country code (e.g. "US", "DE", "JP").
min_populationNoOptional minimum population filter.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds only the scoping constraint and the sort options, which are largely restatements of parameters; it says nothing about result caps, matching semantics, or empty-result behavior.

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?

A single front-loaded sentence with the scope constraint stated first and no filler. It is dense but every clause maps to a real capability of the tool.

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 read-only, single-purpose search with a fully documented five-parameter schema and no output schema, the definition covers purpose and scope adequately. Missing only matching behavior (prefix vs exact) and how results are shaped, which are minor for this complexity.

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 description coverage is 100%, so every parameter is already documented with examples, defaults, and bounds. The description echoes country code, min population, and sorting but adds no format or edge-case detail beyond the schema, making the baseline 3 correct.

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?

States a specific verb (search) and resource (cities and towns) plus the defining constraint: restriction to a 2-letter ISO country code. It does not name the sibling search_places or explain how this differs from it, so an agent must infer the split from the country-code scoping alone.

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: 'restricted to a specific country code' hints at when this is preferable to an unfiltered place search, but there is no explicit when-to-use/when-not or named alternative. The agent gets a reasonable cue without a routing rule.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.