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

Packet Tracer MCP — Node.js port

pt_read_qos

Reads a Packet Tracer device's actual QoS configuration, including class-maps and policy-maps, to verify that applied QoS settings match intent. Use it after configuring QoS to confirm classes, priority, and bandwidth.

Instructions

Reads a device's REAL QoS configuration: class-maps and policy-maps.

Read only (PT's API cannot create class/policy-maps): to CONFIGURE QoS use pt_apply_qos. This tool checks that it was applied.

Returns, per class-map, its match type and CLI; per policy-map, its classes in order, each with its name, priority (kbps), bandwidth (kbps), fair-queue and whether it is class-default. PT does not give a class its name, so names come from the running-config, matched by position.

Parameters:

  • device: router name in PT.

Example: pt_read_qos(device="R1")

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

Input Schema

NameRequiredDescriptionDefault
deviceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the burden well: it declares read-only status, the platform limitation that PT's API cannot create class/policy-maps, and the exact returned shape per class-map and policy-map. It even discloses a subtle gotcha – PT does not store class names, so names are taken from the running-config and matched by position – which an agent could not infer elsewhere. It stops short of describing failure modes (e.g., unknown device name) or any cost/latency behavior.

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?

Front-loaded with the one-line purpose, then scope/routing, then return contract, then parameters, then an example. Section labels make it scannable and no sentence is filler.

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 the returned fields per class-map and policy-map, so an agent knows what it will get. Completeness is high for a single-parameter read tool; only error/empty-result behavior is unaddressed.

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?

Only one parameter at 0% schema description coverage, and the description supplies just 'device: router name in PT.' plus the example pt_read_qos(device="R1"). That is enough to form the value but adds no detail on naming conventions or case sensitivity, so it is minimum viable rather than rich.

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 ('Reads a device's REAL QoS configuration: class-maps and policy-maps') and scopes it to the read side of QoS, which separates it from the pt_apply_qos sibling without opening either schema.

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

Usage Guidelines5/5

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

Explicitly states 'Read only (PT's API cannot create class/policy-maps)' and names the alternative action ('to CONFIGURE QoS use pt_apply_qos'), plus the workflow role: 'This tool checks that it was applied.' When-to-use, when-not-to-use, and the alternative are all present.

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