Skip to main content
Glama

delete_level

Remove a floor from a Dungeondraft battle map by its ID; deletion is permanent and blocked when it would leave the map with no levels.

Instructions

Delete a level (floor) by its id (see list_levels). Not undoable.

Refused when it would remove the map's only level.

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

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and delivers the two most important traits: the action is irreversible ('Not undoable') and it is refused in a specific edge case. It omits permissions/auth requirements and what a successful response looks like.

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?

Two short sentences, each carrying distinct information (identity + irreversibility/refusal rule), with the destructive warning front-loaded after the purpose. No 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 a single-parameter destructive tool with no annotations or output schema, the definition covers purpose, id sourcing, irreversibility, and the key failure condition. Only the return/confirmation behavior is left unstated, which is minor.

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 0% (bare 'Id' title), so the description must supply meaning — it identifies the parameter as the level's id and directs the agent to list_levels to obtain valid values. It stops short of stating the integer type or format, but the semantic origin of the value is covered.

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 a level (floor) by its id') and disambiguates 'level' with 'floor'. An agent can distinguish this from element-level deletions and knows the identifier source via list_levels.

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?

Points the agent to list_levels for obtaining the id and states a concrete precondition for refusal (only level on the map). It does not contrast with siblings like set_level or delete_element, but the usage context is clear.

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

Deploy Server

Other Tools