Skip to main content
Glama

read_perspective_view

Retrieve a Perspective view's complete JSON definition by view path, optionally from a specified project, to inspect layout and configuration for AI-driven SCADA/HMI analysis.

Instructions

Read a view's full JSON definition.

Args: view_path: View path such as Dashboard/Overview. project: Project name; defaults to the active project.

Returns: The decoded view JSON.

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

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.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It discloses that the operation is a read returning decoded JSON and that project falls back to the active project, which is useful, but it is silent on failure behavior for a missing view path, permissions, and whether the read has any side effects.

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?

The Args/Returns layout is front-loaded and each line earns its place. The structure is slightly mechanical but contains no redundant or filler sentences.

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?

An output schema exists, so return values need not be spelled out, though the description still summarizes them. For a two-parameter read tool the definition covers the essentials; the notable remaining gap is the absence of error or permission behavior, which matters more because there are no annotations.

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 this had to compensate, and it largely does: view_path gets a concrete format example ('Dashboard/Overview'), and project is explained as defaulting to the active project, which adds real meaning beyond the schema's bare 'default: null'.

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 opens with a specific verb and resource: 'Read a view's full JSON definition.' That distinguishes it from create/update/validate siblings by implication, but it never explicitly contrasts with list_perspective_views or list_view_scripts, so an agent must infer the boundary.

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?

There is no when-to-use or when-not-to-use guidance and no named alternative. The read purpose is implied by the verb, but nothing tells an agent whether to reach for this versus list_perspective_views or validate_perspective_view.

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