Skip to main content
Glama

MapScale

Address autocomplete

mapscale_autocomplete
Read-onlyIdempotent

Address/place autocomplete session call — Google Places-shaped {predictions:[…]} for building a Thai address search box. Pass a stable session_token per user session.

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

Input Schema

NameRequiredDescriptionDefault
qYesMCP client UTF-8 budget: 2048 bytes.
langNoMCP client UTF-8 budget: 512 bytes.
limitNo
session_tokenNoMCP client UTF-8 budget: 512 bytes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover readOnly/openWorld/idempotent/non-destructive, so the description's job is added context. It delivers the response shape ({predictions:[…]}, Google Places-shaped) despite there being no output schema, plus the session-token lifecycle rule — genuinely useful beyond the annotations. It stops short of noting result freshness, coverage limits, or billing for open-world lookups.

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?

Roughly 30 words, front-loaded with the action and purpose, with the session-token rule as a clean closing directive. The em-dash clause packing return shape and use case is dense but not wasteful; no filler sentences.

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 4-parameter read-only lookup with no output schema, the description supplies the return shape, the domain scope, and the state-management rule, which is close to sufficient. It leaves open how predictions should be consumed (e.g., feeding a place id into mapscale_place) and what limit controls.

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 75%, but the schema's own descriptions for q, lang and session_token only state UTF-8 byte budgets, and limit has no description at all. The description adds the semantic meaning of session_token ('stable session_token per user session') and frames q as an address/place query against Thai data, which meaningfully compensates for the weak schema text. It still says nothing about what limit counts.

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?

Names a specific verb+resource ('Address/place autocomplete') and scopes it to a Thai address search box, which separates it from mapscale_geocode / mapscale_place / mapscale_reverse by intent. It does not name a sibling explicitly, so it falls just short of a 5.

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

Usage Guidelines3/5

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

Implies usage ('for building a Thai address search box') and tells the caller to reuse a session token per user session, but gives no explicit when-not-to-use or hand-off to geocode/place for resolving a selected prediction. The guidance is inferable rather than stated.

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.