Skip to main content
Glama

ensp_connect_device

Opens a Telnet session to a specified eNSP device using its assigned port, and reuses an existing active session for the same host and port when enabled for device configuration or verification.

Instructions

建立到指定 eNSP 设备的 Telnet 会话。

port 为 eNSP 分配的 Telnet 端口(通常 2000+)。 若 reuse=True 且已存在同 (host, port) 的活跃会话则直接复用。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostNo
nameNo
portYes
reuseNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses the session-reuse behavior keyed on (host, port), but says nothing about failure/timeout behavior, whether an existing session is replaced or duplicated when reuse=False, or any auth requirements.

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?

Three short, front-loaded sentences with zero filler; the core action comes first and the port/reuse caveats follow in priority order.

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?

An output schema exists, so return values need no explanation. However, for a stateful connection-establishing tool with no annotations and two undocumented parameters, the description is only partially complete.

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 explains port ('eNSP-allocated Telnet port, usually 2000+') and the reuse flag's effect, but leaves host and name entirely undocumented, leaving half the parameters ambiguous.

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: 'establish a Telnet session to the specified eNSP device.' This clearly separates it from ensp_disconnect_device, ensp_list_sessions, and ensp_scan_devices, though no sibling is named explicitly.

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?

The description implies the tool is the entry point for interacting with a device and explains the reuse condition, but never states when to prefer it over alternatives or what to do if a session already exists without reuse=True. Usage is inferable rather than spelled out.

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