Skip to main content
Glama
Edge-JB
by Edge-JB

plc_session

Manage PLC online sessions: check login status or log out to apply pending source edits. Logout requires confirmation.

Instructions

PLC online-session control via UI Automation (the DTE Login/Logout commands are unavailable on the 64-bit shell). action "status" (read-only): reports { loggedIn }. action "logout": logs the IDE out of the PLC — this also applies any source edits the online lock deferred ("loaded after logout"). Never logs back in. Guarded: logout needs confirm="ALLOW_PLC_LOGOUT".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes
confirmNo
Behavior4/5

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

With no annotations, the description carries full burden. It discloses that status is read-only, logout logs out and applies source edits, and that logout requires confirmation with a specific value. It also states the tool never logs back in. This is transparent for its simplicity, though it could detail error handling.

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 two sentences plus a brief list, front-loading the purpose and then detailing each action. Every sentence adds value; no fluff. Highly efficient.

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?

Given no annotations or output schema, the description covers purpose, both actions, effects, and guards. It mentions status output format and logout side effects. It could be more explicit about the output schema or error cases, but for a simple tool it is largely complete.

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

Parameters5/5

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

Schema has 0% coverage, but description adds full meaning: explains the 'action' enum values (status is read-only, logout logs out) and clarifies that 'confirm' is needed only for logout, with exact required value 'ALLOW_PLC_LOGOUT'. This is highly informative beyond schema.

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?

The description clearly states the tool is for 'PLC online-session control via UI Automation', with explicit actions (status, logout). It distinguishes itself from siblings by focusing on session management, not downloading, libraries, or other PLC operations.

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?

The description explains that DTE Login/Logout commands are unavailable on 64-bit shell, implying this tool is the substitute. It also warns 'Never logs back in', guiding usage. However, it doesn't name an alternative for logging back in, which slightly limits guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Edge-JB/TwinCAT-XAE-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server