Skip to main content
Glama

driftguard_create_snapshot

Create a lightweight workspace checkpoint before risky file or configuration changes, enabling rollback to a known state.

Instructions

Crea un checkpoint (snapshot) leggero dello stato del workspace prima di eseguire modifiche rischiose a file o configurazioni.

Input Schema

NameRequiredDescriptionDefault
labelNoDescrizione opzionale dello scopo dello snapshot (es. "prima di migrazione DB" o "prima di refactoring auth")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden; 'leggero' usefully signals that this is a cheap, non-destructive operation rather than a full backup. However, it never says what the snapshot captures, how long it is retained, or that it is the object later consumed by driftguard_rollback, leaving the agent to infer the safety model.

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?

One sentence, front-loaded with the action and the object, with the timing constraint appended where it is most useful. Nothing is redundant or padded.

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?

For a one-parameter tool with no output schema, the definition is workable but leaves a real gap: it does not tell the agent what comes back (a snapshot identifier or name) that would be needed to later call driftguard_rollback. The absence of annotations also means the reversibility and permission profile go unstated.

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

Parameters3/5

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

The single optional 'label' parameter is fully documented in the schema (100% coverage) with examples, so the description does not need to compensate. It adds no meaning beyond the schema, which is the expected baseline here.

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 gives a specific verb and resource in 'Crea un checkpoint (snapshot) leggero dello stato del workspace', which tells an agent exactly what is produced. It does not name any sibling such as driftguard_rollback or driftguard_list_snapshots, so the differentiation from the surrounding snapshot lifecycle tools is left implicit.

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?

'prima di eseguire modifiche rischiose a file o configurazioni' clearly states the triggering condition for calling this tool, which is genuine when-to-use guidance. It stops short of naming the alternatives (rollback vs. list snapshots) or saying when a snapshot is unnecessary, so no exclusions are given.

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