Skip to main content
Glama
yaylaerkan

palo-alto-bgp-ipsec

by yaylaerkan

panorama_plan_ipsec

Read-only

Plan ordered IPsec tunnel, crypto, interface, and gateway candidate changes on Panorama before BGP, ensuring tunnel infrastructure exists first. No commit or push performed.

Instructions

[READ-ONLY] Plans ordered IPsec candidate mutations (IKE/IPsec crypto, tunnel interfaces, zones, vr_root membership, IKE gateways, IPsec tunnels). Returns backward-compatible flat Plan fields plus common planId, planHash, requiredSecretSlots, and summary metadata. Run this BEFORE panorama_plan_bgp — BGP peers bind to tunnel interfaces so the tunnels must exist first. Candidate configuration only; no commit or push is performed. Runtime verification requires a prior manual commit and push to the managed firewall.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
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.
tunnelsYes1 or 2 IPsec tunnels (single or dual deployment)
firewallNoTarget firewall name (from firewalls.json). Required when multiple firewalls are configured; optional otherwise.
templateYesPanorama template name (one per firewall)
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.
ikeCryptoProfilesYes
ipsecCryptoProfilesYes
Install Server

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already mark it read-only, but the description adds valuable behavioral context beyond that: it returns plan metadata (planId, planHash, requiredSecretSlots), performs no commit or push, and requires a prior manual commit/push for runtime verification. There is no contradiction with the annotations.

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?

The description is four sentences, each earning its place: what the tool plans, what it returns, the critical sibling ordering, and the candidate-only/no-commit behavior. It is front-loaded with the READ-ONLY marker and purpose.

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 complex planning tool with no output schema, the description provides useful return-value context and operational caveats. It could say a bit more about how the returned planId is consumed, but the guidance about BGP ordering and candidate-only behavior is sufficient for an agent to proceed correctly.

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?

Schema description coverage is 78%, so the input schema already carries most parameter meaning. The description adds high-level context about what resource categories are planned, but it does not add detailed parameter semantics beyond the schema, which is acceptable given the high coverage.

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?

The description names a specific verb ('Plans') and a specific resource ('ordered IPsec candidate mutations'), and enumerates the object types covered. It clearly distinguishes the planning role from sibling functions like panorama_plan_bgp, panorama_apply_ipsec_candidate, and the verification tools.

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?

The description gives explicit sequencing guidance: 'Run this BEFORE panorama_plan_bgp' and explains why BGP peers need the tunnels to exist first. It also states when it is not the right step: 'Candidate configuration only; no commit or push is performed' and that runtime verification requires a prior manual commit and push.

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