Skip to main content
Glama

install_dungeondraft_bridge

Install or update the bundled Dungeondraft bridge mod in the correct mods folder, previewing changes and backing up existing bridges before confirmation.

Instructions

Install or update the bundled bridge mod in Dungeondraft's mods folder.

This is how a Claude Desktop extension or Claude Code plugin user gets
the mod, and how they update it after updating the companion.

1. Call with no mods_dir: `candidates` lists the folders Dungeondraft
   loads, the one it is configured to use first.
2. Call with mods_dir to preview: show the user `actions`.
   `requires_force` true means a bridge is already there.
3. Once the user agrees, call again with confirm=true, and replace=true
   if a bridge is already there. The old one is moved to a backup outside
   the mods folder, never deleted.

`other_copies` are further bridges in that folder under other names (an
older install, a fork with the same mod id); Dungeondraft would load
them too. With the user's agreement, add move_other_copies=true and each
is backed up beside the replaced one (`other_copy_backups` in the
preview), never deleted and never inside the mods folder. Do not move
them by hand.

It never starts Dungeondraft or changes a map. The user must then fully
quit and reopen Dungeondraft and open a map; ping's `bridge_current`
confirms the new bridge is the one running.

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": "install_dungeondraft_bridge"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
replaceNo
mods_dirNo
move_other_copiesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A4.7/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 load and does well: it discloses the preview-before-mutate pattern, that old copies are backed up rather than deleted and outside the mods folder, and that the app must be restarted afterward. It leaves gaps on failure modes (invalid or unwritable mods_dir, permission errors) and on what the preview output looks like beyond `actions` and `requires_force`.

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 purpose followed by a numbered workflow and a separate paragraph for the `other_copies` edge case — easy to scan. It is slightly redundant, restating the 'never deleted / never inside the mods folder' guarantee in two places, but no sentence is filler.

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 four-parameter mutation tool with no annotations and no output schema, the definition covers trigger, preview/confirm flow, returned keys (`candidates`, `actions`, `requires_force`, `other_copies`, `other_copy_backups`), and the required post-install restart. An agent can drive the whole workflow from this text alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must define all four parameters, and it does: `mods_dir` gates listing vs. preview, `confirm` commits, `replace` is required when a bridge already exists, and `move_other_copies` handles same-mod-id duplicates with a stated backup destination. It also explains the interdependencies between them, which the schema does not.

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 object ('install or update the bundled bridge mod') and names the exact location it touches ('Dungeondraft's mods folder'). It also frames the audience (Claude Desktop extension / Claude Code plugin users), which separates it from read-only siblings like inspect_dungeondraft_installation or ping.

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 three-step sequence: no-arg call to list `candidates`, a preview call with `mods_dir`, then confirm=true (plus replace=true when required). It also names the alternative verification path (ping's `bridge_current`) and states exclusions ('never starts Dungeondraft or changes a map').

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