Skip to main content
Glama

Place boundary

get_place_boundary
Read-onlyIdempotent

The boundary as one GeoJSON Feature (application/geo+json, not wrapped in data), ready for MapLibre. properties: id, name, detail, dataset_version, attribution. Sent gzip-compressed when the client accepts gzip. A reply over 200 KB, or detail=full, is not inlined: the result is its REST URL and size, to download outside the chat. Needs an API key: the MCP client sends Authorization: Bearer <key>.

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": {
      "id": "<id>"
    },
    "name": "get_place_boundary"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPlace ID, e.g. TR-35.
detailNooverview is for country and region maps, standard for a city view, full is the source geometryoverview

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / id / description
      Added value: +"Place ID, e.g. TR-35."
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Goes well beyond the annotations (readOnly, idempotent, closed-world) by disclosing gzip handling, the >200 KB inline cutoff, the REST-URL fallback with size, and the required 'Authorization: Bearer <key>' header. This is exactly the operational context annotations cannot carry. Minor deduction for not saying what the fallback URL's lifetime or format guarantees are.

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?

Front-loads the return shape and content type, then properties, then the size/auth caveats — a sensible priority order with almost no filler. The gzip sentence is short and operationally meaningful rather than 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, the description carries the full burden of explaining the return value, and it does: media type, unwrapped shape, property list, compression, and the oversized-result fallback. Authentication and the enum mismatch are the only loose ends, and the mismatch is scored under parameter semantics.

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

Parameters2/5

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

Schema coverage is 100%, so the baseline would be 3, but the description actively introduces 'detail=full' as a value that triggers the non-inlined path while the schema's enum only permits overview and standard. An agent following the description could send an invalid value and get rejected. The id parameter adds nothing beyond the schema's example.

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 resource (the place boundary) and its exact representation: 'one GeoJSON Feature (application/geo+json, not wrapped in `data`), ready for MapLibre', and lists the properties returned. That is enough to separate it from get_place, which returns place metadata rather than geometry, though no sibling is named explicitly.

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?

Implied usage is clear (fetch geometry for a place ID) and the detail levels are framed by use case ('overview is for country and region maps, standard for a city view'), but that framing lives in the schema, not the description. There is no explicit 'use this instead of X when...' routing against get_place or find_nearby_places.

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.

Resources