Skip to main content
Glama

measure

Determine distance or area between geographic coordinates, returning the value in unit and an optional map display with segment IDs.

Instructions

Measure distance or area between geographic coordinate tuples. Returns { success, data: { mode, value, unit, segments?, id? }, message? }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoCustom measurement entity ID
modeYesMeasurement mode: distance or area
positionsYesCoordinate array [[lon, lat, alt?], ...]
sessionIdNoTarget browser session ID for multi-browser routing (optional)
showOnMapNoWhether to display measurement result on map

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
errorNo
messageNo
successYes
Behavior3/5

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

The description discloses the return structure, which adds context beyond annotations. However, it does not mention potential side effects such as displaying on a map (showOnMap parameter) or session context. Annotations are all false, so the description carries the burden but only partially covers behavior.

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 concise with a single sentence stating the purpose, followed by the return format. All sentences are informative with no redundancy.

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 5-parameter tool with a rich schema and output schema, the description is mostly complete. It could benefit from clarifying units or the minimum positions for area, but overall it provides sufficient context.

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 100%, so the schema fully documents the parameters. The description does not add additional parameter semantics beyond restating the purpose.

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?

The description clearly states the tool measures distance or area between coordinate tuples, using a specific verb and resource. This distinguishes it from sibling tools with no ambiguity.

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 description implies usage when measurement is needed, but does not explicitly provide when-to-use guidance or contrast with alternatives. The purpose is clear enough that no alternative tool is obvious, but explicit guidance is missing.

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/gaopengbin/cesium-mcp'

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