Skip to main content
Glama

Find a place in Trieste

search
Read-onlyIdempotent

Find places of Trieste and its vicinity, and the hubs Opicina, Duino and Muggia, by any of their names: English, Italian, Slovene, German, Croatian, and the other names the world file gives. Accents, case and signs are ignored; every word asked must be a whole word of one and the same name ('trst' is not 'trstu'). The best match comes first: a name equal to the whole query, then the shortest name. Several places can carry the same name (a square and its bus stop, the top and the bottom of a stairway): all are returned, so choose by id, kind, height_m and hub, or ask the person. The city's own name (Trieste, Trst, Triest) gives the area, area:trieste. If no name holds every word, a short list of PARTIAL matches may come back instead (partial: true, with words_matched and words_not_matched): suggestions whose name holds at least half the words, never the place asked for. Use the ids with fetch and walk_between.

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": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many results at most. Places that share the best name are never cut apart.
queryYesA name or part of a name, in any language: 'Piazza Unità', 'Veliki trg', 'Miramare'.

Output Schema

NameRequiredDescriptionDefault
noteNo
creditNo
matchedNo
resultsYes
data_readNo
never_sayNo
partial_matchedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, yet the description goes further: it explains the ranking rule (exact whole-query name first, then shortest name), that accents, case and typographic signs are ignored, that every query word must be a whole word of one name ('trst' is not 'trstu'), and that duplicate names produce multiple results disambiguated by id, kind, height_m and hub. It also discloses that the city name yields area:trieste and that a failed exact match returns partial: true with words_matched/words_not_matched rather than the requested place.

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 scope and matching rules are front-loaded and each sentence carries information the agent could not get from schema or annotations. It is dense with parenthetical asides and a single long opening sentence, which slightly hurts scanability, but there is no filler.

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

Completeness5/5

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

An output schema exists, yet the description still explains the semantics the agent needs to act on results: ranking order, duplicate-name disambiguation fields, and the partial-match envelope. Combined with the fully documented two-parameter schema and read-only annotations, nothing needed to call or interpret this tool is missing.

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, but the description adds real interpretation semantics for query beyond the schema's example: language-agnostic matching, accent/case insensitivity, and the whole-word constraint. The limit parameter's interaction with tied top-ranked names is already stated in the schema itself, so nothing extra is added there.

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 (find places), a precise scope (Trieste plus the hubs Opicina, Duino, Muggia), and the matching mode (by any of their names in six languages). It also distinguishes itself from siblings by noting that returned ids are meant to be used with fetch and walk_between.

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?

It clearly frames the search-by-name use case and routes the agent onward to fetch and walk_between for the ids. It also tells the agent what to do when multiple places match ('choose by id, kind, height_m and hub, or ask the person') and how to interpret a partial-match fallback. It stops short of an explicit 'do not use this when you already have an id' exclusion, but the routing sentence implies it.

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.