Skip to main content
Glama
Packet Tracer MCP — Node.js port

Packet Tracer MCP — Node.js port

pt_query_topology

Retrieve current Packet Tracer devices and links, including model, port/IP details, and actual cable types, to inspect the active topology. Verify bridge status first.

Instructions

Query current devices in Packet Tracer. Returns name, model, and port/IP info for each device in the active topology, then every link with its real cable type (read from the link itself). Requires bridge connected (use pt_bridge_status to verify).

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_query_topology"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it discloses the read-only observation intent, the exact returned fields, and the dependency on a live bridge connection. It does not address failure modes when the bridge is down or whether the query has any side effects, but the operational profile is largely covered.

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?

Three short sentences, front-loaded with the action, then returns, then prerequisite. Every sentence adds information; only minor slack in the parenthetical "read from the link itself," which still conveys real cable type fidelity.

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?

No output schema exists, and the description compensates by enumerating returned fields and the link cable-type detail, which is the key thing an agent needs. The remaining gap is error behavior when the bridge is disconnected, which an agent would have to discover at call time.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; baseline 4 applies. The description correctly avoids inventing parameter guidance and instead spends its words on return contents.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Query current devices") plus the scope (active topology) and enumerates what is returned: device name, model, port/IP info, and links with cable type. An agent can distinguish this read-only inspection tool from pt_export_topology or pt_plan_topology from the description alone.

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

Usage Guidelines4/5

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

Gives an explicit precondition — "Requires bridge connected" — and names the verification tool (pt_bridge_status) to check it, which is genuinely actionable. It stops short of stating when to prefer this over siblings like pt_export_topology or pt_plan_topology, so it is clear context without exclusions.

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