Skip to main content
Glama

list_view_scripts

Lists every embedded script in a view, including events, transforms, property-change scripts, and message handlers, with its Ignition context for auditing or debugging.

Instructions

List every embedded script in a view with its Ignition context.

Args: view_path: View to scan. project: Project name; defaults to the active project.

Returns: Events, transforms, property-change scripts and message handlers.

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": {
      "view_path": "<view_path>"
    },
    "name": "list_view_scripts"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectNo
view_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

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?

No annotations are provided, so the description bears the full burden. 'List' implies a read-only operation and the Returns section names the script categories (events, transforms, property-change scripts, message handlers), but it says nothing about ordering, volume, whether inherited/indirect bindings are included, or permission requirements.

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?

Front-loaded summary sentence followed by compact Args/Returns blocks; nothing is redundant. The Google-style scaffolding is slightly heavier than a single prose sentence but remains efficient and scannable.

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?

An output schema exists, so return values need not be detailed, and both parameters are at least mentioned. However, with 0% schema coverage and no annotations, the definition should say more about path format and result scope to be fully self-sufficient for this read tool.

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 description coverage is 0%, so the description must carry all parameter meaning. It gives only terse glosses ('View to scan', 'Project name; defaults to the active project') and omits the expected view_path syntax or format, leaving the required parameter underspecified.

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 specific verb and resource ('List every embedded script in a view') and adds scope ('with its Ignition context'). The view-level scope implicitly distinguishes it from project-level siblings like list_project_scripts, but 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: the tool scans a view for scripts, so an agent can infer it is a read operation for inspecting a specific view. There is no explicit guidance on when to choose this over list_project_scripts, find_event_scripts, or list_property_change_scripts, nor any stated prerequisites.

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