Skip to main content
Glama

Opentripmap Geoname

opentripmap_geoname
Read-onlyIdempotent

Resolve a city / place name to geographic coordinates and metadata (lat, lon, population, country, timezone). Use this to turn a place name into a lat/lon you can feed to opentripmap_places_radius. Example: opentripmap_geoname({ name: "Paris", country: "FR", _apiKey: "your-key" })

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "Paris",
      "_apiKey": "your-opentripmap-api-key"
    },
    "name": "opentripmap_geoname"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoTwo-letter language code (default "en")
nameYesCity or place name, e.g. "Paris", "Kyoto"
_apiKeyYesOpenTripMap API key
countryNoOptional ISO 3166 two-letter country code to disambiguate, e.g. "FR", "US"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds output metadata details (lat, lon, population, country, timezone), which is useful but modest. No additional behavioral traits such as rate limits, failure modes, or ambiguity handling are disclosed. With annotations present, this meets the minimum but does not exceed it.

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 two sentences plus a compact example. The first sentence states the purpose, the second gives the intended use and a concrete example. There is no filler or redundancy; 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?

With no output schema, the description appropriately names the return metadata (lat, lon, population, country, timezone). It also explains how the result is used with a sibling tool. Minor omissions like error handling and ambiguous-name behavior are not critical for a simple geocoding tool, so it is nearly complete.

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 the baseline is 3. The description adds an example call showing name and country usage, which illustrates the parameter pattern but does not add meaning beyond what the schema already provides. It does not compensate further for any schema gaps because there are none.

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 and resource: 'Resolve a city / place name to geographic coordinates and metadata.' It lists concrete output fields (lat, lon, population, country, timezone). It does not explicitly differentiate from the sibling opentripmap_autosuggest, though it names opentripmap_places_radius as the downstream consumer. This is clear but not full sibling differentiation.

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 gives an explicit usage context: 'Use this to turn a place name into a lat/lon you can feed to opentripmap_places_radius.' This is a clear when-to-use statement. It does not state when not to use it or mention alternatives like opentripmap_autosuggest, so it lacks exclusions.

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.