Skip to main content
Glama

geolocate

Invert physical observations at a known UTC timestamp to feasible Earth coordinates or regions. When flat ground and both solar direction (sun_azimuth_deg or shadow_bearing_deg) and solar elevation (sun_altitude_deg or shadow_length_ratio) are given, solves an analytical closed-form celestial navigation fix with damped Gauss-Newton refinement and covariance uncertainty radius (method: 'analytical'). For any other observable combination (Sun+Moon, bright-limb angle, twilight, visible planets, or sloped terrain), sweeps a global spherical grid with antimeridian-wrapping cluster refinement (method: 'grid'). Returns subsolar and sublunar ground points plus ranked candidate regions classified as point, arc, or band.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "date": "<date>",
      "observed": "<observed>"
    },
    "name": "geolocate"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesKnown UTC ISO date-time of the observation (convert from local first)
bortleNoDark-sky class 1-9 for naked-eye planet visibility thresholds
lat_maxNoMaximum search latitude in degrees (default 70)
lat_minNoMinimum search latitude in degrees (default -70)
lon_maxNoMaximum search longitude in degrees east (default 180)
lon_minNoMinimum search longitude in degrees east (default -180)
observedYesPhysical observations to invert to Earth coordinates (at least one constraint required)
slope_degNoLocal terrain slope angle in degrees from horizontal (0..90; default 0)
elevation_mNoObserver elevation above sea level in meters (default 0)
grid_step_degNoSpherical grid spacing in degrees for grid mode (default 4)
max_candidatesNoMaximum candidate regions to return (default 12)
slope_azimuth_degNoDownhill compass azimuth of sloped terrain in degrees clockwise from true north (default 0)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does well: it discloses the solver algorithm (closed-form plus damped Gauss-Newton), the covariance uncertainty radius, antimeridian-wrapping cluster refinement, and the point/arc/band classification of returned candidates. It stops short of describing cost, determinism, or failure behavior for the grid sweep, which would matter for a global search.

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?

Three dense sentences that are front-loaded with the core purpose and then the mode-selection rule. No filler, though the jargon-heavy phrasing and long parenthetical lists make it heavier than necessary for an agent skimming for the trigger condition.

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 12-parameter tool with a nested observation object, no annotations and no output schema, the description covers the essential decision points: which mode fires, what inputs select it, and at a high level what comes back (subsolar/sublunar points plus ranked point/arc/band candidates). Return-value detail and error/cost characteristics are the remaining gaps.

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 baseline is 3. The description does add one genuinely useful semantic layer by grouping parameters into condition pairs ('sun_azimuth_deg or shadow_bearing_deg' for direction, 'sun_altitude_deg or shadow_length_ratio' for elevation) and tying 'flat ground' to the slope parameter. Beyond that it mostly restates what the schema already documents.

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 opens with a specific verb and resource: 'Invert physical observations at a known UTC timestamp to feasible Earth coordinates or regions.' That is far more precise than a tautology and even distinguishes the two solving modes. It does not, however, contrast itself with any sibling (e.g. chronolocate or sky_view), so an agent must infer where this fits in the broader catalog.

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

Usage Guidelines4/5

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

It gives explicit routing between its own modes: analytical when flat ground plus solar direction and elevation are supplied, grid for 'any other observable combination' (Sun+Moon, bright-limb, twilight, planets, sloped terrain). What is missing is guidance on when to reach for this tool versus sibling tools, and no explicit exclusions are stated.

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.