Skip to main content
Glama

read_tag

Reads current values, quality, and timestamps for one or more fully qualified SCADA tag paths, returning one result per tag.

Instructions

Read current values and quality for one or more tags.

Args: paths: Fully qualified tag paths, e.g. ["[default]Pump1/Running"].

Returns: One entry per tag with value, quality and timestamp.

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

Input Schema

NameRequiredDescriptionDefault
pathsYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It discloses the return payload (value, quality, timestamp), which is useful, but says nothing about failure behavior for invalid paths, permissions, or whether missing tags produce errors — relevant given the validate_tag_paths sibling.

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?

Short and front-loaded: purpose in the first sentence, then Args and Returns blocks. Minor docstring-style overhead but no wasted sentences.

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?

Adquate for a simple one-parameter read tool, especially since an output schema exists (making the Returns block redundant but harmless). It falls short on routing guidance to sibling readers and on error-path behavior.

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 must compensate. It does add a concrete path format example ("[default]Pump1/Running"), which meaningfully clarifies the array-of-strings schema, but says nothing about multi-tag limits or path validation.

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 (read current values and quality for tags), with a clear scope of 'one or more tags'. It implicitly contrasts with write_tag and query_tag_history by emphasizing 'current values', but never names those alternatives.

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?

No explicit when-to-use or when-not-to-use guidance. The word 'current' hints that historical reads belong elsewhere, but the agent gets no stated alternative (e.g. query_tag_history) and no prerequisite or batching advice.

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