Skip to main content
Glama

PLCGateway connection status

connection_status
Read-onlyIdempotent

Reports whether the bridge can reach PLCGateway and, on failure, explains what to check, such as the address, token, or MCP setting.

Instructions

Report whether the bridge can reach PLCGateway and, if not, why and what to check (address, token, MCP setting). While PLCGateway is unreachable this is the only tool; the plant tools (tags, alarms, history, OEE, reports) appear once it answers.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "connection_status"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered. The description adds real value by disclosing the gating behavior of the whole toolset and by naming the failure causes to check (address, token, MCP setting). However, it does not describe what the response actually contains (status field, error text, remediation hints) despite there being no output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the core purpose and followed by the diagnostic and availability context. No filler or restated title.

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 parameterless read-only check with no output schema, the description covers purpose, failure diagnosis and the toolset-gating consequence well. The remaining gap is the return shape, which matters more here because no output schema exists to document it.

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?

The tool takes zero parameters, so the schema baseline of 4 would normally apply. The description's mention of 'address, token, MCP setting' refers to configuration to inspect rather than inputs, which could momentarily mislead an agent into looking for those as arguments.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: report whether the bridge can reach PLCGateway, plus failure diagnostics. It also distinguishes itself from the plant tools by explaining that those only appear once this one succeeds, so an agent can identify it without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear context: while PLCGateway is unreachable this is the only tool, and the plant tools become available once it answers, which implies calling it first when connectivity is in doubt. It stops short of an explicit 'call this before any other tool' instruction or naming a non-diagnostic alternative.

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