Skip to main content
Glama

add_text

Places text labels with configurable font, size, and color at a map coordinate for Dungeondraft battle maps, returning the new element ID and size.

Instructions

Add a text label at a woxel position. Returns the new element id and size.

size: font size in points (default ~32). color: '#rrggbb' (default black).
font: a DD font name; omit to keep the default font.
On Windows, leave emoji out: the request is refused and nothing is added,
even though the error says it may have run.

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

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
fontNo
sizeNo
textYes
colorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the return values (new element id and size) and, notably, that emoji on Windows are refused and nothing is added despite an error message implying otherwise. Gaps remain around x/y defaults and whether the new element becomes selected.

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?

Purpose and return value are front-loaded on line one, then per-parameter facts and the platform caveat follow in short declarative lines. No sentence is filler; the trailing warning is the highest-value line and is kept brief.

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 six-parameter creation tool with no annotations and no output schema, the description covers outcome, key defaults, and a non-obvious failure mode, which is close to sufficient. It stops short of explaining how coordinates default and what happens to existing selection or level state.

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 coverage is 0%, so compensating text matters. Three of six parameters gain real meaning: size in points with a ~32 default, color as '#rrggbb' defaulting to black, and font as a DD font name that can be omitted. x, y and text themselves are undocumented — position is only implied by the opening sentence and the meaning of an omitted x/y is left unclear.

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 ('Add a text label at a woxel position') plus the return payload, which makes it trivially distinguishable from the add_floor/add_light/add_water family. An agent can tell exactly what this does without opening the schema.

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

Usage Guidelines3/5

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

No guidance on when to prefer this over siblings or on prerequisites (e.g. whether a level or selection must exist first). It does give real usage conditions in 'omit to keep the default font' and 'On Windows, leave emoji out', which is more than nothing but is operational constraint rather than selection guidance.

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