Skip to main content
Glama

Map old place ids

dv_place_mapping
Read-onlyIdempotent

Convert old Divar place IDs to current ones when a saved district or city ID returns no results. Batch up to 50 legacy IDs and get renumbered place IDs back.

Instructions

Convert old Divar place ids to the current ones (Divar merged and renumbered places).

Use when an old id returns nothing. unverified ids are neither renumbered nor cities.

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": {
      "ids": "<ids>"
    },
    "name": "dv_place_mapping"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesOld district/city ids saved from earlier Divar data.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so the safety profile is covered. The description usefully adds that unverified ids are out of scope, but it does not say what happens to ids that have no mapping (omitted, null, or passed through), which matters for a batch call with no output schema.

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: purpose first, then usage trigger and the one caveat that changes behavior. Nothing is redundant and the critical constraint is front-loaded.

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

Completeness3/5

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

For a single-parameter conversion tool with no output schema, the description should still indicate the return shape (a mapping per input id) and how unmapped ids are represented. The purpose and trigger are complete, but the result semantics an agent needs to interpret the response are missing.

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 100%, and the schema already explains that ids are old district/city ids with a 1-50 bound. The description adds no per-parameter detail beyond the caveat about unverified ids, so it sits at the baseline where the schema does the work.

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?

The description gives a specific verb and resource ('Convert old Divar place ids to the current ones') and explains the cause ('Divar merged and renumbered places'), which clearly separates it from siblings like dv_place_search or dv_locate that resolve places by name or geography.

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 states a concrete triggering condition ('Use when an old id returns nothing') plus a scope exclusion ('unverified ids are neither renumbered nor cities'). It stops short of naming an alternative tool for those cases, so the fallback path is left implicit.

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