Skip to main content
Glama

ads_ethercat

Read-only

Read EtherCAT master state (INIT/PREOP/SAFEOP/OP) and slave count via ADS to monitor network health.

Instructions

EtherCAT master state (INIT/PREOP/SAFEOP/OP) and slave count via the master's ADS port (default 65535 for the first master; see Device → ADS tab in XAE).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
master_portNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds useful return-content context (master state and slave count) and the default port, but it omits behavioral details such as connection prerequisites, error conditions, or what happens when no master is found.

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?

The description is a single, front-loaded sentence: purpose first, then parenthetical port details. Every fragment earns its place with no filler.

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 read-only tool with an output schema, the description provides the necessary purpose, return fields, and parameter default. It is nearly complete, though it could mention that the ADS connection must already exist and clarify its relationship to general ADS status tools.

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 carry the parameter meaning. It does this well by stating the default port (65535 for the first master) and pointing to the Device → ADS tab in XAE, which is meaningful guidance beyond the bare 'Master Port' schema title.

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 names the specific resource (EtherCAT master) and the exact information returned (state values INIT/PREOP/SAFEOP/OP and slave count). It is clear enough to distinguish from generic ADS tools, but it does not explicitly contrast with siblings like ads_status or ads_plc_state.

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 when-to-use guidance is provided. The description explains the default ADS port and where to find it in XAE, but it does not say when an agent should call this tool versus ads_status, ads_discover, or other diagnostic siblings.

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