Skip to main content
Glama
gensecaihq

pfSense MCP Server

by gensecaihq

create_ipsec_phase1_encryption

Creates a new IPsec Phase 1 encryption algorithm entry with specified algorithm, key length, DH group, and hash/PRF options.

Instructions

Create an IPsec Phase 1 encryption algorithm entry

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dhgroupNoDiffie-Hellman group number (1, 2, 5, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 28, 29, 30, 31, 32)
parent_idYesParent Phase 1 ID to associate this encryption with
prf_algorithmNoPRF algorithm for IKEv2 (sha1, sha256, sha384, sha512, aesxcbc)
hash_algorithmNoHash algorithm (sha1, sha256, sha384, sha512, aesxcbc, md5)
apply_immediatelyNoWhether to apply changes immediately
encryption_algorithm_nameYesEncryption algorithm (aes, aes128gcm, aes192gcm, aes256gcm, blowfish, 3des, cast128)
encryption_algorithm_keylenNoKey length in bits (128, 192, 256; required for variable-length algorithms like AES)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

Annotations already indicate readOnlyHint=false and destructiveHint=false, so the agent knows this is a mutating but non-destructive operation. The description adds no additional behavioral context, such as whether changes require applying via apply_ipsec_changes or whether duplicate entries are rejected.

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?

Description is a single clear sentence with no redundant information. It is front-loaded with the verb, but offers minimal detail beyond the name.

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

Completeness2/5

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

For a tool with 7 parameters and an output schema, the description is extremely sparse. It fails to explain that parent_id must reference an existing Phase 1 entry, that some algorithms require key lengths, or that changes may need to be applied via apply_ipsec_changes. The output schema helps, but the description doesn't provide essential usage context.

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 provides 100% coverage with descriptions for all 7 parameters including allowed values for dhgroup, encryption_algorithm_name, etc. The tool description adds no extra parameter information, so baseline of 3 applies.

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?

Description uses specific verb 'Create' and resource 'IPsec Phase 1 encryption algorithm entry', clearly distinguishing from Phase 2 encryption creation. It states exactly what the tool does.

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 guidance on when to use this tool versus alternatives like search_ipsec_phase1_encryptions or create_ipsec_phase2_encryption. No exclusions or prerequisites mentioned.

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/gensecaihq/pfsense-mcp-server'

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