Skip to main content
Glama

Delete a version

neme_delete_version
DestructiveIdempotent

Permanently deletes one specified game version to free storage; irreversible, requires explicit version choice, and refuses the live version while leaving other versions and the game untouched.

Instructions

Delete one version of a game for good, giving its storage back. It cannot be undone and asks for no confirmation, so call it only when the developer has said which version to delete; neme_versions shows the candidates. The version players are on is refused: to remove it, first make another live with neme_promote. Other versions and the game itself are untouched. Uses the same token as neme_publish. Returns the version deleted and the storage freed. Fails, changing nothing, if there is no such version.

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

Input Schema

NameRequiredDescriptionDefault
dirNoThe project folder: the one holding neme.json. Absolute, or relative to the folder this server was started in. Default: that folder.
versionYesThe version's number, as neme_versions lists it (v3 is 3).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.7.0
    • addedInput schema / properties / dir / description
      Added value: +"The project folder: the one holding neme.json. Absolute, or relative to the folder this server was started in. Default: that folder."
    • addedInput schema / properties / version / description
      Added value: +"The version's number, as neme_versions lists it (v3 is 3)."
  2. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag destructive=true and idempotent=true, but the description adds real context beyond them: no confirmation prompt, irreversibility, refusal of the currently-live version, guarantee that other versions and the game are untouched, atomic failure when the version is absent, and the auth requirement (same token as neme_publish). It also states the return payload, which no output schema provides.

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?

Front-loaded with the destructive warning and the precondition, then failure and return behavior. Every sentence carries information, though the authorization sentence ('Uses the same token as neme_publish') sits awkwardly between behavioral guarantees and could be merged or reordered for tighter flow.

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?

For a two-parameter destructive tool with no output schema, the description covers what is destroyed, what is preserved, what happens on failure, what is returned, and how the target version is identified. Nothing an agent needs to call it safely 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 both parameters are already documented, and the description largely restates them ('which version to delete'). It does add one genuine semantic constraint the schema lacks: the live version number is rejected by this tool, which changes how an agent chooses the argument.

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 ('Delete one version of a game') and immediately scopes it: destroys storage, permanent, targets one version only. An agent can distinguish it from neme_promote, neme_versions, and neme_publish without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit precondition ('only when the developer has said which version to delete'), points to neme_versions for candidate discovery, and names the exclusion case (the live version) plus the alternative route (neme_promote). When-to-use, when-not, and alternatives are all present.

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