Skip to main content
Glama

Make a version the cut

set_head
Idempotent

Makes an existing version THE CUT the production line renders — the same act as the human's «restore» on the version timeline. Non-destructive: the previous cut stays in history (superseded); the next production run renders the new cut. Requires write. $0.

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>",
      "version_id": "<version_id>"
    },
    "name": "set_head"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes
version_idYesA version id of the project's timeline.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / version_id / description
      Previous value: -"A version id from `list_versions`."New value: +"A version id of the project's timeline."
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Going well beyond the annotations (which only say non-readOnly, idempotent, non-destructive), it discloses that the previous cut is retained in history as `superseded`, that the effect is deferred to the next production run, that `write` permission is required, and that the call costs $0. These are exactly the operational facts an agent needs before mutating state.

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?

Four tight clauses with no filler: what it does, the human-equivalent framing, the non-destructive consequence, and the operational requirements. The most decision-relevant fact (what it makes the cut) is front-loaded.

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 two-parameter mutation with no output schema, the description covers effect, reversibility, permission, and cost — enough to call it correctly. It omits failure modes (e.g., unknown version or project id), but nothing essential to a correct invocation is missing.

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 coverage is 50%: `version_id` is documented in the schema, while `project_id` is undocumented in both places. The description adds only the implicit requirement that the version already exist and belong to the project's timeline, which is marginal beyond the schema text.

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 names a specific verb and resource ('Makes an existing version THE CUT the production line renders') and anchors it to a familiar human action ('the same act as the human's «restore»'). That framing plus the note that the next production run renders the new cut clearly separates it from siblings like produce or commit.

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 usable context: this is the equivalent of restoring a version on the timeline, it requires `write`, and the render happens later via the production run rather than here. It does not explicitly name an alternative tool or state when NOT to use it, so it stops short of full routing guidance.

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