Skip to main content
Glama

pt_list_devices

Lists every device in the current Packet Tracer project, optionally including assigned ports, so AI agents can inspect topology before configuring or cabling.

Instructions

List all devices in the current project (optionally with their ports).

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": "pt_list_devices"
  }
}

Input Schema

NameRequiredDescriptionDefault
include_portsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden. It does convey that this is a scoped enumeration of the current project and that port data is opt-in, which usefully implies a read-only, possibly heavier-cost variant, but it says nothing about pagination, ordering, permissions, or what happens with an empty project.

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 verb and resource, with the optional modifier parenthesized rather than buried. Nothing is redundant or padded.

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-optional-parameter read tool with no output schema and no annotations, the definition covers scope and the sole flag adequately. The remaining gap is return-shape detail (which device fields come back), which an agent would need since no output schema exists.

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 description coverage is 0%, so the description must compensate. It does explain that the single flag controls whether ports are included ('optionally with their ports'), which gives real meaning beyond the bare 'Include Ports' title, but it omits the default of false and any note that enabling it costs extra data.

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 ('List all devices') plus its scope ('current project'), which cleanly separates it from siblings like pt_device_details or pt_list_links. It stops short of naming any sibling to contrast against, so it is clear but not maximally differentiated.

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 explicit when-to-use or when-not-to-use guidance and no named alternative (e.g., use pt_device_details for one device). Usage is only implied by the word 'List', leaving the agent to infer the selection rules from sibling names alone.

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