Skip to main content
Glama

bbox_summary

Counts key amenities within a geographic bounding box to provide a quick density overview for an area.

Instructions

Counts of key amenities inside a bounding box (a light density helper).

Units: all coordinates decimal degrees. min is south-west, max is north-east, so min_lat <= max_lat and min_lon <= max_lon are required. categories defaults to a sensible set when omitted. Example: bbox_summary(min_lat=3.14, min_lon=101.70, max_lat=3.16, max_lon=101.72)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_latYesLatitude in decimal degrees [-90, 90].
max_lonYesLongitude in decimal degrees [-180, 180].
min_latYesLatitude in decimal degrees [-90, 90].
min_lonYesLongitude in decimal degrees [-180, 180].
categoriesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
totalYes
max_latYesLatitude in decimal degrees [-90, 90].
max_lonYesLongitude in decimal degrees [-180, 180].
min_latYesLatitude in decimal degrees [-90, 90].
min_lonYesLongitude in decimal degrees [-180, 180].
by_categoryYes
Behavior4/5

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

With no annotations provided, the description carries the behavioral burden. It discloses coordinate units, the SW/NE convention, the required ordering constraints (min_lat <= max_lat, min_lon <= max_lon), and the default behavior of 'categories'. Return shape is not described, but an output schema exists.

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?

The description is compact and well-structured: purpose first, then units, coordinate conventions, constraints, default behavior, and a concrete example. Every sentence contributes useful information with 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 tool with no annotations and an output schema present, the description is nearly complete. It covers units, parameter semantics, defaults, and a calling example. The only notable gap is not explicitly distinguishing this from the related 'pois' sibling.

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 description coverage is 80%, so baseline is 3. The description adds genuinely useful semantics beyond the schema: all coordinates are decimal degrees, min is south-west, max is north-east, the inequality constraints are required, and categories has a sensible default. The example further clarifies parameter usage.

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?

The description states a clear specific action ('Counts of key amenities inside a bounding box') and identifies itself as a 'light density helper'. This clearly separates it from geocoding and routing siblings, though it does not explicitly contrast with the sibling 'pois' 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?

The context is reasonably clear: this is for quick amenity counts within a bounding box, and the example reinforces usage. However, there is no explicit guidance on when to choose this over alternatives such as 'pois', and no when-not-to-use conditions are stated.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/abangbroy/osm-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server