Skip to main content
Glama

Find place or room code

ot_find_place
Read-onlyIdempotent

Resolves place names to city or province slugs for room searches and converts room codes into room references. Use it before searching rooms or retrieving room details.

Instructions

Turn a place name into the city / province slugs that ot_search_rooms needs, or a room code into its room.

Room names are not searchable here (use ot_search_rooms name). Next: ot_search_rooms, or ot_room for a room.

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

Input Schema

NameRequiredDescriptionDefault
queryYesCity/province name (Persian or slug) or room code, e.g. 'رامسر'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.0
    • changedInput schema / properties / query / description
      Previous value: -"City/province name (Persian or slug), e.g. 'رامسر', or a room code, e.g. '2508916'."New value: +"City/province name (Persian or slug) or room code, e.g. 'رامسر'."
  2. Changed4 schema fields changedv0.2.0
    • changedInput schema / properties / query / description
      Previous value: -"City or province name in Persian or as an English slug, e.g. 'رامسر', 'ramsar', 'مازندران', or a numeric room code, e.g. '2508916'."New value: +"City/province name (Persian or slug), e.g. 'رامسر', or a room code, e.g. '2508916'."
    • removedInput schema / properties / query / title
      Removed value: -"Query"
    • removedInput schema / title
      Removed value: -"ot_find_placeArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "ot_find_placeDictOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered; the description adds the non-obvious behavioral fact that lookup is dual-mode (place resolution vs. room-code resolution) and that room names are explicitly out of scope. It does not say what happens on a failed/ambiguous lookup, which is the one remaining behavioral gap for a resolution tool.

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?

Two short sentences, front-loaded with the transformation and followed by the exclusion and next steps; nothing is padded. The telegraphic fragment style ('Next: ot_search_rooms, or ot_room for a room') is slightly clipped but still parses cleanly.

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 one-parameter read-only resolver with annotations and no output schema, the description covers inputs, outputs and downstream routing. Only the no-match/ambiguity behavior is left unspecified, which is minor at this complexity level.

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% and the single parameter already documents Persian-or-slug input with an example, so the baseline is 3. The description earns above baseline by explaining that the one `query` field is polymorphic — it accepts either a place name (whose output feeds ot_search_rooms) or a room code (whose output feeds ot_room) — which the schema does not make clear.

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?

Starts with a specific verb-and-transformation: it converts a place name into 'city / province slugs that ot_search_rooms needs', or a room code into its room. The dual input/output mode is explicit and the boundary is stated ('Room names are not searchable here'), so an agent can tell it apart from ot_search_rooms and ot_room without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit exclusion with the alternative that handles it ('use ot_search_rooms `name`'), then names the follow-up call for each outcome ('Next: ot_search_rooms, or ot_room for a room'). This is a complete when-to-use / when-not-to-use routing statement.

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