Skip to main content
Glama
AIops-tools

io.github.AIops-tools/ceph-aiops

rbd_snapshot_create

Create a point-in-time snapshot of a Ceph RBD image to preserve its state for backup or rollback. Specify pool, image, and snapshot name.

Instructions

[WRITE][risk=medium] Snapshot an RBD image. Reversible → delete the snapshot.

Args: pool_name: Pool the image lives in. image_name: Image to snapshot (from rbd_ls). snap_name: Name for the new snapshot. target: Ceph target name from config; omit for the default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetNo
pool_nameYes
snap_nameYes
image_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.11.5
  2. Removedv0.3.0
  3. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral burden. It explicitly marks the operation as [WRITE][risk=medium] and explains reversibility via snapshot deletion, which is meaningful beyond the name and schema. It does not cover permission requirements or failure modes, but the key safety context is present.

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?

The description is compact, front-loaded with risk and operation tags, and uses a scannable Args block. Every sentence and parameter line earns its place without redundancy.

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 simple snapshot-creation tool with no output schema, the description covers all inputs and the reversibility of the operation. Minor gaps remain around duplicate snap_name handling and failure behavior, but these are not critical for correct invocation.

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?

Although schema description coverage is 0%, the description compensates by documenting all four parameters with actionable definitions, including the 'from rbd_ls' guidance for image_name and the default behavior for target. This adds real value beyond the schema.

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?

The description states a specific verb and resource: 'Snapshot an RBD image.' This clearly identifies the operation and distinguishes it from sibling tools like rbd_snapshot_delete, rbd_image_create, and rbd_image_delete.

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 intended use is implied by the action and the hint 'Reversible → delete the snapshot,' which points toward the inverse operation. However, it does not explicitly name an alternative or state when to prefer this tool over related tools.

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