Skip to main content
Glama

MapScale

Show a map of Thailand

mapscale_show_thailand_map
Read-onlyIdempotent

Show an interactive map of Thailand inline (MapLibre on OpenStreetMap data). Give a place (a major Thai city/province such as Bangkok, Chiang Mai, Phuket — other places need a MapScale key) or an explicit center [lng, lat], plus an optional zoom (1-18) and markers ([{lng, lat, name}]). Use for any "show me X on a map" request about Thailand.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "mapscale_show_thailand_map"
  }
}

Input Schema

NameRequiredDescriptionDefault
zoomNoDefault 11.
placeNoPlace name, e.g. 'Chiang Mai'. MCP client UTF-8 budget: 512 bytes.
titleNoShort caption shown on the map. MCP client UTF-8 budget: 512 bytes.
centerNo[longitude, latitude]; overrides `place`.
markersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, so the bar is lower, and the description still adds useful context: rendering happens inline in the client, the data source is OpenStreetMap, and non-major places need an API key. It does not cover failure modes for an unknown place name or what happens when both place and center are supplied beyond the override note.

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?

Three sentences, front-loaded with what the tool produces, then inputs, then the usage trigger. Slightly redundant where it restates the zoom bounds and marker object shape that the schema already defines, but there is no filler.

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 five-parameter, no-output-schema rendering tool, the description covers what is produced (an inline interactive map), how inputs combine (center overrides place), and the key constraint. Missing only an explicit statement of default behavior when no place or center is given, despite no required parameters.

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 80%, so baseline would be 3; the description earns a step up by naming the four inputs together and clarifying that place must be a major Thai city/province or require a key, which is a constraint the schema does not express. The zoom range and marker shape it repeats are already in the schema.

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?

States a specific verb and resource: show an interactive inline map of Thailand, rendered with MapLibre on OpenStreetMap data. That is far more concrete than the title alone and scopes it geographically, though it does not explicitly distinguish itself from the sibling mapscale_newsroom_map.

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?

Gives an explicit trigger: any "show me X on a map" request about Thailand. It also surfaces a real prerequisite — places other than major Thai cities/provinces require a MapScale key — but never names an alternative tool for non-Thailand or non-map needs, so the routing guidance stops short of the top band.

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.