Skip to main content
Glama

write_tag

Write values to Ignition tags with dry-run preview and confirmation for controlled SCADA/HMI updates.

Instructions

Write values to tags.

Args: paths: Fully qualified tag paths. values: Values to write; must align with paths. confirm: Must be True to execute the write. dry_run: Preview the write without changing anything.

Returns: Write acknowledgement or a guard/preview payload.

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": {
      "paths": "<paths>",
      "values": "<values>"
    },
    "name": "write_tag"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsYes
valuesYes
confirmNo
dry_runNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations present, the description carries the full disclosure burden and does a creditable job: it reveals the confirm=True execution guard, the non-destructive dry_run preview mode, and the shape of the return payload (acknowledgement vs. guard/preview). It does not cover permissions, partial-failure/atomicity behavior across multiple paths, or what an invalid tag path produces, which are meaningful gaps for a mutation tool.

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 structure is front-loaded with the action sentence and free of filler; each parameter line earns its place. The docstring scaffolding ("Args:", "Returns:") is slightly mechanical but costs nothing in comprehension.

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 detailed beyond the brief acknowledgement/preview note, and the safety-gating parameters are fully explained. What is missing is edge-case behavior — multi-path failure semantics and path-format expectations — which matters given four parameters and two required arrays.

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, and it does: all four parameters are explained, including that paths are fully qualified tag paths and that values must align with paths — a cardinality/ordering constraint not present in the schema. It adds little on value typing or path syntax examples, which keeps it from a 5.

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+resource: "Write values to tags." That is unambiguous and clearly distinguishes it from read-side siblings such as read_tag or query_tag_history. It stops short of explicitly naming the read/validate counterparts, so it is clear but not sibling-differentiating.

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 through the operational parameters: the description states confirm must be True to execute and that dry_run previews without changing anything, which effectively tells the agent how to preview vs. commit. However, it never states when not to use this tool, nor does it point to alternatives such as validate_tag_paths for checking paths before writing.

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