Skip to main content
Glama

Affine Earth Math Court Remote

weather.convective_containment

Read-onlyIdempotent

Exact integer crossing-number containment of a declared 3D track (micro-degrees and feet) against convex or non-convex convective cell polygons and optional margin standoff. Zero floats.

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": {
      "track_micro_deg": "<track_micro_deg>",
      "cells": "<cells>"
    },
    "name": "weather.convective_containment"
  }
}

Input Schema

NameRequiredDescriptionDefault
cellsYes
track_micro_degYes
margin_micro_degNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • removedInput schema / properties / cells / description
      Removed value: -"declared convective cells: id, vertices, and layer as decimal strings. Declaring none returns NOT_MEASURED_NO_CONVECTIVE_CELLS_DECLARED, never CONTAINED. e.g. [{\"id\":\"SQUARE\",\"base_feet\":\"0\",\"top_feet\":\"40000\",\"vertices\":[{\"lat_micro_deg\":\"0\",\"lon_micro_deg\":\"0\"},{\"lat_micro_deg\":\"0\",\"lon_micro_deg\":\"30000\"},{\"lat_micro_deg\":\"30000\",\"lon_micro_deg\":\"30000\"},{\"lat_micro_deg\":\"30000\",\"lon_micro_deg\":\"0\"}]}]"
    • removedInput schema / properties / cells / items / properties / base_feet / description
      Removed value: -"decimal string, cell base altitude in feet, e.g. 0"
    • removedInput schema / properties / cells / items / properties / id / description
      Removed value: -"the cell id, e.g. SQUARE"
    • removedInput schema / properties / cells / items / properties / top_feet / description
      Removed value: -"decimal string, cell top altitude in feet, e.g. 40000"
    • removedInput schema / properties / cells / items / properties / vertices / description
      Removed value: -"three or more polygon vertices in micro-degrees, e.g. [{\"lat_micro_deg\":\"0\",\"lon_micro_deg\":\"0\"},{\"lat_micro_deg\":\"0\",\"lon_micro_deg\":\"30000\"},{\"lat_micro_deg\":\"30000\",\"lon_micro_deg\":\"30000\"},{\"lat_micro_deg\":\"30000\",\"lon_micro_deg\":\"0\"}]"
    • removedInput schema / properties / cells / items / properties / vertices / items / properties / lat_micro_deg / description
      Removed value: -"decimal string, vertex latitude in micro-degrees, e.g. 30000"
    • removedInput schema / properties / cells / items / properties / vertices / items / properties / lon_micro_deg / description
      Removed value: -"decimal string, vertex longitude in micro-degrees, e.g. 30000"
    • removedInput schema / properties / margin_micro_deg / description
      Removed value: -"optional standoff as decimal string in the same declared units; strict, so exactly this far away is contained. e.g. 1000"
    • removedInput schema / properties / track_micro_deg / description
      Removed value: -"lat_micro_deg,lon_micro_deg,alt_feet points as decimal strings; two or more, since this names a breaching SEGMENT. e.g. [{\"lat_micro_deg\":\"50000\",\"lon_micro_deg\":\"50000\",\"alt_feet\":\"30000\"},{\"lat_micro_deg\":\"50000\",\"lon_micro_deg\":\"80000\",\"alt_feet\":\"30000\"}]"
    • removedInput schema / properties / track_micro_deg / items / properties / alt_feet / description
      Removed value: -"decimal string, altitude in feet, e.g. 30000"
    • removedInput schema / properties / track_micro_deg / items / properties / lat_micro_deg / description
      Removed value: -"decimal string, latitude in micro-degrees, e.g. 50000"
    • removedInput schema / properties / track_micro_deg / items / properties / lon_micro_deg / description
      Removed value: -"decimal string, longitude in micro-degrees, e.g. 50000"
  2. Changed12 schema fields changed
    • addedInput schema / properties / cells / description
      Added value: +"declared convective cells: id, vertices, and layer as decimal strings. Declaring none returns NOT_MEASURED_NO_CONVECTIVE_CELLS_DECLARED, never CONTAINED. e.g. [{\"id\":\"SQUARE\",\"base_feet\":\"0\",\"top_feet\":\"40000\",\"vertices\":[{\"lat_micro_deg\":\"0\",\"lon_micro_deg\":\"0\"},{\"lat_micro_deg\":\"0\",\"lon_micro_deg\":\"30000\"},{\"lat_micro_deg\":\"30000\",\"lon_micro_deg\":\"30000\"},{\"lat_micro_deg\":\"30000\",\"lon_micro_deg\":\"0\"}]}]"
    • addedInput schema / properties / cells / items / properties / base_feet / description
      Added value: +"decimal string, cell base altitude in feet, e.g. 0"
    • addedInput schema / properties / cells / items / properties / id / description
      Added value: +"the cell id, e.g. SQUARE"
    • addedInput schema / properties / cells / items / properties / top_feet / description
      Added value: +"decimal string, cell top altitude in feet, e.g. 40000"
    • addedInput schema / properties / cells / items / properties / vertices / description
      Added value: +"three or more polygon vertices in micro-degrees, e.g. [{\"lat_micro_deg\":\"0\",\"lon_micro_deg\":\"0\"},{\"lat_micro_deg\":\"0\",\"lon_micro_deg\":\"30000\"},{\"lat_micro_deg\":\"30000\",\"lon_micro_deg\":\"30000\"},{\"lat_micro_deg\":\"30000\",\"lon_micro_deg\":\"0\"}]"
    • addedInput schema / properties / cells / items / properties / vertices / items / properties / lat_micro_deg / description
      Added value: +"decimal string, vertex latitude in micro-degrees, e.g. 30000"
    • addedInput schema / properties / cells / items / properties / vertices / items / properties / lon_micro_deg / description
      Added value: +"decimal string, vertex longitude in micro-degrees, e.g. 30000"
    • addedInput schema / properties / margin_micro_deg / description
      Added value: +"optional standoff as decimal string in the same declared units; strict, so exactly this far away is contained. e.g. 1000"
    • addedInput schema / properties / track_micro_deg / description
      Added value: +"lat_micro_deg,lon_micro_deg,alt_feet points as decimal strings; two or more, since this names a breaching SEGMENT. e.g. [{\"lat_micro_deg\":\"50000\",\"lon_micro_deg\":\"50000\",\"alt_feet\":\"30000\"},{\"lat_micro_deg\":\"50000\",\"lon_micro_deg\":\"80000\",\"alt_feet\":\"30000\"}]"
    • addedInput schema / properties / track_micro_deg / items / properties / alt_feet / description
      Added value: +"decimal string, altitude in feet, e.g. 30000"
    • addedInput schema / properties / track_micro_deg / items / properties / lat_micro_deg / description
      Added value: +"decimal string, latitude in micro-degrees, e.g. 50000"
    • addedInput schema / properties / track_micro_deg / items / properties / lon_micro_deg / description
      Added value: +"decimal string, longitude in micro-degrees, e.g. 50000"
  3. Changed12 schema fields changed
    • removedInput schema / properties / cells / description
      Removed value: -"declared convective cells: id, vertices, and layer as decimal strings. Declaring none returns NOT_MEASURED_NO_CONVECTIVE_CELLS_DECLARED, never CONTAINED. e.g. [{\"id\":\"SQUARE\",\"base_feet\":\"0\",\"top_feet\":\"40000\",\"vertices\":[{\"lat_micro_deg\":\"0\",\"lon_micro_deg\":\"0\"},{\"lat_micro_deg\":\"0\",\"lon_micro_deg\":\"30000\"},{\"lat_micro_deg\":\"30000\",\"lon_micro_deg\":\"30000\"},{\"lat_micro_deg\":\"30000\",\"lon_micro_deg\":\"0\"}]}]"
    • removedInput schema / properties / cells / items / properties / base_feet / description
      Removed value: -"decimal string, cell base altitude in feet, e.g. 0"
    • removedInput schema / properties / cells / items / properties / id / description
      Removed value: -"the cell id, e.g. SQUARE"
    • removedInput schema / properties / cells / items / properties / top_feet / description
      Removed value: -"decimal string, cell top altitude in feet, e.g. 40000"
    • removedInput schema / properties / cells / items / properties / vertices / description
      Removed value: -"three or more polygon vertices in micro-degrees, e.g. [{\"lat_micro_deg\":\"0\",\"lon_micro_deg\":\"0\"},{\"lat_micro_deg\":\"0\",\"lon_micro_deg\":\"30000\"},{\"lat_micro_deg\":\"30000\",\"lon_micro_deg\":\"30000\"},{\"lat_micro_deg\":\"30000\",\"lon_micro_deg\":\"0\"}]"
    • removedInput schema / properties / cells / items / properties / vertices / items / properties / lat_micro_deg / description
      Removed value: -"decimal string, vertex latitude in micro-degrees, e.g. 30000"
    • removedInput schema / properties / cells / items / properties / vertices / items / properties / lon_micro_deg / description
      Removed value: -"decimal string, vertex longitude in micro-degrees, e.g. 30000"
    • removedInput schema / properties / margin_micro_deg / description
      Removed value: -"optional standoff as decimal string in the same declared units; strict, so exactly this far away is contained. e.g. 1000"
    • removedInput schema / properties / track_micro_deg / description
      Removed value: -"lat_micro_deg,lon_micro_deg,alt_feet points as decimal strings; two or more, since this names a breaching SEGMENT. e.g. [{\"lat_micro_deg\":\"50000\",\"lon_micro_deg\":\"50000\",\"alt_feet\":\"30000\"},{\"lat_micro_deg\":\"50000\",\"lon_micro_deg\":\"80000\",\"alt_feet\":\"30000\"}]"
    • removedInput schema / properties / track_micro_deg / items / properties / alt_feet / description
      Removed value: -"decimal string, altitude in feet, e.g. 30000"
    • removedInput schema / properties / track_micro_deg / items / properties / lat_micro_deg / description
      Removed value: -"decimal string, latitude in micro-degrees, e.g. 50000"
    • removedInput schema / properties / track_micro_deg / items / properties / lon_micro_deg / description
      Removed value: -"decimal string, longitude in micro-degrees, e.g. 50000"
  4. Added
  5. Removed
  6. Changed12 schema fields changed
    • changedInput schema / properties / cells / description
      Previous value: -"declared convective cells: id, vertices, and layer as decimal strings. Declaring none returns NOT_MEASURED_NO_CONVECTIVE_CELLS_DECLARED, never CONTAINED"New value: +"declared convective cells: id, vertices, and layer as decimal strings. Declaring none returns NOT_MEASURED_NO_CONVECTIVE_CELLS_DECLARED, never CONTAINED. e.g. [{\"id\":\"SQUARE\",\"base_feet\":\"0\",\"top_feet\":\"40000\",\"vertices\":[{\"lat_micro_deg\":\"0\",\"lon_micro_deg\":\"0\"},{\"lat_micro_deg\":\"0\",\"lon_micro_deg\":\"30000\"},{\"lat_micro_deg\":\"30000\",\"lon_micro_deg\":\"30000\"},{\"lat_micro_deg\":\"30000\",\"lon_micro_deg\":\"0\"}]}]"
    • changedInput schema / properties / cells / items / properties / base_feet / description
      Previous value: -"decimal string"New value: +"decimal string, cell base altitude in feet, e.g. 0"
    • addedInput schema / properties / cells / items / properties / id / description
      Added value: +"the cell id, e.g. SQUARE"
    • changedInput schema / properties / cells / items / properties / top_feet / description
      Previous value: -"decimal string"New value: +"decimal string, cell top altitude in feet, e.g. 40000"
    • addedInput schema / properties / cells / items / properties / vertices / description
      Added value: +"three or more polygon vertices in micro-degrees, e.g. [{\"lat_micro_deg\":\"0\",\"lon_micro_deg\":\"0\"},{\"lat_micro_deg\":\"0\",\"lon_micro_deg\":\"30000\"},{\"lat_micro_deg\":\"30000\",\"lon_micro_deg\":\"30000\"},{\"lat_micro_deg\":\"30000\",\"lon_micro_deg\":\"0\"}]"
    • changedInput schema / properties / cells / items / properties / vertices / items / properties / lat_micro_deg / description
      Previous value: -"decimal string"New value: +"decimal string, vertex latitude in micro-degrees, e.g. 30000"
    • changedInput schema / properties / cells / items / properties / vertices / items / properties / lon_micro_deg / description
      Previous value: -"decimal string"New value: +"decimal string, vertex longitude in micro-degrees, e.g. 30000"
    • changedInput schema / properties / margin_micro_deg / description
      Previous value: -"optional standoff as decimal string in the same declared units; strict, so exactly this far away is contained"New value: +"optional standoff as decimal string in the same declared units; strict, so exactly this far away is contained. e.g. 1000"
    • changedInput schema / properties / track_micro_deg / description
      Previous value: -"lat_micro_deg,lon_micro_deg,alt_feet points as decimal strings; two or more, since this names a breaching SEGMENT"New value: +"lat_micro_deg,lon_micro_deg,alt_feet points as decimal strings; two or more, since this names a breaching SEGMENT. e.g. [{\"lat_micro_deg\":\"50000\",\"lon_micro_deg\":\"50000\",\"alt_feet\":\"30000\"},{\"lat_micro_deg\":\"50000\",\"lon_micro_deg\":\"80000\",\"alt_feet\":\"30000\"}]"
    • changedInput schema / properties / track_micro_deg / items / properties / alt_feet / description
      Previous value: -"decimal string"New value: +"decimal string, altitude in feet, e.g. 30000"
    • changedInput schema / properties / track_micro_deg / items / properties / lat_micro_deg / description
      Previous value: -"decimal string"New value: +"decimal string, latitude in micro-degrees, e.g. 50000"
    • changedInput schema / properties / track_micro_deg / items / properties / lon_micro_deg / description
      Previous value: -"decimal string"New value: +"decimal string, longitude in micro-degrees, e.g. 50000"
  7. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so safety is covered. The description adds genuinely useful behavior: exact integer arithmetic with 'zero floats', and support for both convex and non-convex polygons plus an optional margin standoff. It omits what the tool returns and how boundary/edge cases (vertices exactly on an edge) are resolved, which is the key behavioral question for a containment predicate.

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 the core operation front-loaded and no filler; the trailing 'Zero floats.' is short and carries a real precision guarantee. The density of jargon costs a bit of readability but nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a mathematically intricate tool with deeply nested inputs, 0% schema description coverage, and no output schema, so the description should explain the return value (boolean? per-cell hit list? vertical overlap?) and the vertical slab semantics. It instead leaves the result shape entirely unspecified, a real gap for a predicate tool.

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?

With schema description coverage at 0%, the description must carry the parameter burden; it tells the agent that coordinates are micro-degrees and vertical values are feet, and that the margin is an optional standoff, which correctly maps to all three parameters. It does not explain the nested cell fields (id, base_feet/top_feet as a vertical slab) or how the altitude component participates in the 3D containment test.

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 operation (integer crossing-number containment test) on specific resources (a 3D track vs. convective cell polygons), including the coordinate units. It does not differentiate from siblings, but the siblings listed are unrelated utilities, so the operation itself is unambiguous.

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 statement of when to use this versus anything else, no preconditions, and no exclusions. The narrowness of the operation implies its use case (point-in-polygon containment checks), but the agent must infer that entirely from the purpose sentence.

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