Skip to main content
Glama
OpenStreetMap MCP

OpenStreetMap MCP

osm_get_bbox

Read-only

Fetch all OpenStreetMap data within a specified bounding box. Keep boxes small to stay within API area and node count limits.

Instructions

Download all data in a bounding box. The API limits the area (see osm_capabilities, default 0.25 square degrees) and node count; keep boxes small.

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": {
      "min_lon": "<min_lon>",
      "min_lat": "<min_lat>",
      "max_lon": "<max_lon>",
      "max_lat": "<max_lat>"
    },
    "name": "osm_get_bbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_latYes
max_lonYes
min_latYes
min_lonYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnlyHint and openWorldHint, so safety is covered. The description adds genuinely useful behavioral context beyond them: a concrete server-side area cap (default 0.25 square degrees) and a node-count limit, with a redirect to osm_capabilities for authoritative values. It omits what happens on exceeding the limit (error vs truncation) and the return format, which keeps it from a 5.

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 tight sentences with the operation stated first and the constraint second; no filler. The pointer to osm_capabilities keeps hardcoded limits from bloating the text.

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 four-parameter read-only download tool, the description covers the main failure mode (oversized boxes) and where to find exact quotas. Since there is no output schema, the absence of any statement about what is returned (format, size, pagination) is the remaining gap, but it is minor for a straightforward extract operation.

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 description coverage is 0%, so the description carries the burden, and it only indirectly informs the parameters via the area/node limits. The four names (min_lon, min_lat, max_lon, max_lat) are self-evident and the schema supplies numeric bounds, so meaning is not lost. However, it does not address coordinate order/format or how the area constraint maps to editing the corner values.

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: 'Download all data in a bounding box.' An agent can immediately tell this is a bulk-extract tool rather than a single-element fetch like osm_get_element. It does not explicitly contrast itself with osm_get_notes_in_bbox, which is the closest sibling by shape, so it falls just short of full differentiation.

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?

Guidance is implied rather than stated: 'keep boxes small' plus a pointer to osm_capabilities for the actual limits. There is no explicit when-to-use/when-not-to-use framing or a named alternative for retrieving data outside a bbox. It is adequate but leaves the agent to infer the selection rule.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.