Skip to main content
Glama

Remove device

remove_device
DestructiveIdempotent

Deletes a named device and its links, IOS commands, and IP configuration, preventing orphaned topology data when removing Cisco Packet Tracer nodes.

Instructions

Remove a device together with its links, IOS commands and IP configuration.

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": {
      "name": "<name>"
    },
    "name": "remove_device"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesDevice name, e.g. R1, S1, PC1 (case-insensitive).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered by structured data. The description adds real value by enumerating what is destroyed alongside the device (links, IOS commands, IP configuration), which the annotations do not say. It stops there, saying nothing about whether the removal is reversible or how a nonexistent device name is handled.

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?

One sentence, front-loaded with the action and immediately qualified by the cascade scope. No filler, no redundant restatement of 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?

For a one-parameter destructive tool with full schema coverage and destructive/idempotent annotations, the description covers what an agent most needs: the blast radius of the call. It lacks only edge-case behavior such as reversibility or failure on an unknown device name.

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% with a single required 'name' parameter already documented in the schema as a case-insensitive device name with examples. The description adds no further parameter meaning, so the baseline 3 applies while the schema does the work.

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?

The description gives a specific verb (Remove) plus resource (device) and the exact cascade scope: its links, IOS commands and IP configuration. That distinguishes it from siblings such as remove_link or rename_device without opening any schema, though it stops short of naming those siblings 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 only implied: the cascade wording signals that this is a whole-device teardown rather than a targeted link removal, which nudges an agent away from remove_link for a single link. There is no explicit when-not-to-use statement, no prerequisite checks, and no mention of how it differs from reset_topology.

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