Skip to main content
Glama

x402-bearing

Bearing: Calculate the initial bearing (compass direction in degrees 0-360) between two GPS coordinates given lat1/lon1 and lat2/lon2. 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
lat1No
lat2No
lon1No
lon2No

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / properties / lat1 / description
      Removed value: -"Lat1 to process"
    • removedInput schema / properties / lat2 / description
      Removed value: -"Lat2 to process"
    • removedInput schema / properties / lon1 / description
      Removed value: -"Lon1 to process"
    • removedInput schema / properties / lon2 / description
      Removed value: -"Lon2 to process"
  2. Changed4 schema fields changed
    • addedInput schema / properties / lat1
      Added value: +{
      +  "description": "Lat1 to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / lat2
      Added value: +{
      +  "description": "Lat2 to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / lon1
      Added value: +{
      +  "description": "Lon1 to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / lon2
      Added value: +{
      +  "description": "Lon2 to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does add genuine behavioral context by disclosing the payment model ("5 free trial calls per signed wallet"), which tells the agent about cost and an auth/wallet requirement. However, it says nothing about the response shape, error behavior for identical coordinates, or whether calls fail once the trial is exhausted.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences with zero filler; the operation and output domain come first. The redundant "Bearing:" prefix merely restates the tool name, a minor waste.

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 small pure-calculation tool with no output schema and no annotations, this is close to sufficient: purpose, inputs, and output range are all covered. The remaining gap is input format and the unstated fact that no parameters are marked required.

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 coverage is 0% and all four parameters are plain strings, so the description must compensate. It does clarify the pairing by naming "lat1/lon1 and lat2/lon2", implying an origin/destination point, but it never states the expected format (decimal degrees as a string?), valid ranges, or that all parameters are currently optional.

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 gives a specific verb and resource ("Calculate the initial bearing") plus the output domain (compass direction in degrees 0-360), so the operation is unambiguous. It stops short of distinguishing itself from nearby siblings such as x402-compass-direction or x402-geo-distance, which an agent may see in the same list.

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 guidance on when to choose this over x402-compass-direction, x402-geo-distance, or x402-midpoint, and no stated preconditions. The only contextual note is a pricing/trial statement, which is not usage guidance.

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