Skip to main content
Glama

pt_apply_interface_tuning

Tunes router interface parameters in a Packet Tracer topology, including bandwidth, serial clock rate, OSPF timers and MD5 authentication, to configure links and adjacencies correctly.

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

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.0

TDQS

A4.2/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 behavioral burden and does most of it well: it discloses validation errors (clock_rate on non-serial), rejection rules (dead <= hello), side effects (ASBR default route re-originated because PT drops it), a warning on plain-text keys, and what dry_run returns. It does not state whether the change is applied immediately to the running topology or how failures are reported, which keeps it below 5.

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?

Purpose is front-loaded in one sentence, followed by a scannable bulleted parameter list and a concrete example call, with no filler sentences. A few bullets are elliptical (the ASBR default-route note) but every line still carries usable information.

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, the definition covers each parameter, the coupling rules, the safety valve (dry_run), and an example; an output schema exists, so return values need not be described. Missing are the post-write semantics (whether it re-applies to the running device, error/rollback behavior), which is the main remaining gap.

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 description coverage is 0%, so the description must define all 14 parameters, and it does: units (bandwidth in kbps, delay in tens of microseconds), accepted value forms (64000, 2000000; "Serial0/0/0"), per-parameter constraints, and the pairing/coupling rules for the OSPF MD5 key and id. This is meaning the bare schema cannot supply.

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?

The opening sentence states a specific verb ("Tunes") and resource ("parameters of a router interface") and scopes it to "the active topology", which separates it from device-level siblings like pt_add_device or global routing siblings like pt_apply_bgp. It stops short of explicitly naming an alternative tool, so an agent must infer the interface-level vs. global-config boundary.

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?

The description gives real applicability constraints: clock_rate is serial-only, OSPF timers must match the neighbour, ospf_network accepts only "point-to-point", and MD5 auth is recommended over plain text. It never says when to prefer a different tool, but for a single-interface tuning tool the context for correct use is clear.

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