Skip to main content
Glama

Destination

destination
Read-onlyIdempotent

Given a start lat/lon, a bearing (degrees) and a distance, compute the destination point. unit = km (default), mi, nmi, m or ft.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latYesStart latitude (decimal degrees).
lonYesStart longitude.
unitNoDistance unit: km (default), mi, nmi, m, ft.
bearingYesInitial bearing in degrees (0=N, 90=E).
distanceYesDistance to travel.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "bearing": 45,
      +    "distance": 100,
      +    "lat": 40.7128,
      +    "lon": -74.006
      +  },
      +  {
      +    "bearing": 180,
      +    "distance": 50,
      +    "lat": 51.5074,
      +    "lon": -0.1278,
      +    "unit": "mi"
      +  }
      +]
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare the tool as readOnly, openWorld, idempotent, and non-destructive. The description adds the mathematical context of computing a destination point and default units, which enhances transparency without contradiction.

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?

A single, well-structured sentence that states the purpose and key parameters upfront. No extraneous words; every part earns its place.

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?

While parameters are fully covered and the tool is simple, the description lacks explicit mention of the output format (e.g., returns a lat/lon point). For a geospatial computation, this omission could require inference.

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 coverage is 100% and each parameter is described. The description adds value by grouping parameter meanings, stating default unit (km), and clarifying bearing orientation (0=N, 90=E), which goes beyond the schema examples.

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 verb 'compute' and the resource 'destination point', with explicit inputs (start lat/lon, bearing, distance). It distinguishes itself from sibling tools like 'distance' which computes distance between two points.

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 for finding an endpoint given start, bearing, and distance, but does not explicitly state when to use this tool versus alternatives like 'distance' or when not to use it.

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.