Skip to main content
Glama

Run the protection options (Marxan)

simulate
Read-only

Run the Marxan optimiser on Biohotspot's planning data (Exmouth Gulf, Western Australia, for now): the cheapest set of planning squares that meets every habitat target. polygon protects the squares mostly inside it (unless protect is given); the other settings change targets, compactness and what stays open. Takes a few seconds; returns the summary, each habitat's result and the best solution. Nothing is saved: use save_scenario and run_scenario to keep a run in a project.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "simulate"
  }
}

Input Schema

NameRequiredDescriptionDefault
blmNoBoundary length modifier: higher gives more compact reserves (default 1000)
repsNoRuns, 1-20 (default 5)
polygonNoA GeoJSON Polygon (WGS84)
protectNoPlanning-square ids always included (understand_area returns an area's as `pus`)
leave_openNoPlanning-square ids never included
target_pctNoOne target for every habitat, in % of its total (instead of the standard targets)
target_scaleNoMultiply the standard habitat targets, 0-20 (default 1; 0.5 = half)
area_target_pctNoAlso cover this % of the planning area

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / area_target_pct
      Added value: +{
      +  "description": "Also cover this % of the planning area",
      +  "type": "number"
      +}
    • addedInput schema / properties / blm
      Added value: +{
      +  "description": "Boundary length modifier: higher gives more compact reserves (default 1000)",
      +  "type": "number"
      +}
    • addedInput schema / properties / leave_open
      Added value: +{
      +  "description": "Planning-square ids never included",
      +  "items": {
      +    "type": "integer"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / polygon
      Added value: +{
      +  "description": "A GeoJSON Polygon (WGS84)",
      +  "type": "object"
      +}
    • addedInput schema / properties / protect / description
      Added value: +"Planning-square ids always included (understand_area returns an area's as `pus`)"
    • addedInput schema / properties / target_pct / description
      Added value: +"One target for every habitat, in % of its total (instead of the standard targets)"
    • addedInput schema / properties / target_scale
      Added value: +{
      +  "description": "Multiply the standard habitat targets, 0-20 (default 1; 0.5 = half)",
      +  "type": "number"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, destructiveHint=false. The description adds operational context beyond them: it takes a few seconds, returns the summary plus each habitat's result and the best solution, and nothing persists. It stops short of noting determinism/seeding or limits on reps, which keeps it from a 5.

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?

Front-loaded and dense: sentence one covers operation plus what is optimised, sentence two covers key parameter behavior, sentence three covers runtime and return, sentence four covers persistence. No filler clauses.

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 an 8-parameter tool with no output schema but full schema coverage, it covers purpose, approximate return contents, runtime, and persistence behavior. A note on determinism or result size would complete it, but nothing needed to invoke it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns more by explaining that polygon protects squares mostly inside it unless protect is given, and that the remaining settings change targets, compactness and what stays open. The polygon/protect interaction is real semantic value beyond the schema text.

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: runs the Marxan optimiser on Biohotspot planning data and returns the cheapest set of planning squares meeting every habitat target. It names the domain, the output shape, and distinguishes itself from save_scenario/run_scenario by framing those as the persistence path.

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?

Clear positive routing: use this to run the optimisation, and explicitly 'Nothing is saved: use save_scenario and run_scenario to keep a run in a project.' It does not say when to prefer this over compare_runs or look_in_area, but the when-to-use and follow-on path are stated.

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