Skip to main content
Glama

find_dialog_scripts

Read-onlyIdempotent

Find all scripts referenced by dialog actions and conditions, either in a specific dialog or across every dialog file, to trace script usage and dependencies.

Instructions

Find all scripts referenced in dialog files (actions and conditions).

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

Input Schema

NameRequiredDescriptionDefault
dialogNoSpecific dialog resref, or omit to search all dialogs

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, so safety is covered. The description adds the useful detail that references come from both action and condition slots, but says nothing about result shape (flat script list vs. per-node mapping) or how duplicates across dialogs are handled.

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?

One tight sentence with the resource front-loaded and the parenthetical scope qualifier at the end. Nothing is wasted, though the brevity leaves room for one more sentence of routing guidance without bloat.

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 single-optional-param read-only tool with full schema documentation and annotations, this is close to sufficient. The remaining gap is what the returned data looks like — whether scripts are returned per dialog/action/condition or as a deduplicated set — which matters for follow-up calls like search_scripts or compile_script.

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 100% and the single optional parameter is fully documented in the schema, including the omit-to-search-all behavior. The description adds no additional meaning about the resref format or matching semantics, so the schema does all the work — baseline 3.

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?

Specific verb and resource: 'Find all scripts referenced in dialog files', with the parenthetical narrowing scope to actions and conditions. An agent can tell this is a dialog-scoped reference lookup rather than a generic script search, though no sibling is named 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 — you call it when you need to know which scripts dialogs point at. The schema hint about omitting the dialog resref to scan everything provides some operational guidance, but there is no explicit when-to-use versus search_scripts or find_orphans, and no stated preconditions.

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