Skip to main content
Glama
rsp2k
by rsp2k

setup_web_server_rules

Configure firewall rules for web servers to allow HTTP, HTTPS, SSH, and ICMP traffic, ensuring secure access while maintaining network protection.

Instructions

Set up common firewall rules for a web server.

Args: firewall_group_id: The firewall group ID or description (e.g., "web-servers" or UUID) allow_ssh_from: IP subnet to allow SSH from (default: anywhere)

Returns: List of created firewall rules

Creates rules for:

  • HTTP (port 80) from anywhere

  • HTTPS (port 443) from anywhere

  • SSH (port 22) from specified subnet

  • ICMP (ping) from anywhere

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
firewall_group_idYes
allow_ssh_fromNo0.0.0.0/0

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description carries the full burden. It clearly indicates this is a creation/mutation tool ('Creates rules'), but doesn't disclose important behavioral traits like whether it overwrites existing rules, requires specific permissions, has rate limits, or provides error handling. The description adds some context about what gets created but lacks comprehensive behavioral disclosure.

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 efficiently structured with clear sections (description, args, returns, details), front-loading the main purpose. Every sentence adds value: the opening statement defines the tool, the args section explains parameters, the returns section states the output, and the bullet list specifies exactly what gets created. Zero wasted text.

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?

Given this is a mutation tool with no annotations but with an output schema (which handles return values), the description provides good context: clear purpose, parameter explanations, and detailed specification of what rules get created. It could be more complete by mentioning behavioral aspects like permissions or idempotency, but covers the essential context well for a setup tool.

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

Parameters4/5

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

With 0% schema description coverage for 2 parameters, the description compensates well by explaining both parameters: 'firewall_group_id' is described as 'The firewall group ID or description' with examples, and 'allow_ssh_from' is explained as 'IP subnet to allow SSH from' with its default value. This adds significant meaning beyond the bare schema.

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 clearly states the specific action ('Set up common firewall rules') and resource ('for a web server'), distinguishing it from sibling tools like 'create_rule' or 'list_firewall_rules' by specifying it's for web server configurations. It explicitly lists the ports and protocols being configured, making the purpose highly specific.

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

Usage Guidelines3/5

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

The description implies usage when setting up firewall rules for a web server, but doesn't explicitly state when to use this tool versus alternatives like 'create_rule' or 'configure_basic_web_lb'. It mentions the default SSH access setting but doesn't provide guidance on prerequisites 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/rsp2k/mcp-vultr'

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