Skip to main content
Glama

put_firewall

Idempotent

Updates inbound rules for a specific firewall by ID, allowing you to set protocols, destination ports, source CIDRs, actions, and rule status.

Instructions

Update specific firewall rules [PUT /v1/firewalls/{firewallId}] Set rules for a specific firewall. Currently only inbound rules are allowed to be configured.

Input Schema

NameRequiredDescriptionDefault
bodyYesJSON request body
firewallIdYesThe identifier of the firewall
x-trace-idNoIdentifier to trace group of requests.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare idempotent=true, destructive=false, openWorld=true, so the safety profile is covered. The description usefully adds that only inbound rules can be configured, but omits the critical PUT semantic: whether existing rules are replaced wholesale or merged. For a ruleset-replacing call, that omission is significant.

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?

Two short sentences with the endpoint and the key constraint front-loaded; no filler. The opening clause mildly restates the title but earns its place by naming the resource.

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?

The rich schema covers the body structure and annotations cover safety, so little is missing. The remaining gap is the replace-vs-merge behavior of a PUT on the ruleset, which the agent must know before invoking it and which nothing else in the definition supplies.

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 description coverage is 100% and the nested body schema documents inbound rules, enums, CIDR handling, and port ranges in detail. The description adds nothing beyond the schema, so the baseline 3 applies.

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 ('Update specific firewall rules') plus the endpoint, and adds the constraint that only inbound rules are configurable. However, it never distinguishes itself from the sibling patch_firewall, which an agent would naturally confuse with this tool.

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 versus patch_firewall or create_firewall, and no prerequisites or exclusions. The only constraint given ('only inbound rules are allowed') is a data-model limitation, not usage routing.

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