Skip to main content
Glama

create_version

Snapshot the project's current working tree as a named git version (the platform's version history). Call this BEFORE large or risky rewrites so the change can be rolled back or reviewed later; pass a short human-readable title (and an optional longer body) describing what this version captures. Returns the new commit_sha. Creating a version also resolves any active pending review change as committed into the snapshot — its edits are preserved in the version, never reverted (#7230). Read-only sessions cannot call this.

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": {
      "project_id": "<project_id>"
    },
    "name": "create_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNo
titleNo
project_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses the returned commit_sha, that it resolves an active pending review change as committed into the snapshot (edits preserved, never reverted, #7230), and that read-only sessions cannot call it. These are non-obvious side effects and permission constraints that go beyond the schema, though rate limits and failure modes are unmentioned.

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?

Well front-loaded: the core action leads, followed by usage timing, return value, side effect, and permission note. It is information-dense with no filler, though the middle sentences are somewhat long and could be tightened.

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?

An output schema exists, so return values needn't be exhaustively described, yet it still names commit_sha helpfully. For a mutation tool with zero annotations, the description covers the critical side effect, permission constraint, and purpose, leaving only minor gaps (e.g. project_id semantics, error behavior).

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?

Schema description coverage is 0%, so the description must compensate. It adds useful meaning for title ('short human-readable title') and body ('optional longer body describing what this version captures'), but project_id is never explained beyond its name. Partial compensation for the coverage gap merits a mid score.

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?

States a specific verb (Snapshot) and resource (the project's current working tree) and clarifies it produces a named git version that constitutes the platform's version history. An agent can distinguish this write/snapshot action from siblings like list_versions or sync_from_git without opening a 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?

Explicit timing guidance: 'Call this BEFORE large or risky rewrites so the change can be rolled back or reviewed later', which tells the agent when this tool is appropriate. It does not explicitly contrast against alternatives (e.g. sync_from_git), but the context is clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources