Skip to main content
Glama
GIS MCP Server
by mahdin75

dynamic_lisa

Compute directional LISA statistics and Rose diagrams for regional value panels from a shapefile to reveal spatial clusters and directional patterns.

Instructions

Directional LISA (Rose diagram) for a panel of regional values.

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": {
      "shapefile_path": "<shapefile_path>",
      "value_columns": "<value_columns>"
    },
    "name": "dynamic_lisa"
  }
}

Input Schema

NameRequiredDescriptionDefault
kNo
drop_naNo
relativeNo
target_crsNoEPSG:4326
alternativeNotwo.sided
permutationsNo
value_columnsYes
shapefile_pathYes
weights_methodNoqueen
distance_thresholdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.16.0
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "type": "object"
      -}New value: +null
  2. Addedv1.0.0

TDQS

C2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It mentions the Rose diagram output, but does not disclose that this is a permutation-based local spatial association method, what significance testing or weights choices imply, whether it writes files, or what computational costs are involved.

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

Conciseness2/5

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

The single sentence is front-loaded and free of filler, but it is under-specified rather than appropriately concise. It omits the operational verb and all parameter or behaviour context needed for a 10-parameter tool.

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

Completeness1/5

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

This is a complex spatial-statistics tool with 10 parameters, no annotations, no output schema, and 0% schema description coverage. The description supplies almost none of the context an agent would need to invoke it correctly.

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?

The input schema has 10 parameters with 0% schema description coverage, and the description does not explain any of them. Critical parameters such as shapefile_path, value_columns, weights_method, permutations, alternative, and target_crs receive no semantic clarification at all.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the method and output visualisation ('Directional LISA (Rose diagram)'), which identifies a specific spatial-statistics operation. However, it does not use a clear verb such as compute or generate, and 'panel of regional values' is vague about the input scope. It also does not distinguish this from siblings like gearys_c or gamma_statistic.

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 guidance on when to use this tool, when not to use it, or which sibling alternatives are appropriate. An agent must infer its role from the method name alone.

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