Skip to main content
Glama

pin

Freeze a composition's current state for later rendering, returning a versioned name unaffected by subsequent edits; set release=true to drop an unused frozen version.

Instructions

Freeze a composition as it is now, for a render later: returns a name (@) that render takes as its composition and that keeps showing this version, whatever is edited after (its assets, translations and tokens too). A render of a pin releases it when it finishes; release=true drops one unused. Pins last while the server runs.

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": {
      "composition": "<composition>"
    },
    "name": "pin"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage to show (e.g. en). Default: the source language the documents are written in; others come from locales/<lang>.json
releaseNo
compositionYesComposition name (file in compositions/ without .json)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false), it discloses that the snapshot covers assets, translations and tokens, that a render auto-releases the pin on completion, that pins are in-memory and lost when the server stops, and how release=true behaves. These lifecycle and side-effect details are exactly the context the structured annotations can't convey.

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?

Content is front-loaded with the core action and return value, and each clause (lifetime, auto-release, release flag) carries distinct information. The long parenthetical about assets/translations/tokens is slightly dense but earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description still explains the returned name and how render consumes it, plus pin lifetime and cleanup semantics. For a three-parameter mutation tool, an agent has everything needed to invoke and reason about the result.

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?

The schema documents composition and lang at 67% coverage, leaving release with only a default. The description compensates by explaining release=true semantics ('drops one unused') and implying that the frozen scope covers per-language content (translations, tokens), adding meaning beyond the raw 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 opens with a specific verb and resource ('Freeze a composition') and immediately frames the snapshot concept, which an agent can distinguish from the sibling 'render' that consumes the result. It also states the return value shape (<composition>@<n>), so the purpose is unambiguous.

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?

Usage context is explicit: create a pin now so a render later sees this exact version, and release=true drops an unused pin. The description ties it directly to 'render' as the consumer, giving a clear when-to-use signal even though it doesn't spell out an explicit when-not-to-use condition.

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