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

Packet Tracer MCP — Node.js port

pt_apply_interface_tuning

Tunes router interface settings in the active Packet Tracer topology, including bandwidth, delay, clock rate, and OSPF cost, timers, and authentication; supports dry-run validation.

Instructions

Tunes the parameters of a router interface in the active topology.

Parameters (all optional except router/interface):

  • router: router name in PT.

  • interface: interface to tune (e.g. "Serial0/0/0", "GigabitEthernet0/0").

  • clock_rate: ONLY on Serial interfaces (DCE end). E.g. 64000, 2000000. Applying clock_rate to a non-serial interface is a validation error.

  • bandwidth: bandwidth in kbps (bandwidth N).

  • ospf_cost / ospf_priority: per-interface OSPF knobs.

  • ospf_hello_interval / ospf_dead_interval: OSPF timers. They must match the neighbour's or the adjacency won't form; the IOS convention is dead = 4 x hello, and dead <= hello is rejected.

  • ospf_md5_key + ospf_md5_key_id: OSPF message-digest authentication (recommended). The id must match the neighbour's.

  • ospf_auth_key: plain-text OSPF authentication. It works, but the key travels readable across the network — a warning is emitted.

  • delay: interface delay (affects the EIGRP metric), in tens of microseconds.

  • ospf_network: "point-to-point" (only type PT accepts), for /30 links. An ASBR's default route is re-originated (PT drops it on the change).

  • dry_run: if True, only validates and returns the CLI/payload.

Example: authenticate OSPF with MD5 between R1 and its neighbour: pt_apply_interface_tuning(router="R1", interface="GigabitEthernet0/0", ospf_md5_key_id=1, ospf_md5_key="s3cr3t")

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": {
      "router": "<router>",
      "interface": "<interface>"
    },
    "name": "pt_apply_interface_tuning"
  }
}

Input Schema

NameRequiredDescriptionDefault
delayNo
routerYes
dry_runNo
bandwidthNo
interfaceYes
ospf_costNo
clock_rateNo
ospf_md5_keyNo
ospf_networkNo
ospf_auth_keyNo
ospf_priorityNo
ospf_md5_key_idNo
ospf_dead_intervalNo
ospf_hello_intervalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses validation failures (clock_rate on non-serial, dead <= hello rejected), emitted warnings for readable auth keys, and the side effect that an ASBR's default route is re-originated/dropped by PT on the change. It does not say whether changes take effect immediately in the live topology or require a deploy step, nor what the tool returns beyond dry_run's CLI/payload.

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?

Front-loaded purpose sentence followed by a scannable per-parameter list and a single concrete example; no filler prose. Length is justified by 14 parameters, though a few asides (ASBR default-route re-origination) sit at the edge of interface tuning and could be tightened.

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 14-parameter mutation tool with no annotations and no output schema, the definition covers the parameters, their interactions, validation rules, and one side effect. Gaps remain around the post-call state (applied vs. staged, return payload shape), which an agent would want before committing a multi-knob change.

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

Parameters5/5

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

Schema coverage is 0% across 14 parameters, so the description must carry all meaning — and it does. Units are given (bandwidth in kbps, delay in tens of microseconds), valid/domain constraints stated (clock_rate only on Serial DCE, ospf_network only 'point-to-point'), and pairing rules explained (md5 key + id must match the neighbour, hello/dead relation). This is far beyond what the bare schema titles convey.

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?

Opens with a specific verb and resource: 'Tunes the parameters of a router interface in the active topology.' The parameter list (clock_rate, bandwidth, OSPF knobs, delay) makes the interface-level L2/L3 tuning scope obvious, distinguishing it in practice from sibling pt_apply_* tools such as pt_apply_acl or pt_apply_qos. It never explicitly names what it is not, so sibling differentiation is inferred rather than stated.

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?

Usage conditions are embedded per parameter: clock_rate ONLY on Serial DCE ends, ospf_network only 'point-to-point', MD5 auth 'recommended' over plaintext, dry_run to validate only. A worked example shows a realistic invocation. It gives no explicit routing to alternatives (e.g. use pt_apply_qos for policing, pt_apply_hardening for security) and no prerequisites about the topology/device state needed before tuning.

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