Skip to main content
Glama

snapshot

Names the current version with a commit in history, making it easy to find and restore later without changing files.

Instructions

Name the current version (e.g. "给客户的第一版") with a commit in the history, so it is easy to find and go back to: history lists it, restore returns to it. The files do not change. Returns the commit.

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": "snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesWhat to call this version

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.2
    • addedInput schema / properties / name / description
      Added value: +"What to call this version"
  2. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare it as a non-read-only, non-destructive, non-idempotent mutation, and the description meaningfully extends that by clarifying "The files do not change" and "Returns the commit" — telling the agent the mutation only records a labeled point in history. It does not address duplicate-name behavior or what the returned commit looks like.

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?

It is short and front-loads the purpose, with the payoff (findable, restorable) immediately after. The phrasing "with a commit in the history" is slightly awkward and could be tightened, but nothing is wasted.

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?

With one well-documented parameter, no output schema, and clear annotations, the description covers what the agent needs: effect on files, downstream consumers, and return value. Only edge-case behavior (name collisions, commit output shape) is unaddressed.

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 100% and the single parameter is already documented as "What to call this version". The description adds value with a concrete example ("给客户的第一版") showing the intended style of human-readable label rather than an ID or slug, which is meaning 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 action: naming the current version with a commit in the history. It names the two sibling tools that consume the result ("history lists it, restore returns to it"), so an agent can place it in the workflow without opening another schema.

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?

It gives the motivating condition clearly ("so it is easy to find and go back to") and implicitly routes the agent to history for listing and restore for reverting. It stops short of explicit when-not-to-use guidance, such as what happens if the name already exists or when a snapshot is unnecessary.

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

Deploy Server

Other Tools