Skip to main content
Glama

add_level

Add a new floor to a battle map and return its ID and label, enabling multi-level map creation and encounter planning.

Instructions

Add a new level (floor) to the map. Returns its id and label.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "add_level"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoLevel

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does add one genuinely useful behavior beyond structured data: 'Returns its id and label', which matters because there is no output schema. However, it says nothing about where the new level is placed in ordering, whether it becomes the active level, side effects on existing levels, or reversibility of the mutation.

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?

Two short sentences with the action front-loaded and no filler; the gloss '(floor)' and the return statement both earn their place. It is efficient, though extremely terse for a mutation tool, leaving gaps that brevity alone does not justify.

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?

For a one-parameter creation tool this covers the essential minimum: what it creates and what it returns, which is important given the absence of an output schema. It is incomplete regarding placement/ordering semantics, the optional label parameter, and any behavioral context that annotations would normally supply.

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 0% for the single optional parameter 'label', and the description never mentions it, so it fails to compensate for the coverage gap. The agent cannot tell from the description what the label is for, that it defaults to 'Level', or what happens if omitted — only the schema JSON reveals the default.

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?

States a specific verb and resource ('Add a new level') and disambiguates the term by glossing it as '(floor)', so an agent knows exactly what object is created. It stops short of distinguishing itself from near-name siblings such as add_floor or set_level, which the description never addresses.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all: nothing says whether a level must be active, how it relates to add_floor, or when to prefer set_level or delete_level instead. The agent must infer usage entirely from the tool name and the surrounding catalog.

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