Skip to main content
Glama

sysknife_get_firewall_backend_state

Read-onlyIdempotent

Inspect nftables, ufw, and firewalld status read-only to determine general firewall backend state; inactive or unavailable frontends do not prove the host is unfiltered.

Instructions

Read-only SysKnife action GetFirewallBackendState. inspect nftables, ufw and firewalld observations — no params; read-only; use for general firewall status; unavailable or inactive frontends do not prove the host is unfiltered

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.27.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered by structured data. The description earns credit for what it adds beyond that: a scope statement (three backends probed) and the interpretive warning that an unavailable or inactive frontend is not evidence of an unfiltered host. It does not describe the shape or failure modes of the returned observations.

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?

A single compact line, front-loaded with the action name and the resource scope before the caveat about inactive frontends. Slight redundancy in restating 'read-only' twice (in the opener and again as a fragment), but no sentence is wasted.

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?

For a parameterless read tool with no output schema and full annotation coverage, the description covers scope, safety, and the main interpretive pitfall. The remaining gap is return-value shape — an agent is not told what a 'backend state' observation looks like per frontend — but that is a modest omission given the tool's simplicity.

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?

Zero parameters, and the description confirms this explicitly with 'no params', which matches the empty schema. The baseline for a parameterless tool applies and nothing is left ambiguous.

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?

It names the concrete sources it inspects (nftables, ufw, firewalld observations), so an agent knows this aggregates multiple firewall backends rather than a single one. The verb 'inspect' plus the explicit backend list is specific. It stops short of 5 because it never distinguishes itself from the sibling tools sysknife_get_firewall_state, sysknife_ufw_status, or sysknife_get_nftables_ruleset, which read like overlapping resources.

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?

'Use for general firewall status' is a when-to-use signal, and the caveat that unavailable/inactive frontends do not prove the host is unfiltered gives useful interpretation guidance. But it gives no contrast against the very similarly purposed sibling sysknife_get_firewall_state, so an agent cannot reliably choose between them from this text. Selection guidance is implied rather than comparative.

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