Skip to main content
Glama

pt_rename_device

Rename a device in the active Packet Tracer topology, then verify the new name resolves and the old name no longer does.

Instructions

Rename a device in the active Packet Tracer topology. Reads the result back: verified is true only when the new name resolves to the device and the old name no longer does.

Parameters:

  • old_name: current device name

  • new_name: new name to assign

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "old_name": "<old_name>",
      "new_name": "<new_name>"
    },
    "name": "pt_rename_device"
  }
}

Input Schema

NameRequiredDescriptionDefault
new_nameYes
old_nameYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations present, the description carries the full disclosure burden. It does add real behavioral value by explaining the verification contract (`verified` is true only when the new name resolves and the old name no longer does), but it omits failure modes: what happens if old_name doesn't exist, if new_name collides with another device, or whether the rename persists in the saved file.

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?

Front-loaded with the action, followed by the verification semantics, then a short parameter list. It is tightly sized for a two-parameter tool; the parameter lines partially restate schema titles but add directional meaning, so they mostly earn their place.

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 simple two-parameter mutation with a declared output schema, the definition covers purpose, verification semantics, and both inputs. An agent could invoke it correctly, though it has no visibility into name-collision behavior or topology preconditions.

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 description coverage is 0%, so the description must compensate, and it does: both parameters are defined as 'current device name' and 'new name to assign', clarifying directionality (which is old vs new) that the bare schema titles alone would leave ambiguous. Format constraints such as length or character restrictions are still unspecified.

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 ('Rename a device') plus the scope constraint ('in the active Packet Tracer topology'), which an agent can distinguish from siblings like pt_move_device or pt_delete_device. It stops short of naming or contrasting an alternative sibling 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?

Usage is implied by the operation itself — call it when a device in the active topology needs a new name — but there is no explicit when-to-use/when-not-to-use guidance, no mention of alternatives such as delete-and-recreate, and no prerequisites (e.g., device must exist, name must be unique).

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

Deploy Server

Other Tools