Skip to main content
Glama

create_firewall

Create a firewall definition with a name, inbound rules, and active or inactive status to control allowed traffic for assigned Contabo instances.

Instructions

Create a new firewall definition [POST /v1/firewalls] Create a new firewall definition by specifying its name and a set of rules. The status of the firewall determines whether the rules are active or not.

Input Schema

NameRequiredDescriptionDefault
bodyYesJSON request body
x-trace-idNoIdentifier to trace group of requests.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true). The description adds modest value by explaining that firewall status gates whether rules are active, but says nothing about what is returned, whether creation fails on duplicate names, or what permissions are required.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded and short, but the second sentence largely duplicates the schema's own 'status' description, and the bracketed endpoint repeats the title. Two of three sentences carry real information.

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?

No output schema exists, so the description would ideally indicate what a successful creation returns (e.g., an identifier) and any duplicate-name behavior. For a nested-object create operation, the description covers the shape but not the outcome.

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% and deeply documented (nested rule objects, CIDR, protocol enums, port lists). The description's mention of name, rules, and status merely restates what the schema already explains verbatim, adding no new semantics.

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?

States a specific verb and resource ('Create a new firewall definition') plus the endpoint POST /v1/firewalls, and notes the inputs (name, rules). It doesn't differentiate from sibling write tools like put_firewall or patch_firewall, so an agent must infer create-vs-replace from the name alone.

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?

Usage is only implied by the verb 'create'; there is no explicit statement of when to use this instead of put_firewall (full replacement) or patch_firewall (partial update). No prerequisites, limits, or exclusions are given.

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

Deploy Server

Other Tools