Skip to main content
Glama

Manage IPSec Policy

manage_ipsec_policy
Idempotent

Manage IPSec policies by adding, removing, enabling, or disabling them. Idempotent operations use source and destination addresses with tunnel mode as composite key.

Instructions

Add, remove, enable, or disable an IPSec policy. Idempotent by composite key (srcAddress + dstAddress + tunnel).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
routerIdNoRouter ID; omit to use the default router.
actionYesAction to perform
srcAddressYesSource CIDR — part of composite idempotency key
dstAddressYesDestination CIDR — part of composite idempotency key
tunnelNoTunnel mode — part of composite idempotency key
ipsecActionNoIPSec action (required for add)
levelNoSA levelrequire
saSourceAddressNoSA source IP for tunnel mode
saDstAddressNoSA destination IP for tunnel mode
dryRunNoPreview changes without applying.
Behavior3/5

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

Annotations already provide readOnlyHint=false, destructiveHint=false, idempotentHint=true. The description adds idempotency by composite key, but does not disclose side effects, permission requirements, or error behavior.

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?

Two short sentences, no fluff, front-loaded with actions and key constraint. Every sentence earns its place.

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

Completeness3/5

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

Given 10 parameters and no output schema, the description covers the core purpose and idempotency. However, it omits parameter dependencies (e.g., ipsecAction requirement for add) and does not explain response behavior or error conditions.

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 coverage is 100%, so the schema already documents parameters. The description adds the idempotency key (srcAddress + dstAddress + tunnel), but does not add significant meaning beyond what the schema provides for other parameters.

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 states the tool adds, removes, enables, or disables an IPSec policy, which is a specific verb+resource. It distinguishes from siblings like manage_ipsec_peer (peer management) and list_ipsec_policies (read-only).

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool vs alternatives (e.g., manage_ipsec_peer). The idempotency info is helpful but does not clarify usage context or exclusions.

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

Install Server

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/AliKarami/MikroMCP'

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