Skip to main content
Glama

Distance between two places or coordinates

distance_between_places
Read-only

Distance between two places or coordinates. Distance between two places. Distance between any two places: coordinates, cities ("Paris, FR") or airport codes (MAD, JFK). Ellipsoidal (Vincenty) km, miles and nautical miles, bearing, compass, midpoint, flight time estimate and distance matrices.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesSame formats as from (e.g. JFK)
fromYesCoordinates (40.4168,-3.7038), city (Madrid, ES) or airport code (MAD) (e.g. MAD)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld safety, but the description adds real value by disclosing the computation method (Vincenty ellipsoidal) and the rich result set: km/miles/nautical miles, bearing, compass, midpoint, flight time, and distance matrices. This tells the agent what it gets back beyond the safety profile.

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?

The first two sentences redundantly restate the title/name ('Distance between two places or coordinates. Distance between two places.'), wasting prime front-loaded space. The later sentences do carry useful content, but the definition is padded.

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?

With no output schema, the description responsibly enumerates the return fields and input formats, which is what an agent needs to call and interpret the tool. It stops short of any usage routing against sibling tools, which is the main remaining gap.

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% and both parameters are documented with examples (coordinates, city, airport code). The description restates the accepted formats but adds no syntax or constraint detail beyond what the schema already provides, so baseline 3 applies.

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 names a specific computation (distance) between two named inputs and enumerates accepted input formats. However, it never distinguishes itself from the close sibling airport_distance, so an agent cannot tell which one to pick without opening both.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance and no alternative tool is named, despite airport_distance being an obvious overlapping sibling. The only implied guidance is the general capability itself.

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