Skip to main content
Glama

trace_dialog_path

Read-onlyIdempotent

Follow a specific dialog conversation path by selecting PC reply indices at each step to inspect branching Neverwinter Nights dialogue flows.

Instructions

Follow a specific conversation path by choosing PC reply indices at each step.

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": {
      "dialog": "<dialog>",
      "replyIndices": "<replyIndices>"
    },
    "name": "trace_dialog_path"
  }
}

Input Schema

NameRequiredDescriptionDefault
dialogYesDialog resref
replyIndicesYesSequence of PC reply indices to follow

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, so the safety profile is covered, and the description is consistent with a pure read/traversal operation. It adds the useful notion that traversal is step-wise and driven by PC reply choices, but says nothing about behavior when an index is invalid, out of range, or the path dead-ends.

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?

A single tight sentence with the action front-loaded and no filler. It is appropriately sized, though it is terse enough that a little more context could have been added without bloat.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/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 should explain what tracing a path yields (e.g., the resulting nodes, lines, or conditions encountered), and it does not. For a tool whose whole value is the traversal result, that omission leaves the agent unable to predict its return.

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 description coverage is 100%, so both parameters are already documented; the description merely reinforces their meaning ('PC reply indices' chosen 'at each step,' which implies ordered sequencing). It adds no format details, bounds, or zero-vs-one-based indexing information beyond 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 concrete verb and resource: 'Follow a specific conversation path,' plus the mechanism (choosing PC reply indices at each step). It is distinguishable from siblings like get_dialog_tree or flatten_dialog by implying traversal rather than retrieval, though it never names them explicitly.

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

Usage Guidelines2/5

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

No when-to-use or when-not-to-use guidance, no prerequisites, and no mention of alternatives such as get_dialog_tree for full structure or flatten_dialog. The agent must infer the scenario entirely from the one-line action statement.

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