Skip to main content
Glama

Linux Firewall

linux_firewall

Retrieve a read-only snapshot of nftables, iptables, and policy routing to diagnose firewall and routing configuration.

Instructions

Firewall snapshot: nftables + iptables + policy routing (read-only)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
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 of behavioral disclosure. It does declare 'read-only', which is a key safety property, but it does not mention potential permission requirements or any other runtime behavior. This is minimal but not misleading.

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 front-loaded sentence containing only meaningful information: the scope of the snapshot and its read-only nature. There is no filler, redundancy, or unnecessary elaboration.

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?

An output schema exists, so return-value details do not need to be in the description, and the listed subsystems are helpful. However, with no annotations, no usage guidance, and no parameter hints, an agent still lacks some context needed to invoke the tool with full confidence.

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

Parameters1/5

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

The schema has a single optional free-form 'params' object with zero property descriptions, and the description adds no information about accepted parameters or filters. Since schema description coverage is 0%, the description needed to compensate but did not.

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 identifies this as a firewall snapshot and explicitly enumerates nftables, iptables, and policy routing, which distinguishes it from broader siblings like linux_network. It lacks an explicit verb such as 'get' or 'show', but the term 'snapshot' makes the intended operation reasonably clear.

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 is provided on when to use this tool versus alternatives such as linux_network or service_ip_filter, and no exclusions or prerequisites are stated. The agent must infer the appropriate usage from the tool name and the word 'snapshot'.

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