Skip to main content
Glama

3D position from several observers

triangulate_tracks
Read-onlyIdempotent

Fit position/velocity from 2–4 supplied azimuth/elevation tracks using constant velocity in spherical ECEF and declared angular noise/clocks. Reports fit status and conditional local uncertainty; no object identification or calibrated accuracy.

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": {
      "observers": "<observers>"
    },
    "name": "triangulate_tracks"
  }
}

Input Schema

NameRequiredDescriptionDefault
observersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": false,
      -  "properties": {
      -    "baseline_km": {
      -      "minimum": 0,
      -      "type": "number"
      -    },
      -    "contract_version": {
      -      "const": "0.2.0",
      -      "type": "string"
      -    },
      -    "diagnostics": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "condition_ratio": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "cost_evaluations": {
      -          "maximum": 9007199254740991,
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "dof": {
      -          "maximum": 9007199254740991,
      -          "minimum": -9007199254740991,
      -          "type": "integer"
      -        },
      -        "iterations": {
      -          "maximum": 80,
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "low_elevation_samples": {
      -          "maximum": 9007199254740991,
      -          "minimum": 0,
      -          "type": "integer"
      -        }
      -      },
      -      "required": [
      -        "dof",
      -        "iterations",
      -        "cost_evaluations",
      -        "low_elevation_samples",
      -        "condition_ratio"
      -      ],
      -      "type": "object"
      -    },
      -    "elapsed_ms": {
      -      "minimum": 0,
      -      "type": "number"
      -    },
      -    "grid": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "end_s": {
      -          "type": "number"
      -        },
      -        "interpolated_samples": {
      -          "maximum": 9007199254740991,
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "points": {
      -          "maximum": 60,
      -          "minimum": 2,
      -          "type": "integer"
      -        },
      -        "start_s": {
      -          "type": "number"
      -        },
      -        "step_s": {
      -          "exclusiveMinimum": 0,
      -          "type": "number"
      -        }
      -      },
      -      "required": [
      -        "points",
      -        "start_s",
      -        "end_s",
      -        "step_s",
      -        "interpolated_samples"
      -      ],
      -      "type": "object"
      -    },
      -    "limitations": {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "observers": {
      -      "maximum": 4,
      -      "minimum": 2,
      -      "type": "integer"
      -    },
      -    "provenance": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "client": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "name": {
      -              "type": "string"
      -            },
      -            "version": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "name",
      -            "version"
      -          ],
      -          "type": "object"
      -        },
      -        "identity_source": {
      -          "type": "string"
      -        },
      -        "model": {
      -          "type": "null"
      -        },
      -        "server": {
      -          "const": "scorecompute",
      -          "type": "string"
      -        },
      -        "tool": {
      -          "const": "triangulate_tracks",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "tool",
      -        "server",
      -        "client",
      -        "identity_source",
      -        "model"
      -      ],
      -      "type": "object"
      -    },
      -    "reasons": {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "residuals": {
      -      "anyOf": [
      -        {
      -          "additionalProperties": false,
      -          "properties": {
      -            "max_deg": {
      -              "minimum": 0,
      -              "type": "number"
      -            },
      -            "per_observer": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "index": {
      -                    "maximum": 3,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "max_deg": {
      -                    "minimum": 0,
      -                    "type": "number"
      -                  },
      -                  "rms_deg": {
      -                    "minimum": 0,
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "index",
      -                  "rms_deg",
      -                  "max_deg"
      -                ],
      -                "type": "object"
      -              },
      -              "maxItems": 4,
      -              "minItems": 2,
      -              "type": "array"
      -            },
      -            "total_rms_deg": {
      -              "minimum": 0,
      -              "type": "number"
      -            }
      -          },
      -          "required": [
      -            "total_rms_deg",
      -            "max_deg",
      -            "per_observer"
      -          ],
      -          "type": "object"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "state": {
      -      "anyOf": [
      -        {
      -          "additionalProperties": false,
      -          "properties": {
      -            "covariance_ecef": {
      -              "items": {
      -                "items": {
      -                  "type": "number"
      -                },
      -                "maxItems": 6,
      -                "minItems": 6,
      -                "type": "array"
      -              },
      -              "maxItems": 6,
      -              "minItems": 6,
      -              "type": "array"
      -            },
      -            "covariance_parameter_units": {
      -              "additionalItems": false,
      -              "items": [
      -                {
      -                  "const": "km",
      -                  "type": "string"
      -                },
      -                {
      -                  "const": "km",
      -                  "type": "string"
      -                },
      -                {
      -                  "const": "km",
      -                  "type": "string"
      -                },
      -                {
      -                  "const": "km/s",
      -                  "type": "string"
      -                },
      -                {
      -                  "const": "km/s",
      -                  "type": "string"
      -                },
      -                {
      -                  "const": "km/s",
      -                  "type": "string"
      -                }
      -              ],
      -              "maxItems": 6,
      -              "minItems": 6,
      -              "type": "array"
      -            },
      -            "frame": {
      -              "type": "string"
      -            },
      -            "heading_deg": {
      -              "maximum": 360,
      -              "minimum": 0,
      -              "type": "number"
      -            },
      -            "position_ecef_km": {
      -              "additionalItems": false,
      -              "items": [
      -                {
      -                  "type": "number"
      -                },
      -                {
      -                  "type": "number"
      -                },
      -                {
      -                  "type": "number"
      -                }
      -              ],
      -              "maxItems": 3,
      -              "minItems": 3,
      -              "type": "array"
      -            },
      -            "position_sigma_km": {
      -              "additionalItems": false,
      -              "items": [
      -                {
      -                  "minimum": 0,
      -                  "type": "number"
      -                },
      -                {
      -                  "minimum": 0,
      -                  "type": "number"
      -                },
      -                {
      -                  "minimum": 0,
      -                  "type": "number"
      -                }
      -              ],
      -              "maxItems": 3,
      -              "minItems": 3,
      -              "type": "array"
      -            },
      -            "reduced_chi2": {
      -              "minimum": 0,
      -              "type": "number"
      -            },
      -            "speed_kmh": {
      -              "minimum": 0,
      -              "type": "number"
      -            },
      -            "t_ref_s": {
      -              "type": "number"
      -            },
      -            "uncertainty_model": {
      -              "type": "string"
      -            },
      -            "velocity_km_s": {
      -              "additionalItems": false,
      -              "items": [
      -                {
      -                  "type": "number"
      -                },
      -                {
      -                  "type": "number"
      -                },
      -                {
      -                  "type": "number"
      -                }
      -              ],
      -              "maxItems": 3,
      -              "minItems": 3,
      -              "type": "array"
      -            },
      -            "velocity_sigma_km_s": {
      -              "additionalItems": false,
      -              "items": [
      -                {
      -                  "minimum": 0,
      -                  "type": "number"
      -                },
      -                {
      -                  "minimum": 0,
      -                  "type": "number"
      -                },
      -                {
      -                  "minimum": 0,
      -                  "type": "number"
      -                }
      -              ],
      -              "maxItems": 3,
      -              "minItems": 3,
      -              "type": "array"
      -            },
      -            "vertical_rate_m_s": {
      -              "type": "number"
      -            }
      -          },
      -          "required": [
      -            "t_ref_s",
      -            "frame",
      -            "position_ecef_km",
      -            "velocity_km_s",
      -            "position_sigma_km",
      -            "velocity_sigma_km_s",
      -            "covariance_ecef",
      -            "covariance_parameter_units",
      -            "uncertainty_model",
      -            "speed_kmh",
      -            "heading_deg",
      -            "vertical_rate_m_s",
      -            "reduced_chi2"
      -          ],
      -          "type": "object"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "status": {
      -      "enum": [
      -        "estimated",
      -        "inconsistent",
      -        "degenerate",
      -        "no_convergence"
      -      ],
      -      "type": "string"
      -    },
      -    "trajectory": {
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "altitude_m": {
      -            "type": "number"
      -          },
      -          "latitude_deg": {
      -            "maximum": 90,
      -            "minimum": -90,
      -            "type": "number"
      -          },
      -          "longitude_deg": {
      -            "maximum": 180,
      -            "minimum": -180,
      -            "type": "number"
      -          },
      -          "ranges_km": {
      -            "items": {
      -              "minimum": 0,
      -              "type": "number"
      -            },
      -            "maxItems": 4,
      -            "minItems": 2,
      -            "type": "array"
      -          },
      -          "t_s": {
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "t_s",
      -          "latitude_deg",
      -          "longitude_deg",
      -          "altitude_m",
      -          "ranges_km"
      -        ],
      -        "type": "object"
      -      },
      -      "maxItems": 60,
      -      "type": "array"
      -    }
      -  },
      -  "required": [
      -    "contract_version",
      -    "status",
      -    "reasons",
      -    "observers",
      -    "baseline_km",
      -    "grid",
      -    "state",
      -    "trajectory",
      -    "residuals",
      -    "diagnostics",
      -    "elapsed_ms",
      -    "limitations",
      -    "provenance"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's job is to add method and caveats — which it does: it discloses the estimator model, that noise and clocks must be declared by the caller, and that uncertainty is 'conditional local' rather than calibrated truth. The one gap is that the meaning of 'fit status' (failure modes, degenerate geometry) is never explained.

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 dense sentences with no filler, and the core operation plus its inputs are front-loaded before the disclaimers. The phrasing is jargon-heavy but every clause carries technical content.

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?

For a genuinely complex geometric estimator with a deeply nested schema and no output schema, the description covers the model and safety caveats but omits return-shape specifics (what fit statuses exist, uncertainty frame/units) and the per-observer sample constraints. Adequate to attempt a call, not enough to interpret the result confidently.

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 effectively 0% for the top-level structure, so the description must carry the load; it correctly signals that angular noise and clock offsets are caller-declared inputs and that 2–4 observers are required. It says nothing about fields like elevation_m, lat/lon limits, the 3-sample minimum per observer, or the strictly-increasing time requirement, which are left entirely to the raw schema.

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 verb and resource — 'Fit position/velocity from 2–4 supplied azimuth/elevation tracks' — plus the underlying model (constant velocity in spherical ECEF). It also bounds the scope by denying object identification and calibrated accuracy, which separates it from sibling estimation tools. It stops short of naming which sibling to prefer, so 4 rather than 5.

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 input contract ('2–4 supplied azimuth/elevation tracks' with 'declared angular noise/clocks') implies when the tool applies, and the trailing negatives tell the agent what it will not deliver. However, there is no explicit when-to-use routing against alternatives such as analyze_kinematics, check_shadow_track, or propagate_uncertainty, leaving the agent to infer selection.

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