Skip to main content
Glama

Vira – Create, Teach & Manage AI Behavior

transition_pack_revision

PACK REVISION STATE MACHINE: validate, request approval, approve, release, or reject a Pack Revision. Do not substitute approve_pack/release_pack; those operate on imported Pack records.

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": {
      "revisionId": "<revisionId>",
      "transition": "<transition>"
    },
    "name": "transition_pack_revision"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdNoAuthenticated customer scope identifier; must match the API key scope and is never inferred from model text.
revisionIdYesImmutable revisionId reference used to bind this transition_pack_revision operation to the correct released or persisted resource.
transitionYesExplicit lifecycle decision requested by the authorized reviewer; invalid or out-of-order transitions fail closed.
environmentIdNoAuthenticated customer scope identifier; must match the API key scope and is never inferred from model text.
organizationIdNoAuthenticated customer scope identifier; must match the API key scope and is never inferred from model text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / environmentId / description
      Added value: +"Authenticated customer scope identifier; must match the API key scope and is never inferred from model text."
    • addedInput schema / properties / organizationId / description
      Added value: +"Authenticated customer scope identifier; must match the API key scope and is never inferred from model text."
    • addedInput schema / properties / projectId / description
      Added value: +"Authenticated customer scope identifier; must match the API key scope and is never inferred from model text."
    • addedInput schema / properties / revisionId / description
      Added value: +"Immutable revisionId reference used to bind this transition_pack_revision operation to the correct released or persisted resource."
    • addedInput schema / properties / transition / description
      Added value: +"Explicit lifecycle decision requested by the authorized reviewer; invalid or out-of-order transitions fail closed."
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

The annotations already declare non-read-only, non-destructive, non-idempotent, closed-world behavior. The description adds useful framing as a state machine plus the sibling-collision warning, but says nothing about irreversible effects, required reviewer permissions, or what happens to the revision on reject.

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?

Two sentences with a front-loaded category label, zero filler, and the disambiguation placed immediately after the purpose. Nothing superfluous.

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 mutation tool with no output schema and five well-documented parameters, the definition covers purpose, lifecycle scope, and sibling disambiguation. It is slightly thin on prerequisites and outcome state, but adequate to call correctly.

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 100%, so revisionId, transition, and the scope identifiers are already fully documented in the input schema. The description adds no extra syntax, allowed transition values, or ordering rules beyond that baseline.

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?

Names a specific verb and resource ("transition ... a Pack Revision") and enumerates the lifecycle decisions it covers (validate, request approval, approve, release, reject). It also explicitly distinguishes itself from approve_pack/release_pack, so an agent can tell it apart from those siblings without opening schemas.

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?

Gives an explicit negative routing rule: do not substitute approve_pack/release_pack because those act on imported Pack records, which clearly scopes this tool to revisions. It stops short of positive preconditions (e.g., which revision states each transition is valid from), leaving that to the fail-closed behavior of the API.

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