Skip to main content
Glama

MapScale

Thailand map quickstart

mapscale_thailand_quickstart
Read-onlyIdempotent

Returns copy-paste code for adding a MapLibre map of Thailand to a project: a complete, working example for maplibre-html, next, react, or react-native, including a keyless demo path (OpenStreetMap-based PMTiles) and the hosted style URL path that needs a MapScale publishable key. Useful when a project needs a Thailand basemap with Thai or English labels.

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_thailand_quickstart"
  }
}

Input Schema

NameRequiredDescriptionDefault
frameworkNoWhich framework's quickstart to return. MCP client UTF-8 budget: 512 bytes.maplibre-html

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, closed-world behavior, so the bar is lower. The description adds genuinely useful behavioral context beyond them: the output is a complete working example, there is a keyless demo path using OpenStreetMap-based PMTiles, and the hosted style URL path requires a MapScale publishable key — an auth distinction an agent would otherwise have to discover at call time.

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 action and artifact, then the usage trigger. Every clause (frameworks, keyless path, keyed path, label languages) carries information an agent needs; nothing is padding.

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

Completeness5/5

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

With no output schema and a single optional parameter, the description does the work of explaining what comes back (complete, working copy-paste example) and the two variant paths. Nothing an agent needs in order to call this correctly is missing.

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%, so the enum and default are already documented and the baseline is 3. The description adds meaning beyond the schema by explaining that the choice determines which framework's example is returned and by surfacing the keyless-vs-keyed variant difference the framework choice implies.

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 and artifact ('Returns copy-paste code for adding a MapLibre map of Thailand') plus the exact framework targets and the two supported code paths. This clearly separates it from siblings like mapscale_show_thailand_map (renders a map) or mapscale_style_url (returns a URL) without needing to name them.

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 a usable trigger condition: 'Useful when a project needs a Thailand basemap with Thai or English labels.' It does not state when NOT to use it or point to a preview/rendering alternative, so it lands at clear-context-but-no-exclusions.

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.