Skip to main content
Glama

geo_tile

Read-only

Map tile math (XYZ / slippy / quadkey) — Offline Web Mercator tile math used by OpenStreetMap, Google, Mapbox and Bing. Pass lat and lon (or place=) with z (zoom 0-30, default 12) to get the z/x/y tile, TMS y, Bing quadkey, tile bounding box, center, meters per pixel, pixel position, parent, children and 8 neighbors. Or pass tile=z/x/y or quadkey= to get its bounds, or bbox=west,south,east,north with z to list the tiles covering an area (tile_count, up to limit= tiles, default 100, max 500) plus the deepest zoom that fits it in 4 tiles. Price: $0.001 USDC (Base, via x402).

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": {
      "lat": "<lat>",
      "lon": "<lon>",
      "z": "<z>"
    },
    "name": "geo_tile"
  }
}

Input Schema

NameRequiredDescriptionDefault
zYes12
latYes36.1627
lonYes-86.7816

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, destructiveHint:false and openWorldHint, and the description genuinely adds context beyond them: the x402 price ($0.001 USDC on Base), zoom bounds 0-30 with default 12, and a cap of 500 on tile listings. However it advertises invocation modes (place=, tile=, quadkey=, bbox=, limit=) the schema does not accept, so the agent's behavioral model of what inputs work is wrong.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the useful identity and modes, but it is one dense run-on paragraph that packs three mutually exclusive workflows, a return-field inventory and a pricing tail into a single block. The 'used by OpenStreetMap, Google, Mapbox and Bing' clause is filler that does not help selection or invocation.

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?

No output schema exists, and the description does compensate by enumerating return values (bounds, center, meters per pixel, parent, children, 8 neighbors, tile_count). Completeness is undercut by the unresolved contradiction: three of the documented input modes cannot be expressed through the required lat/lon/z schema, and nothing tells the agent which form is authoritative.

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%, but the schema descriptions are only bare examples ("12", "36.1627"), so the description's zoom range 0-30 and default 12 do add real meaning. Against that, it names tile=, quadkey=, bbox=, place= and limit= as parameters when the schema exposes only z/lat/lon, all required, which muddies rather than clarifies the parameter surface.

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+resource: converting lat/lon + zoom into XYZ/slippy tiles, TMS y, quadkey, bounds, neighbors. The scope is unmistakable versus siblings like geo_coords or geo_distance. It stops short of naming a sibling to differentiate from, so an agent must infer that geo_coords is the non-tile coordinate tool.

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?

It lays out three usage modes (lat/lon+z, tile=/quadkey= lookup, bbox= area listing) and notes defaults for zoom and limit, which reads as implied guidance. But two of the three modes rely on parameters absent from the schema, and there is no explicit statement of when to prefer this tool over geo_coords or geo_geocode.

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