Skip to main content
Glama

select_tool

Switches Dungeondraft's active tool to a named tool, matching a button click. Use it to leave the editor on a sensible tool for whoever takes over next.

Instructions

Select a tool in Dungeondraft's UI, as clicking its button would.

Mostly useful for leaving the editor on a sensible tool when you are done,
so the person who takes over is not looking at whichever tool your last
call happened to need.

tool: exact tool name, e.g. "ObjectTool", "SelectTool", "WallTool".

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": {
      "tool": "<tool>"
    },
    "name": "select_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
toolYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A3.6/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 convey that this is a UI-state mutation equivalent to a button click and that it affects the shared editor state, but it says nothing about invalid-tool-name behavior, persistence, or whether it disturbs unsaved/selection state.

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 core action, followed by a short usage rationale and a parameter hint. The second sentence is somewhat wordy for the value it adds, but every part contributes and 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?

For a one-parameter UI-state tool with no annotations and no output schema, the definition covers what it does and why, which is close to sufficient. The remaining gap — accepted tool names and error behavior for bad input — matters because the schema offers no enum or validation hint.

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% for the single 'tool' parameter, so the description must compensate. It provides three concrete example values (ObjectTool, SelectTool, WallTool) which is genuinely useful, but it does not indicate whether the list is exhaustive or what happens with an unrecognized name, and no enum exists in the schema.

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 — select a tool in Dungeondraft's UI — and grounds it with an analogy to clicking the button, which clearly separates it from element-oriented siblings like select_elements. It does not name an alternative explicitly, so it falls just short of a 5.

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?

Gives a concrete when-to-use case: restoring a sensible editor state after a batch of calls so the next human user isn't left on an incidental tool. There is no when-not-to-use guidance or named alternative, which keeps it at 4 rather than 5.

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