Skip to main content
Glama
Gearotons

servomotor-mcp

disconnect

Release the serial port to free it for other programs or safely unplug the device. Use this to end communication cleanly and avoid port conflicts.

Instructions

Close the serial port (e.g. to free it for another program, or before unplugging).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.1

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It does explain the practical effect (freeing the port) and appropriate timing (before unplugging), but it omits potential side effects such as invalidating subsequent commands on the device or behavior when the port is already disconnected. This is adequate but has clear gaps.

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 with no filler. The main action 'Close the serial port' comes first, and the parenthetical examples add useful context without bloating the text.

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 no-parameter, no-output-schema tool, the description covers the core action and practical use cases. It is mostly complete, though it could note what happens if the port is already closed or whether active operations are interrupted. Still, an agent can safely call this tool with the information provided.

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?

The tool has zero parameters, so there is no parameter ambiguity to document. The schema is fully complete with no properties. Per the zero-parameter baseline, the description need not add parameter-level detail, and its usage examples provide enough context.

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 states a specific verb and resource: 'Close the serial port'. This clearly distinguishes the tool from siblings like connect, list_serial_ports, and detect_devices. Even without a title, the tool's purpose is immediately unambiguous.

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 provides concrete use cases: freeing the port for another program or unplugging the device. It does not explicitly mention alternatives or exclusions, but for a no-parameter serial-port lifecycle tool, this is sufficient context for an agent to decide when to call it.

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