Skip to main content
Glama

set_binding

Create or replace a component property binding in an Ignition view, with dry-run preview and confirmation required before writing.

Instructions

Create or replace one component property binding.

Args: view_path: View containing the component. component: Component meta.name. property: Property path, with or without the props. prefix. binding: Binding object, e.g. {"type": "tag", "config": {...}}. project: Project name; defaults to the active project. confirm: Must be True to write. dry_run: Preview the change without writing.

Returns: Write acknowledgement or a dry-run diff.

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>",
      "component": "<component>",
      "property": "<property>",
      "binding": "<binding>"
    },
    "name": "set_binding"
  }
}

Input Schema

NameRequiredDescriptionDefault
bindingYes
confirmNo
dry_runNo
projectNo
propertyYes
componentYes
view_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the safety burden well: it discloses that confirm must be True to write and that dry_run previews the change, which is exactly the kind of gating information an agent needs. It also notes the replace semantics and the optional props. prefix on property paths. It omits what happens to a pre-existing binding when replaced and any 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?

The opening sentence front-loads the action and is followed by a compact parameter list where each line adds distinct meaning. The docstring-style Args/Returns layout is slightly rigid but not padded, and the Returns section is largely redundant given the output schema exists.

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 seven-parameter mutation tool with no annotations, the description covers invocation, gating, and preview behavior adequately, and the output schema relieves it of explaining return values. The main remaining gap is replacement semantics: whether an existing binding is silently overwritten or merged is never stated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description does the documentation work for all seven parameters, including a concrete binding object example and the prefix-optional property path. That is meaningful compensation, though types and the binding object's internal structure remain unspecified. Baseline-plus rather than superior, since the binding schema is left opaque.

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?

"Create or replace one component property binding" names a specific verb pair and resource, making it clearly distinguishable from get_binding and delete_binding among the siblings. It stops short of explicitly naming those alternatives, but the purpose itself is unambiguous.

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 name and by the confirm/dry_run gates, but the description never states when to reach for this tool versus a read (get_binding) or removal (delete_binding) equivalent, nor any prerequisites such as project activation. The confirm flag hints at a write workflow without spelling out the recommended dry_run-then-confirm sequence.

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