Skip to main content
Glama

update_perspective_view

Replace an existing Perspective view in an Ignition project using a view path and full view document; validate with dry-run, then confirm to write.

Instructions

Replace an existing Perspective view.

Args: view_path: View to update. view_json: New full view document. project: Project name; defaults to the active project. confirm: Must be True to write. dry_run: Validate and summarise the change without writing.

Returns: Write acknowledgement, or a change summary in dry-run mode.

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>",
      "view_json": "<view_json>"
    },
    "name": "update_perspective_view"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
dry_runNo
projectNo
view_jsonYes
view_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations supplied, the description must carry the full behavioral burden, and it does disclose the important gates: confirm must be True to write, dry_run validates without writing, and the acknowledgement-vs-summary return differs by mode. It does not disclose that a full-document replace is destructive to existing view content, whether references/bindings to the view survive, or what permissions are required.

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 one-line purpose is front-loaded, followed by a compact args list and a single return sentence; there is essentially no filler. The Args/Returns scaffolding is boilerplate but readable and each entry earns its place.

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?

For a five-parameter mutation tool with a nested object, no annotations, and an existing output schema, the description covers the essentials an agent needs to invoke it safely: what is replaced, the project default, the confirm gate, and the dry-run mode. The missing piece is the shape and semantics of the view_json document and the consequences of replacing rather than merging.

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 is the only source of parameter meaning, and it documents all five: view_path, view_json, project (with its active-project default), confirm (write gate), and dry_run. The remaining gap is view_json, whose nested document structure is described only as "New full view document" with no indication of required keys or what the tool does with unknown properties.

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 first sentence gives a specific verb and resource ("Replace an existing Perspective view") and the word "existing" plus "Replace" clearly separates it from create_perspective_view and read_perspective_view. It stops short of naming a sibling or stating the replace-vs-patch distinction explicitly, so it is clear but not maximally differentiated.

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 rather than stated: "Replace an existing" tells the agent this is for views that already exist, and the confirm/dry_run notes hint at a safe preview-then-write workflow. There is no explicit when-not guidance and no named alternative (e.g. validate_perspective_view or create_perspective_view) for the cases where this tool is wrong.

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