Skip to main content
Glama

Batfish Delete Snapshot

batfish_delete_snapshot

Delete a Batfish snapshot by name, optionally targeting its network first, and return the deleted snapshot name for confirmation.

Instructions

Delete a Batfish snapshot.

  • name: the snapshot name to delete (sanitized with safe_snapshot_name).

  • network: the network the snapshot lives in; if given, the session is pointed at it first.

Returns {name} — the name that was deleted.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>"
    },
    "name": "batfish_delete_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
networkNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It does disclose two useful traits — the name is sanitized via safe_snapshot_name, and supplying ``network`` repoints the session first (a real side effect on session state) — but it never says the deletion is permanent/irreversible, what happens if the snapshot does not exist, or what permissions are required for a destructive operation.

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?

Short and front-loaded: a one-line purpose sentence followed by per-parameter bullets and the return shape. The docstring-style formatting adds minor visual noise but no filler sentences.

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?

The tool is simple (2 params, output schema present so the return value need not be explained), and the description covers parameters and the session side effect. For an unannotated destructive operation, however, it omits irreversibility and failure behavior, which are the pieces an agent most needs before calling it.

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 define both parameters, and it largely does: ``name`` is the snapshot name subject to safe_snapshot_name sanitization, and ``network`` scopes the deletion and causes the session to be pointed at that network first. The one gap is that no valid naming format or example is given.

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 ("Delete a Batfish snapshot") that clearly separates it from sibling list/upload/fork snapshot tools. It does not explicitly name a sibling to contrast with, but the destructive verb leaves no ambiguity about what the tool does.

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 only implied by the verb: an agent can infer it is the tool for removing a snapshot. There is no explicit when-to-use guidance, no note that batfish_list_snapshots should be used first to obtain a valid name, and no warning about when deletion is inappropriate.

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