Skip to main content
Glama

Resolve place

discond_resolve_place
Read-onlyIdempotent

Resolve a UAE place name to Discond place ids (emirate, community, settlement) or to a known area. A known area or landmark (Burj Khalifa, Dubai Mall…) has level "area" or "landmark" and id 0; its name works as the place filter of discond_find_discounts.

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": {
      "q": "<q>"
    },
    "name": "discond_resolve_place"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesPlace name to resolve
levelNoWhat kind of place to look for. auto (default) tries all.auto
limitNoHow many matches (1–50, default 15).
region_idNoOnly places inside this emirate (region id from an earlier result).
community_idNoOnly places inside this community (id from an earlier result).
response_formatNomarkdown (default, human-readable) or json (structured)markdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / community_id / description
      Added value: +"Only places inside this community (id from an earlier result)."
    • addedInput schema / properties / level / description
      Added value: +"What kind of place to look for. auto (default) tries all."
    • addedInput schema / properties / limit / description
      Added value: +"How many matches (1–50, default 15)."
    • addedInput schema / properties / region_id / description
      Added value: +"Only places inside this emirate (region id from an earlier result)."
  2. Changed1 schema field changed
    • changedInput schema / properties / level / enum
      Previous value: -[
      -  "region",
      -  "community",
      -  "settlement",
      -  "area",
      -  "auto"
      -]New value: +[
      +  "region",
      +  "community",
      +  "settlement",
      +  "area",
      +  "landmark",
      +  "auto"
      +]
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds a genuinely non-obvious behavioral trait not in any structured field: areas and landmarks carry id 0, which an agent would otherwise misread as a missing id. It says nothing about result volume beyond the limit param or about failure/empty behavior.

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?

Two sentences, front-loaded with the core operation, and the second sentence is the one that carries the non-obvious integration detail. No filler, no restating of the title.

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 six-parameter, fully schematized read tool with no output schema, the description covers purpose, the special id-0 case, and the downstream consumer of the result. The return shape is only sketched (level names, ids) rather than described, which is the main remaining 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 100%, giving a baseline of 3, and the description goes beyond it by explaining what the "area" and "landmark" level values mean and that their id is 0. It adds nothing about q, limit, region_id, community_id or response_format, all of which the schema already documents well.

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 (resolve) and a specific resource (UAE place name) and names the output entities (emirate, community, settlement ids / known area). It also positions the tool relative to discond_find_discounts, so an agent can distinguish it from the find/autocomplete siblings without opening a schema.

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 second sentence makes the intended workflow explicit: the returned area/landmark name is what feeds the place filter of discond_find_discounts, which is clear when-to-use context. There are no explicit exclusions or a stated rule for choosing this over discond_autocomplete_businesses, so it falls short of a full when/when-not statement.

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