Skip to main content
Glama
yaylaerkan

palo-alto-bgp-ipsec

by yaylaerkan

panorama_remove_ipsec_candidate

Destructive

Plan and apply removal of owned IPsec resources from Panorama candidate config. Plan mode previews deletion; apply mode deletes only owned resources with snapshot and auto-restore on failure.

Instructions

[DESTRUCTIVE] Two-phase removal of owned IPsec resources. mode 'plan' returns a removal plan; mode 'apply' requires the returned plan_id and plan_hash and deletes only owned resources, snapshotting first and auto-restoring on failure. Candidate configuration only; no commit or push is performed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYesplan returns a removal plan; apply deletes owned resources
vsysNoVirtual system namevsys1
serialNoManaged firewall serial number. OPTIONAL — auto-resolved from the template's device assignment when omitted. Only supply it when the template is bound to more than one device.
plan_idNoRequired for mode 'apply'
tunnelsNoOptional deployment spec (1 or 2 tunnels). When supplied, resource names are derived from the spec instead of legacy fixture defaults so the correct owned resources are removed.
firewallNoTarget firewall name (from firewalls.json). Required when multiple firewalls are configured; optional otherwise.
templateYesPanorama template name (one per firewall)
plan_hashNoRequired for mode 'apply'
deploymentYesShort unique label for this deployment (e.g. 'istanbul-branch-01'). Every created object is prefixed with it, and it must not collide with any existing name — it is the ownership boundary that keeps prod safe.
virtualRouterNoVirtual router name (Legacy Virtual Router). OPTIONAL — auto-detected from the template's single virtual-router when omitted. Falls back to 'default'/'vr_root' if detection is inconclusive.
ikeCryptoProfilesNo
ipsecCryptoProfilesNo
Install Server

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, and the description adds substantial context beyond that: it discloses that only 'owned' resources are deleted, that a snapshot is taken before deletion with auto-restore on failure, and that the change remains in candidate config with no commit or push. This gives the agent a complete safety profile for a destructive operation — far beyond the bare annotation.

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?

Three sentences with zero filler, and the destructive warning plus core purpose are front-loaded in the first sentence. Every clause carries distinct information: ownership scoping, snapshot/auto-restore behavior, candidate-only scope. Nothing is redundant with the schema or annotations.

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 destructive two-phase tool with 12 parameters and no output schema, the description covers the critical workflow contract and safety behavior well. Minor gaps: it doesn't describe the shape of the returned removal plan (relevant since no output schema exists), and it doesn't state what to do after a successful apply beyond implying commit/push is a separate step. These are small given the strong 83% schema coverage of parameters.

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 coverage is high at 83%, setting the baseline at 3, and the description adds genuine value by explaining the coupling between mode, plan_id, and plan_hash — the plan/apply contract that the schema only hints at with 'Required for mode apply'. It also clarifies what each mode returns or requires. The remaining params (deployment as ownership boundary, serial auto-resolution) are already richly documented in the schema, so no compensation is needed.

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 — 'Two-phase removal of owned IPsec resources' — with the destructive nature flagged up front. The two modes are spelled out (plan returns a plan; apply deletes with plan_id/plan_hash), making it clearly distinguishable from siblings like panorama_apply_ipsec_candidate and panorama_plan_ipsec without opening their schemas.

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 clearly explains the within-tool workflow: run mode 'plan' first, then mode 'apply' with the returned plan_id and plan_hash. 'Candidate configuration only; no commit or push is performed' tells the agent this is a middle step in a pipeline, not a final action. It stops short of explicitly naming alternative siblings (e.g., pointing to a commit tool for the follow-up push), so it doesn't earn a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yaylaerkan/palo-alto-bgp-ipsec'

If you have feedback or need assistance with the MCP directory API, please join our Discord server