Skip to main content
Glama

device_add

device_add

Add a network device to a Packet Tracer lab using a verified DeviceCatalog model; set name and model, with optional coordinates, role, and dry-run validation.

Instructions

Add a network device using a verified Packet Tracer model from the DeviceCatalog.

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>",
      "model": "<model>"
    },
    "name": "device_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
nameYes
roleNo
modelYes
dry_runNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare a non-read-only, non-destructive, non-idempotent, closed-world mutation, so the safety profile is covered. Beyond that the description adds nothing: it does not say what dry_run does, whether a lab must be open, whether coordinates place the device on a canvas, or what happens on failure or duplicate names.

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?

One sentence with no filler, and the key constraint on the model argument is front-loaded. It is arguably too terse for a six-parameter mutation, but nothing in it is wasted.

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?

An output schema exists, so return values need not be explained. However, for a six-parameter mutation with 0% schema coverage, the definition should still cover dry_run semantics, role values, coordinate meaning, and lab context; none of these are present.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across six parameters, so the description carries the full burden. It only clarifies that model must come from the DeviceCatalog; name, x, y (units/origin/auto-layout), role, and dry_run all remain undocumented in both places.

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 ("Add a network device") and adds a real constraint: the model must be a verified entry from the DeviceCatalog. This separates it from siblings like connection_create or host_configure, though it never names an alternative 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 phrase "verified Packet Tracer model from the DeviceCatalog" tells the agent a catalog lookup is a precondition, which is a useful hint. There is no statement of when to call this versus building the device another way, nor of prerequisites such as an open lab.

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