Skip to main content
Glama

Save a named version

save_version

Save the open diagram as a named version in My diagrams to compare or restore later, useful before a large rework. The diagram itself stays unchanged.

Instructions

Saves the open diagram as a named version in My diagrams, for the user to compare or restore later. Use it when asked or before a large rework. The diagram does not change.

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_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
noteNo
wholeMapNoAlso on every linked level of the map

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.5.1

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already declare destructiveHint=false and idempotentHint=false, and the description adds two pieces of context the annotations do not carry: the snapshot is stored in 'My diagrams' and the live diagram is left untouched ('The diagram does not change'). It does not explain what happens when the same name is reused, which is the notable gap given idempotentHint=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?

Three short sentences, front-loaded with what it does, then when to use it, then the reassurance about side effects. Nothing is redundant.

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

Completeness3/5

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

With no output schema, the definition never says what the caller gets back – a version identifier, a confirmation, or nothing – and it omits duplicate-name behavior, which matters for a non-idempotent write. For a simple snapshot tool it is close to adequate, but the mutation semantics are under-covered.

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

Parameters2/5

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

Schema description coverage is only 33% – just wholeMap is annotated – and the description does not compensate. It implies a name exists ('named version') but says nothing about the 1–120 character constraint or uniqueness, and never mentions the note parameter or what wholeMap's 'linked levels' means in practice.

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?

The description names a specific verb and resource ('Saves the open diagram as a named version') and states the destination ('in My diagrams') plus the downstream purpose (compare or restore later). That is far clearer than the bare title, though it never contrasts itself with the sibling list_versions tool.

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 real when-to-use guidance in two concrete cases: 'when asked' and 'before a large rework.' It does not state exclusions or point at a sibling such as list_versions for retrieving versions, so it stops short of a full when/when-not/alternatives treatment.

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