Skip to main content
Glama
jeffgolden

Cloudflare MCP Server

by jeffgolden

cloudflare-dns-mcp_create_security_rule

Create custom firewall security rules for zones on Cloudflare by defining rule name, expression, action, and priority. Configure and manage zone-specific security settings efficiently.

Instructions

Create a custom firewall security rule for a zone

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes
expressionYes
pausedNo
priorityNo
rule_nameYes
zone_nameYes
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states this is a creation operation but doesn't mention required permissions, whether it's idempotent, what happens on duplicate rule names, rate limits, or what the response looks like. For a mutation tool with zero annotation coverage, this leaves significant behavioral gaps.

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 a single, efficient sentence that gets straight to the point with zero wasted words. It's appropriately sized for a tool with this level of complexity and is perfectly front-loaded with the essential information.

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 mutation tool with 6 parameters, 0% schema description coverage, no annotations, and no output schema, the description is insufficient. It doesn't explain what a 'custom firewall security rule' entails, what valid 'action' values are, how 'expression' should be formatted, or what the tool returns. The agent lacks critical context for proper tool invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, meaning none of the 6 parameters have descriptions in the schema. The description adds no parameter information beyond what's implied by the tool name - it doesn't explain what 'action', 'expression', 'priority', 'paused', 'rule_name', or 'zone_name' mean or how they should be formatted. This is inadequate given the complete lack of schema documentation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('Create') and resource ('custom firewall security rule for a zone'), making the purpose unambiguous. It distinguishes this tool from siblings like 'create_dns_record' or 'create_redirect' by specifying the resource type. However, it doesn't explicitly differentiate from 'update_security_rule' or 'delete_security_rule' beyond the action verb.

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?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (like needing an existing zone), when not to use it, or how it differs from similar tools like 'update_security_rule' or 'list_waf_rules'. The agent must infer usage from the tool name alone.

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

Related 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/jeffgolden/cloudflare_mcp'

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