Skip to main content
Glama

Tool Detect Extraction Anomalies

tool_detect_extraction_anomalies

Detects candidate sand/gravel extraction anomalies from Sentinel-2 river imagery, filtering natural flow, bank migration, vegetation, and cloud-shadow changes to support reproducible audits.

Instructions

Detecta polígonos de anomalías morfológicas candidatas filtrando cambios fluviales naturales.

Aplica controles de crecida/bajante uniforme, dipolos de migración natural de bancos de arena, fenología ribereña y máscara de nubes/sombras SCL, emitiendo métricas de incertidumbre.

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": {
      "t0_path": "<t0_path>",
      "t1_path": "<t1_path>"
    },
    "name": "tool_detect_extraction_anomalies"
  }
}

Input Schema

NameRequiredDescriptionDefault
t0_pathYes
t1_pathYes
stage_t0_mNo
stage_t1_mNo
min_area_m2No
t0_swir_20m_pathNo
t1_swir_20m_pathNo
min_clearing_area_m2No
max_discarded_recordsNo

Output Schema

NameRequiredDescriptionDefault
crsYesDefinición del sistema de referencia espacial (CRS84).
typeNoTipo GeoJSON.FeatureCollection
featuresNoLista de features GeoJSON de anomalías detectadas.
metadataNoMetadatos cuantitativos de la detección (escenas T0/T1, controles hidrológicos, conteos).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses internal filtering behavior (uniform flood/ebb controls, sandbank migration dipoles, riparian phenology, SCL cloud/shadow masking) and that uncertainty metrics are emitted, but it omits operational details such as input assumptions, coordinate-system expectations, and failure modes.

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

Conciseness3/5

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

The description is compact and front-loads the purpose in the first sentence. However, the second sentence is a dense jargon list with no parameter names or structure, reducing clarity for an agent trying to connect behavior to inputs.

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?

For a complex nine-parameter analysis tool with no annotations and 0% schema description coverage, the description is incomplete. It explains the conceptual filtering pipeline but leaves critical input semantics and operational requirements undocumented, even though an output schema exists to cover return values.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description does not map any of the nine parameters to meaning. Terms like flood/ebb and cloud masking hint at stage and SWIR inputs, but the required t0_path, t1_path, area thresholds, SWIR paths, and record-discard limit are left unexplained.

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?

States a specific verb and resource: detecting candidate morphological anomaly polygons while filtering natural fluvial changes. The purpose is clear, though the jargon-heavy phrasing and lack of explicit sibling differentiation keep it below 5.

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?

The description explains what the tool detects but gives no explicit when-to-use guidance, prerequisites, or alternatives such as the spectral-change or pilot-evaluation siblings. Usage is only implied by the purpose statement.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.