Skip to main content
Glama
nwn-dm-mcp
by tim4net

dm_connect

Connect a DM session to a Neverwinter Nights: Enhanced Edition server, log in with argument or environment credentials, and hold the in-world session open.

Instructions

Connect the DM session to a NWN:EE server and log in (fresh BNCS/BNVS), replay the settings flood, and hold the in-world session open. Credentials come from arguments or environment, never from the repo.

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

Input Schema

NameRequiredDescriptionDefault
hostNo
portNo
accountNo
bridge_dbNo
cdkey_iniNo
public_idNo
flood_fileNo
password_fileNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/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 burden, and it does disclose real behavior: a fresh BNCS/BNVS login, replaying the settings flood, keeping the session live, and sourcing credentials from args or environment rather than the repo. It omits important traits such as whether the call blocks/holds open, default host/port behavior, failure/timeout handling, and whether an existing session gets replaced.

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 dense sentences, front-loaded with the primary action and followed by the credential-safety note. Nothing is redundant, though 'fresh BNCS/BNVS' and 'settings flood' are domain jargon that could use a brief gloss.

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 an 8-parameter, zero-annotation, no-output-schema session-establishing tool, the description conveys the core behavior and one safety constraint but leaves the majority of parameters, lifecycle assumptions, and failure modes undocumented. It is adequate to recognize the tool but not fully sufficient to invoke it confidently.

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 coverage is 0% across 8 parameters, so the description must compensate and largely does not: it hints that credentials (account, password_file, cdkey_ini) can come from arguments or environment, but host, port, bridge_db, public_id, and flood_file are given no meaning at all. An agent cannot infer formats or defaults for most inputs.

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 description uses a concrete verb and resource: it connects a DM session to a NWN:EE server and logs in, replaying the settings flood and keeping the session open. That is specific enough to separate it from dm_disconnect and read-only siblings like dm_status, though it never names a counterpart tool explicitly.

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?

Usage is only implied: the 'connect ... hold the in-world session open' framing suggests this must precede other dm_* calls, but there is no explicit when-to-use/when-not statement, no prerequisite (e.g. must be disconnected first), and no mention of what to do if a session already exists.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.