Skip to main content
Glama

firewall_log

Read-only

Read recent firewall log entries, optionally filtered by action such as pass or block, to inspect traffic decisions and troubleshoot blocked connections.

Instructions

[READ] Recent firewall-log entries, optionally filtered to pass/block.

Args: action: Optional filter — one of pass, block, reject, rdr, nat. limit: Max entries to return (default 200). target: Firewall target name from config; omit for the default.

Returns an envelope: {"entries": [...], "returned": N, "limit": L, "truncated": bool}. When "truncated" is true there are more entries than were returned — re-run with a higher limit rather than treating the result as the complete log.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
actionNo
targetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A4.4/5.0
Behavior5/5

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

The readOnlyHint annotation is echoed by the [READ] tag (no extra credit there), but the description goes well beyond it: it documents the exact return envelope, the meaning of 'truncated', and the corrective action of re-running with a higher limit. For a log reader with no output schema, that truncation/pagination semantics is genuinely load-bearing behavioral context.

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?

Front-loaded scope line, then a compact Args block, then the return envelope. Every sentence adds information — no restatement of the tool name and no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With zero schema description coverage and no output schema, the description supplies both the parameter meanings and the response shape, including the truncation edge case. There is no material gap an agent would need to guess at before calling it.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full burden and does: it enumerates the valid 'action' values (pass, block, reject, rdr, nat) that the schema leaves as an untyped string, gives the default of 200 for 'limit', and explains that 'target' comes from config and is optional. This is meaningful compensation for the schema gap.

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 states a specific verb and resource — recent firewall-log entries — plus the available filter dimension (pass/block and the wider action set). It's immediately distinguishable from analysis-oriented siblings like blocked_traffic_rca, but it never names or contrasts those siblings explicitly, which is the only thing separating it from a 5.

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 implied rather than stated: an agent can infer this is the tool for raw log inspection, and the description notes that omitting 'target' uses the default. There is no explicit guidance on when to use this versus blocked_traffic_rca or top_talkers, and no when-not conditions.

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