Skip to main content
Glama

Piotrr

resolve_location

Read-onlyIdempotent

Normalise a city or country string (Göteborg, Gothenburg, SE-G, Poland) into a canonical PIOTRR location. Does not geocode beyond the known European set. Read-only.

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>"
    },
    "name": "resolve_location"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes
localeNoUI locale for translated fields (sv, da, no, fi, et, lv, lt, en, de, nl, fr, pl). Does not change search country.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the trailing 'Read-only' sentence is redundant. Beyond that, the description adds real behavioral context by disclosing the coverage limit (European set only), which warns the agent about a failure mode the annotations do not cover. It stops short of saying whether out-of-set input errors or returns null.

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?

Three short sentences with zero filler, with the core action front-loaded ahead of the scope caveat and the safety note. Every clause carries information.

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?

With no output schema and a low-complexity two-parameter surface, the description covers the input side well but leaves the return value underspecified — no hint whether a 'canonical location' is a code, a name, a structured object, or coordinates. For a normalisation tool whose entire value is the output shape, that is a real gap.

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?

Schema coverage is 50%: `locale` is well documented in the schema, while `query` has only length constraints. The description compensates by showing through examples that `query` accepts native city names, English exonyms, subdivision codes, and country names. It still does not state how ambiguous or multi-match inputs are handled.

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?

Uses a specific verb ('Normalise') plus a concrete resource ('city or country string') and backs it with four input examples (Göteborg, Gothenburg, SE-G, Poland) that make the accepted formats unambiguous. The output target ('canonical PIOTRR location') is named but not described, and no sibling tool overlaps this function so no differentiation is required.

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 clause 'Does not geocode beyond the known European set' establishes a scope boundary that tells an agent when this tool will not help, which is genuine usage guidance. However, it names no alternative tool or fallback for out-of-scope queries and gives no guidance on ambiguity or partial matches, so the when-to-use logic is only implied.

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.

Resources