Skip to main content
Glama

find_script_dependencies

Lists imports, system.* calls, and functions used by an Ignition script module so you can understand dependencies before editing or debugging.

Instructions

Find imports and system calls used by a script module.

Args: module_path: Dotted module path. project: Project name; defaults to the active project.

Returns: Imports, system.* calls and functions defined in the module.

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": {
      "module_path": "<module_path>"
    },
    "name": "find_script_dependencies"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectNo
module_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/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. 'Find' implies a read-only operation, and the return categories are stated, but permissions, error behavior, and scope limitations are not described.

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

Conciseness5/5

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

The description is front-loaded with the core action and then uses compact Args/Returns sections. Every sentence contributes directly to understanding the tool.

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?

The tool is relatively simple with two parameters, and an output schema exists. The description still covers both inputs and return categories, leaving only minor gaps around usage routing and behavioral constraints.

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?

Schema description coverage is 0%, so the description must compensate. It does explain that module_path is a dotted module path and that project defaults to the active project, adding useful meaning beyond the bare 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?

The description gives a specific verb and resource: finding imports and system calls used by a script module. It is clear what the tool does, though it does not explicitly distinguish itself from nearby tools such as find_script_references.

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 implied by the purpose: inspect a module's dependency surface. There is no explicit guidance about when to choose this over alternatives like find_script_references or analyze_script, and no exclusions are stated.

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