Skip to main content
Glama

pt_set_power

Turn a device on or off in a Cisco Packet Tracer project by specifying the device and desired power state.

Instructions

Power a device on or off.

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": {
      "device": "<device>",
      "on": "<on>"
    },
    "name": "pt_set_power"
  }
}

Input Schema

NameRequiredDescriptionDefault
onYes
deviceYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It conveys only that this is a power-state mutation; it says nothing about whether the device must be reachable, what happens if it is already in the requested state, whether the operation is disruptive to links, or whether the change persists to the saved topology.

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?

A single short sentence with the action and state space front-loaded and no filler. Its brevity is efficient, though it verges on under-specification rather than tightness.

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, but for a two-required-parameter mutation tool with no annotations and zero schema coverage, the description leaves too much open: identifier format, preconditions, and failure behavior are all unaddressed.

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%, so both parameters are undocumented in the schema. The description implies the boolean selects on vs. off, but gives no indication of what the device string should contain (name, path, or ID) or how it is matched.

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?

"Power a device on or off" names a specific verb (power) and resource (device), with the state space spelled out. It is clear what the tool does, but it offers no differentiation from nearby device-mutation siblings like pt_add_device or pt_rename_device beyond the name itself.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus other device tools, nor on prerequisites such as whether the device must already exist, be added to a topology, or be connected. An agent must infer all of this.

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