Skip to main content
Glama

reconnect_last

Reopens a remembered serial or network console connection with the same port, baud, and settings as last time; with no name, it restores the most recently used connection.

Instructions

Reconnect to a remembered port with the same settings as last time.

Every successful connect is remembered by name across sessions (port, baud, flow control, line ending, prompt, preset; for network consoles the transport, host, TCP port, user name and credential NAME, never a secret). With no name, reopens the most recently used one. Handy at the start of a chat so the user doesn't repeat the port and baud rate. If nothing is remembered, says to use connect instead.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "reconnect_last"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.2
    • addedInput schema / properties / name
      Added value: +{
      +  "default": "",
      +  "title": "Name",
      +  "type": "string"
      +}
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses cross-session memory, the exact remembered fields, including credential NAME but never secrets, and the default no-name behavior. It does not state what happens when a supplied name is not found, which is a notable remaining behavioral gap.

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?

The description is front-loaded with the core action, then supplies useful persistence details in a single parenthetical list. It is slightly dense but every sentence adds practical context rather than repeating the title.

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?

The tool has an output schema, so return values need not be explained. The description covers memory scope, default behavior, and the fallback alternative, but omits named-entry-not-found behavior and any stale or unavailable port handling.

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 coverage is 0%, so the description must compensate for the single `name` parameter. It does so by explaining that omitting `name` reopens the most recently used connection and that entries are remembered by name, though it does not define name matching rules or formats.

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: reconnect to a remembered port using last-time settings. It distinguishes itself from the sibling `connect` by explaining that `connect` is the fallback when nothing is remembered.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit usage context: handy at the start of a chat so the user need not repeat port and baud. It also explains the no-name behavior and directs the agent to `connect` when no remembered entry exists.

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