Skip to main content
Glama

Run a saved scenario (Marxan)

run_scenario

Run Marxan for one of your saved scenarios with its saved settings (any setting given here replaces the saved one for this run) and keep the run with the scenario, as the website does. Takes a few seconds to a minute; returns the run's summary and each habitat's result. Side effect: adds a run; nothing is overwritten. Only the person who saved the scenario can run it.

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": {
      "scenario_id": "<scenario_id>"
    },
    "name": "run_scenario"
  }
}

Input Schema

NameRequiredDescriptionDefault
blmNoBoundary length modifier: higher gives more compact reserves (default 1000)
repsNoRuns, 1-20 (default 5)
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)
scenario_idYes
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. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (which only say not read-only, not destructive, closed-world), the description discloses runtime (seconds to a minute), return contents (run summary plus each habitat's result), the side effect (adds a run, nothing overwritten), and an authorization constraint (only the scenario's owner can run it). These are exactly the facts an agent needs and are consistent with destructiveHint=false.

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 with zero filler; the override rule is stated inline with the main action, and the side effect, latency, and permission caveat follow in priority order.

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

Completeness5/5

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

With no output schema and a mutation-style tool, the description compensates by covering return contents, latency, persistence semantics, non-destructiveness, and the ownership prerequisite. Nothing an agent needs in order to invoke it correctly appears to be 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 88%, so most parameters are already documented in the schema. The description still adds a semantic rule not expressible in the schema: any setting supplied here overrides the saved setting for this run only, which clarifies how all eight parameters interact with stored state.

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?

The description names a specific verb (run Marxan) and resource (one of your saved scenarios), plus the persistence behavior of the resulting run. An agent can distinguish this from save_scenario or compare_runs without opening the schema.

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?

It states the context clearly: run a saved scenario with its saved settings, with per-call overrides replacing saved values for this run only. It does not explicitly name alternatives (e.g. simulate, compare_runs) or exclusion conditions, so the when-not guidance is absent.

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