Skip to main content
Glama

Search a place on the map

dv_place_search
Read-onlyIdempotent

Converts a landmark, street, or area name into coordinates and a bounding box for map-based Divar searches, then use the returned lat/lon with nearby or locate tools.

Instructions

Map autocomplete: turn a landmark or street name into coordinates and a bounding box.

Next: dv_nearby or dv_locate with the lat/lon.

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

Input Schema

NameRequiredDescriptionDefault
latNoBias towards this point.
lonNo
queryYesLandmark, mall, street or area, e.g. 'برج میلاد', 'ونک'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.3.0
    • changedInput schema / properties / lat / description
      Previous value: -"Map centre latitude to bias results."New value: +"Bias towards this point."
    • removedInput schema / properties / lon / description
      Removed value: -"Map centre longitude to bias results."
  2. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so safety needs no restatement. The description adds real value beyond that by specifying the return shape (coordinates and a bounding box) and the recommended follow-on tools. It does not say what happens on zero matches or whether multiple candidates come back.

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 short sentences, with the input-to-output transformation front-loaded and the chaining hint second. Nothing is wasted and no clause is redundant.

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?

There is no output schema, so the description rightly states what is returned, and it covers chaining and safety implicitly through the annotations. The remaining gap is about edge cases: no mention of no-match behaviour, result cardinality, or the regional bounds enforced by the lat/lon minimums and maximums.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%: query and lat are documented, lon is not. The description says nothing about the lat/lon bias parameters, so it leaves the meaning of a geographic bias entirely to the schema. Baseline 3 applies because the schema does most of the work, but the undocumented lon is a real gap the description does not cover.

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?

The description gives a specific verb-and-resource pair: it converts a landmark or street name into coordinates plus a bounding box. That contrasts with data-oriented siblings such as dv_posts and dv_market. It does not, however, explicitly distinguish itself from close siblings like dv_suggest or dv_place_mapping, so the differentiation is only partial.

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?

'Next: dv_nearby or dv_locate with the lat/lon' states the downstream call to make after this tool, which effectively tells an agent when this tool belongs in a chain. There is still no explicit statement of when NOT to use it or how it differs from dv_suggest as an input path.

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