Skip to main content
Glama

Marius Comper: interactive maps, 10,125 facts & 35 live civic datasets

lookup_romanian_locality

Read-onlyIdempotent

Look up any of Romania's 3,181 communes, towns and cities by name or SIRUTA code. Returns 2021 census residents, seismic design acceleration (RTC XVIII-2026), nearest passenger airport distance, and verified deep links to municipal budgets, weather since 1961, earthquake warning seconds, forest height and tropical nights.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "lookup_romanian_locality"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoOptional exact SIRUTA numeric ID (e.g. '40198').
limitNoMaximum candidate localities to return (1–10).
queryNoLocality name (e.g. 'Brașov', 'Cluj-Napoca', 'Sighișoara').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/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 safety profile is covered. The description adds useful context about what lookup produces—census figures, seismic acceleration, airport distance, deep links—but says nothing about how candidates are matched, how results are ordered when a name is ambiguous, or what happens when zero or many localities match. With annotations present the bar is lower, so a 3 fits.

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?

The purpose sentence is first and covers name, code, and population size in one clause. The second sentence is a dense feature list but earns its space because no output schema exists to describe returns. Minor cost: items like 'forest height and tropical nights' read as promotional padding rather than call-relevant 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?

With no output schema, the description must carry the return-value burden and does so by enumerating the data categories returned. Missing pieces are behavioral rather than structural: no note on ranking of multiple candidates or on empty-result handling. For a three-parameter read-only lookup, it is close to sufficient.

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 100%, so the baseline is 3, and the description goes further by framing results as 'candidate localities,' which implies name matching can return multiple partial matches rather than a single exact hit. It also explicitly distinguishes the two lookup keys (name vs. SIRUTA code) that correspond to the query and id parameters. The limit parameter's role is only visible in the schema, keeping this below a 5.

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?

States a specific verb and resource with exact scope: 'Look up any of Romania's 3,181 communes, towns and cities by name or SIRUTA code.' The domain is narrow and unambiguous, and nothing among the listed siblings (citations, projects, datasets) overlaps with locality lookup, so an agent can select it without opening the schema.

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 implied by 'by name or SIRUTA code,' which signals the two ways to query, but there is no explicit when-to-use versus when-not guidance, no statement about behavior on a non-matching name, and no named alternatives. Given the sibling tools cover unrelated domains, the omission of alternatives is tolerable but the definition still leaves invocation strategy to inference.

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