Skip to main content
Glama
yaylaerkan

palo-alto-bgp-ipsec

by yaylaerkan

set_config

Destructive

Set or create firewall configuration at a specific XPath location, staging changes in the candidate config for later commit to take effect.

Instructions

[MODIFIES CONFIG] Sets or creates configuration at a specific XPath location on the firewall. Changes are staged in the candidate config and require a separate 'commit' to take effect on the running firewall.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xpathYesXPath to the configuration location (e.g., '/config/devices/entry[@name="localhost.localdomain"]/vsys/entry[@name="vsys1"]/address')
elementYesXML element to set at the xpath location (e.g., '<entry name="test-addr"><ip-netmask>10.0.0.1/32</ip-netmask></entry>')
firewallNoTarget firewall name (from firewalls.json). Required when multiple firewalls are configured; optional otherwise.
Install Server

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already provide readOnlyHint=false and destructiveHint=true. The description adds valuable behavior beyond those flags by disclosing that changes are staged in the candidate config and only take effect on the running firewall after a commit. It does not detail overwrite behavior or validation side effects, but the core behavioral disclosure is strong.

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 one tightly written sentence with an informative '[MODIFIES CONFIG]' front-loaded marker. Every part adds value: what the tool does, where it acts, and the critical commit dependency.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a config-mutation tool with two required parameters and one optional firewall target, the description covers the essential behavior, the target location, and the key workflow requirement of committing later. The input schema handles parameter details, and the operation's outcome is clear enough without an output schema.

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 100%, with all parameters documented including patterns and examples. The tool description adds no additional parameter-level meaning beyond what the schema already provides, so the baseline of 3 is appropriate.

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 uses a specific verb ('Sets or creates') and targets a clear resource ('configuration at a specific XPath location on the firewall'). This distinguishes it from related siblings like get_config, delete_config, and commit.

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 implies when to use this tool: when creating or updating configuration at an XPath. It also gives important operational context by noting that changes are staged in candidate config and require a separate commit, effectively distinguishing it from the commit tool. It does not explicitly name alternatives or exclusions, so it stops short of 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