Skip to main content
Glama

Mcp Execute

mcp_execute

Executes a single CLI command on a topology-synced Huawei eNSP device by device name or IP through the local MCP console port, enabling AI-driven network configuration and diagnostics.

Instructions

Execute a single command on a topology-synced eNSP device by its name via local MCP console port.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYesCLI command
device_ipYesTopology device name or IP

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It never says whether the command mutates device state, what permissions or authentication the console port needs, whether execution is blocking, or what happens on failure/timeout — all material for an arbitrary-CLI-execution tool.

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?

A single front-loaded sentence with no filler; the verb, scope, and transport all land in one pass. It is appropriately sized, though brevity here partly reflects the missing guidance rather than disciplined editing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema and no annotations mean the description must explain behavior and results, and it does neither. For a tool that runs arbitrary CLI on a network device, an agent is left without return-format, error, or side-effect expectations.

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 100%, so both parameters are already documented ("CLI command", "Topology device name or IP"). The description adds only "by its name," which is arguably narrower than the schema's "name or IP" and contributes little beyond the structured fields — baseline 3.

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 ("Execute a single command") plus the target scope ("topology-synced eNSP device") and transport ("via local MCP console port"). It does not, however, distinguish itself from the sibling execute_cli, which reads as functionally overlapping, so the agent cannot tell the two apart from the description alone.

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?

There is no when-to-use or when-not-to-use guidance and no named alternative. With siblings like execute_cli, push_config, and multi_device_push_config in the same namespace, the agent gets no signal about which tool to pick for a single command versus a batch or config push.

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