Skip to main content
Glama

pt_remove_acl

Removes an ACL from a router and, when an interface is specified, first unbinds it from that interface before deleting the entire ACL.

Instructions

Removes an ACL applied on a router.

If binding_interface is given, it first removes the binding from the interface (no ip access-group ...) and then deletes the whole ACL (no access-list ...).

Parameters:

  • router: device name in PT

  • name_or_number: identifier of the ACL to remove

  • binding_interface: optional, interface where it was applied

  • binding_direction: "in" or "out" (only with binding_interface)

  • dry_run: if True, returns the payload without sending it

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

Input Schema

NameRequiredDescriptionDefault
routerYes
dry_runNo
name_or_numberYes
binding_directionNoin
binding_interfaceNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations present, the description must carry the full behavioral burden; it does disclose that two destructive actions may occur (interface unbinding plus whole-ACL deletion) and that dry_run returns the payload without sending it. It omits failure behavior when the ACL/binding does not exist, idempotency, and any permission or partial-failure semantics for the two-step sequence.

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 with the purpose and the important conditional behavior, then a compact parameter list. The structure is easy to scan, with only mild redundancy between the prose and the parameter bullets.

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?

An output schema exists, so return values need not be described. For a five-parameter destructive tool the definition covers purpose, conditional branching, and all parameters; the main remaining gap is what happens on missing ACL or binding errors.

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?

Schema description coverage is 0%, so the description must compensate, and it largely does: every one of the five parameters is explained, including the conditional coupling of binding_direction to binding_interface and the enum-like values "in"/"out". It still leaves the format of router and name_or_number implicit.

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+resource ("Removes an ACL applied on a router") and adds a conditional two-step behavior, so the agent knows exactly what is being changed. It does not distinguish itself from siblings like pt_remove_acl_object or pt_apply_acl, so the agent must infer the ACL-vs-ACL-object boundary from names alone.

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

Usage Guidelines3/5

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

The description explains the conditional path: pass binding_interface to unbind first, omit it to just delete the ACL, which effectively tells the agent which shape of call to make. However, it gives no explicit when-to-use/when-not-to-use guidance against apply/remove alternatives and no preconditions such as the ACL existing.

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