Skip to main content
Glama

Save a scenario

save_scenario

Save a scenario in one of your projects, where its team sees it on the website: a name, an area (a GeoJSON polygon, optional) and Marxan settings that run_scenario then uses. Side effect: adds a scenario; nothing is overwritten or deleted. Needs a verified sign-in and a place on the project's team.

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

Input Schema

NameRequiredDescriptionDefault
blmNoBoundary length modifier: higher gives more compact reserves (default 1000)
nameYes
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
project_idNo
target_pctNoOne target for every habitat, in % of its total (instead of the standard targets)
descriptionNo
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.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false; the description goes further by spelling out the exact side effect ('adds a scenario; nothing is overwritten or deleted') and the authorization requirements (verified sign-in, team membership). It also discloses the visibility consequence that the team sees it on the website. It does not cover failure modes or the response, which keeps it below 5.

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?

Three sentences, purpose front-loaded, with the side effect and prerequisites following in a logical order. The opening sentence is dense and runs long, packing payload contents and the run_scenario relationship into one clause, but no sentence is filler.

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 11-parameter creation tool with no output schema, the definition covers intent, prerequisites, side effect, and downstream use, which is enough to call it correctly. Gaps remain around what is returned (e.g., a scenario id) and behavior on invalid settings or missing team membership, but these are secondary.

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?

Schema description coverage is 73%, so most individual parameters (blm, reps, target_pct, target_scale, protect, leave_open) already carry their own explanations and defaults. The description only groups the payload into 'name, area, Marxan settings' and adds no format or constraint detail for those fields, so it neither compensates for nor meaningfully extends the schema.

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 and resource ('Save a scenario in one of your projects') and enumerates the payload it carries: a name, an optional GeoJSON area, and Marxan settings. It also distinguishes itself from the sibling run_scenario by stating those settings are what 'run_scenario then uses', so an agent can tell saving from executing without opening either 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 gives clear preconditions for use: a verified sign-in and a place on the project's team, plus the ordering hint that run_scenario consumes what is saved here. It stops short of naming a when-not-to-use case or pointing at list_scenarios/create_project for adjacent intents, so it is strong context without full alternative routing.

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