Skip to main content
Glama

sysknife_ufw_status

Read-onlyIdempotent

Read current UFW firewall status and rules; use numbered output to identify rule numbers for deletion.

Instructions

Read-only SysKnife action UfwStatus. show current ufw status and rules — optional param: numbered (boolean, default false); true runs ufw status numbered and exposes rule_number values for UfwDeleteRule, false keeps verbose status; read-only

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.27.1

TDQS

A3.7/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 repeated "read-only" phrasing earns nothing. The genuinely additive content is the behavioral difference between modes: numbered mode emits rule_number values usable by a delete action, while the default keeps verbose status — output-shape context that matters since no output schema exists.

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?

It is a single compact sentence, but it opens with a redundant label ("Read-only SysKnife action `UfwStatus`") and closes with "; read-only", duplicating both the opening and the annotations. The useful scoping and parameter content is buried mid-sentence after the filler prefix.

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?

With no defined properties and no output schema, the description must carry the full burden, and it does cover both output modes and the follow-on workflow. Gaps remain around failure behavior (ufw absent/disabled) and required privileges, which matter for a host-configuration reader.

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?

The schema declares zero properties (additionalProperties only), so the description is the sole documentation of the `numbered` flag; it supplies type (boolean), default (false), and the concrete effect of each value. It stops short of clarifying where the flag must be placed in the otherwise empty argument object, which would remove remaining ambiguity.

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: "show current ufw status and rules", which is unambiguous about what the tool returns. It does not differentiate itself from firewall-adjacent siblings such as sysknife_get_firewall_state, sysknife_get_firewall_backend_state, or sysknife_get_nftables_ruleset, so an agent choosing among them gets no routing help.

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 gives solid conditional guidance for the parameter (numbered=true vs false) and links true to a downstream workflow with UfwDeleteRule. However, it never says when to prefer this tool over the other firewall-state siblings, nor any preconditions (ufw installed/enabled, privilege requirements).

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