Skip to main content
Glama

Choose the most informative observation

plan_observation
Read-onlyIdempotent

Given azimuth/elevation tracks of one moving object, rank 1–64 proposed future observation series by predicted position uncertainty and declared cost. Assumes constant velocity, independent new errors and exact stations and clocks. Supply future times and noise, never candidate angles or a baseline. A forecast, not a measurement or visibility proof.

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": {
      "observations": "<observations>",
      "candidates": "<candidates>",
      "objective": "<objective>",
      "constraints": "<constraints>",
      "assumptions": "<assumptions>"
    },
    "name": "plan_observation"
  }
}

Input Schema

NameRequiredDescriptionDefault
objectiveYes
candidatesYes
assumptionsYes
constraintsYes
observationsYesOriginal angular observations; Rust computes the baseline fit and covariance itself.

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_fit": {
      -      "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"
      -        },
      -        "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"
      -      ],
      -      "type": "object"
      -    },
      -    "contract_version": {
      -      "const": "0.1.0",
      -      "type": "string"
      -    },
      -    "design": {
      -      "anyOf": [
      -        {
      -          "additionalProperties": false,
      -          "properties": {
      -            "baseline_position_covariance_km2": {
      -              "items": {
      -                "items": {
      -                  "type": "number"
      -                },
      -                "maxItems": 3,
      -                "minItems": 3,
      -                "type": "array"
      -              },
      -              "maxItems": 3,
      -              "minItems": 3,
      -              "type": "array"
      -            },
      -            "baseline_sigma_major_position_m": {
      -              "exclusiveMinimum": 0,
      -              "type": "number"
      -            },
      -            "candidates": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "cost_units": {
      -                    "maximum": 1000000000,
      -                    "minimum": 0,
      -                    "type": "number"
      -                  },
      -                  "id": {
      -                    "maxLength": 64,
      -                    "minLength": 1,
      -                    "pattern": "^[A-Za-z0-9_.-]+$",
      -                    "type": "string"
      -                  },
      -                  "predicted_position_covariance_km2": {
      -                    "anyOf": [
      -                      {
      -                        "items": {
      -                          "items": {
      -                            "type": "number"
      -                          },
      -                          "maxItems": 3,
      -                          "minItems": 3,
      -                          "type": "array"
      -                        },
      -                        "maxItems": 3,
      -                        "minItems": 3,
      -                        "type": "array"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "predicted_reduction_fraction": {
      -                    "type": [
      -                      "number",
      -                      "null"
      -                    ]
      -                  },
      -                  "predicted_sigma_major_position_m": {
      -                    "anyOf": [
      -                      {
      -                        "minimum": 0,
      -                        "type": "number"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "reason_codes": {
      -                    "items": {
      -                      "type": "string"
      -                    },
      -                    "type": "array"
      -                  },
      -                  "sample_count": {
      -                    "maximum": 120,
      -                    "minimum": 3,
      -                    "type": "integer"
      -                  },
      -                  "status": {
      -                    "enum": [
      -                      "admissible",
      -                      "rejected"
      -                    ],
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "id",
      -                  "status",
      -                  "reason_codes",
      -                  "cost_units",
      -                  "sample_count",
      -                  "predicted_sigma_major_position_m",
      -                  "predicted_position_covariance_km2",
      -                  "predicted_reduction_fraction"
      -                ],
      -                "type": "object"
      -              },
      -              "maxItems": 64,
      -              "minItems": 1,
      -              "type": "array"
      -            },
      -            "contract_version": {
      -              "const": "0.1.0",
      -              "type": "string"
      -            },
      -            "elapsed_ms": {
      -              "minimum": 0,
      -              "type": "number"
      -            },
      -            "evaluated_candidates": {
      -              "maximum": 64,
      -              "minimum": 1,
      -              "type": "integer"
      -            },
      -            "horizon_s": {
      -              "type": "number"
      -            },
      -            "limitations": {
      -              "items": {
      -                "type": "string"
      -              },
      -              "type": "array"
      -            },
      -            "prediction_kind": {
      -              "const": "conditional_local_linear_forecast",
      -              "type": "string"
      -            },
      -            "ranking": {
      -              "items": {
      -                "maxLength": 64,
      -                "minLength": 1,
      -                "pattern": "^[A-Za-z0-9_.-]+$",
      -                "type": "string"
      -              },
      -              "maxItems": 64,
      -              "type": "array"
      -            },
      -            "selected_candidate_id": {
      -              "anyOf": [
      -                {
      -                  "maxLength": 64,
      -                  "minLength": 1,
      -                  "pattern": "^[A-Za-z0-9_.-]+$",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "status": {
      -              "enum": [
      -                "ranked",
      -                "no_admissible_candidate"
      -              ],
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "contract_version",
      -            "status",
      -            "prediction_kind",
      -            "horizon_s",
      -            "baseline_sigma_major_position_m",
      -            "baseline_position_covariance_km2",
      -            "selected_candidate_id",
      -            "ranking",
      -            "candidates",
      -            "evaluated_candidates",
      -            "elapsed_ms",
      -            "limitations"
      -          ],
      -          "type": "object"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "elapsed_ms": {
      -      "minimum": 0,
      -      "type": "number"
      -    },
      -    "policy_trace": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "artifact_sha256": {
      -          "pattern": "^[a-f0-9]{64}$",
      -          "type": "string"
      -        },
      -        "evaluated_candidates": {
      -          "maximum": 64,
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "execution": {
      -          "enum": [
      -            "reference_small_workload",
      -            "cached_exact_fisher",
      -            "reference_policy_disabled",
      -            "not_executed"
      -          ],
      -          "type": "string"
      -        },
      -        "policy_id": {
      -          "const": "observation_exact_cached_fisher",
      -          "type": "string"
      -        },
      -        "policy_version": {
      -          "const": "0.3.0",
      -          "type": "string"
      -        },
      -        "requested_candidates": {
      -          "maximum": 64,
      -          "minimum": 1,
      -          "type": "integer"
      -        },
      -        "selection": {
      -          "const": "exhaustive_all_supplied",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "policy_id",
      -        "policy_version",
      -        "artifact_sha256",
      -        "selection",
      -        "execution",
      -        "requested_candidates",
      -        "evaluated_candidates"
      -      ],
      -      "type": "object"
      -    },
      -    "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": "plan_observation",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "tool",
      -        "server",
      -        "client",
      -        "identity_source",
      -        "model"
      -      ],
      -      "type": "object"
      -    },
      -    "reasons": {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "status": {
      -      "enum": [
      -        "predicted",
      -        "baseline_rejected"
      -      ],
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "contract_version",
      -    "status",
      -    "baseline_fit",
      -    "design",
      -    "reasons",
      -    "elapsed_ms",
      -    "provenance"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. Changed1 schema field changed
    • addedOutput schema / properties / policy_trace
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "artifact_sha256": {
      +      "pattern": "^[a-f0-9]{64}$",
      +      "type": "string"
      +    },
      +    "evaluated_candidates": {
      +      "maximum": 64,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "execution": {
      +      "enum": [
      +        "reference_small_workload",
      +        "cached_exact_fisher",
      +        "reference_policy_disabled",
      +        "not_executed"
      +      ],
      +      "type": "string"
      +    },
      +    "policy_id": {
      +      "const": "observation_exact_cached_fisher",
      +      "type": "string"
      +    },
      +    "policy_version": {
      +      "const": "0.3.0",
      +      "type": "string"
      +    },
      +    "requested_candidates": {
      +      "maximum": 64,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    "selection": {
      +      "const": "exhaustive_all_supplied",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "policy_id",
      +    "policy_version",
      +    "artifact_sha256",
      +    "selection",
      +    "execution",
      +    "requested_candidates",
      +    "evaluated_candidates"
      +  ],
      +  "type": "object"
      +}
  3. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the read-only/idempotent/non-destructive profile, but the description adds real behavioral context the annotations cannot: the constant-velocity model, independent new-error assumption, and exact stations/clocks assumption, plus the framing that output is a prediction rather than ground truth. It does not discuss ordering ties, failure modes, or what happens when no candidate satisfies the horizon/cost constraints.

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?

Four short sentences, each load-bearing: capability, modeling assumptions, input contract, and scope caveat. The ranking behavior is front-loaded and nothing repeats the schema or the title.

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 five-parameter nested tool with no output schema, the description supplies the modeling assumptions, input contract, and output shape (a ranked list of candidates) that an agent needs to call it correctly. Minor gaps remain around constraint interaction (cost cap vs. elevation floor) and how many candidates are returned.

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 only 20%, so the description must compensate, and it does partially: it clarifies that observations are az/el tracks, that candidates are future times plus noise (never angles), and that the horizon must follow the original observations. However, nested fields like cost_units, min_elevation_deg, and objective.horizon_s get no explanation beyond the schema, leaving real gaps at low coverage.

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?

States a specific verb and resource: rank 1–64 proposed future observation series by predicted position uncertainty and declared cost, given azimuth/elevation tracks. It also scopes itself against adjacent behaviors by declaring 'a forecast, not a measurement or visibility proof,' which separates it from assimilate_observation and stress_test_observation style tasks.

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?

Gives a clear precondition for use (one moving object with az/el tracks) and an explicit input rule: 'Supply future times and noise, never candidate angles or a baseline.' It excludes a whole misuse category but does not name a specific sibling to switch to when the task is measurement or visibility instead.

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