Skip to main content
Glama

ping

Checks whether the Dungeondraft MCP bridge is running and matches this package's bridge code, reporting version mismatches, duplicate installs, and available updates.

Instructions

Check the bridge is up, and whether it is the bridge in this package.

`bridge_current` compares a hash of the source Dungeondraft is actually
RUNNING with this package's mcp_bridge.gd. It is the only reliable answer to
"is Dungeondraft on the latest bridge?", because Dungeondraft loads mods from
a folder the user chooses and a file check can look in the wrong one.

False: Dungeondraft is running other code. Restart it to load a change, or
reinstall into the folder it loads (inspect_dungeondraft_installation).
None: the running bridge is too old to report its source.
New bridges also report bridge_root (Dungeondraft's Global.Root for the
executing mod) and process_id. These identify the running copy and process;
they do not imply that files subsequently changed on disk are already loaded.

`companion_version` is this server's release; `bridge_version` is the one
in the running bridge's .ddmod (absent from bridges before 1.4). When they
differ, `version_note` says which to update.

`update_available` appears when a newer release has been published: pass
its message to the user. On their yes, update_companion updates a
downloaded companion; other installs get their own steps in the message.
`duplicate_installs` appears when Claude has this server installed more
than one way: pass its message to the user too.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description does the heavy lifting: it discloses the three-way true/false/none outcome space, warns that bridge_root and process_id identify the running copy but don't imply later on-disk changes are loaded, and explains when version_note, update_available, and duplicate_installs appear and how to relay them. What it does not cover is the failure mode when the bridge is down (error vs. a status value), which is the tool's core question.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded correctly, but the body is dense multi-paragraph prose that mixes return-field documentation, escalation instructions, and a fairly abstract caveat about 'files subsequently changed on disk.' Several sentences, particularly the caveat and the bridge_current framing, need a second read, and the payload could be trimmed without losing meaning.

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?

There is no output schema, so the description must and largely does enumerate the meaningful return fields, their conditional presence, and how to act on them. The main remaining hole is what the agent sees when Dungeondraft isn't reachable at all, given that 'check the bridge is up' is the stated primary purpose.

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?

The tool takes no parameters, so there is nothing for the description to disambiguate and the baseline applies. The prose is entirely about return values, which is the right allocation of words for a zero-argument diagnostic.

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?

The opening sentence states a specific check: is the bridge up, and is it the copy shipped in this package. It further anchors the meaning with the hash comparison against mcp_bridge.gd. Slight ambiguity remains because `bridge_current` appears in backticks without saying explicitly that it is a return field of this tool rather than a sibling tool, so an agent has to infer the framing.

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?

It establishes when this tool is authoritative ("the only reliable answer to 'is Dungeondraft on the latest bridge?'") and explains why a file check is unreliable. It routes follow-ups explicitly: restart or inspect_dungeondraft_installation on a false result, and update_companion on a user's yes. It lacks an explicit 'call this first / do not call it when X' rule, but the 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