Skip to main content
Glama
AIops-tools

firewall-aiops

undo_apply

Roll back firewall changes by re-executing a recorded undo through its governed inverse tool, with dry-run preview support to validate before applying.

Instructions

[WRITE][risk=medium] Apply a recorded undo by dispatching its inverse tool.

The inverse runs through its own governed tool, so it is audited and labelled with its own risk tier there. Pass dry_run=True to preview the inverse call without executing it. A token can only be applied once.

Args: undo_id: The undoId from undo_list (or an _undo_id in a write result). dry_run: If True, preview the inverse tool + params without running it. target: Passed through to the inverse tool when it accepts a target.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetNo
dry_runNo
undo_idYes
Behavior3/5

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

Annotations are None, so the description carries the burden. It discloses the write risk tier '[WRITE][risk=medium]', explains the inverse runs through its own governed tool with its own audit/labelling, and states the single-use constraint. However, it doesn't detail what happens on failure, return payload shape, or whether state changes are immediately visible. The 'governed tool' comment adds context beyond annotations but could go further.

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?

Efficient and well-structured: a one-sentence purpose line, compact behavioral facts (audited, single-use, dry-run), a risk marker, then a brief Args section mapping to each parameter. Every sentence earns its place with zero waste.

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 write/dispatch tool with 3 params (1 required), no output schema, and no annotations, the description covers the key aspects: purpose, risk tier, dry-run preview, single-use constraint, and parameter provenance. Slightly incomplete on failure behavior and what the inverse call's success/failure looks like, but reasonably complete for guiding a competent agent.

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?

Schema coverage is 0%, so the description must compensate. It explains undo_id as coming from undo_list or an _undo_id in a write result, dry_run as preview-without-executing, and target as pass-through. This adds meaningful semantics beyond the bare schema, though target's condition ('when it accepts a target') is somewhat vague.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states what it does: 'Apply a recorded undo by dispatching its inverse tool.' The verb 'Apply' + resource 'recorded undo' is specific. Distinguishes from siblings by the mechanism (dispatching inverse tool) and the write-context trait ('[WRITE]').

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides clear usage context: dry_run=True to preview, token can only be applied once, and target pass-through semantics. Doesn't explicitly name alternatives or when-not-to-use, but the 'token can only be applied once' and dry_run guidance give practical usage direction.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AIops-tools/Firewall-AIops'

If you have feedback or need assistance with the MCP directory API, please join our Discord server