Skip to main content
Glama

Vira – Create, Teach & Manage AI Behavior

materialize_pack_revision

Materialize an approved Pack Revision into canonical runtime state. Use only after the preceding resource and authority prerequisites are satisfied; inspect the server receipt before continuing. Required fields: organizationId, projectId, environmentId, revisionId, packId. The authenticated MCP session supplies the tenant scope; any supplied scope identifiers must match it. Unknown fields are rejected. This changes governed state and remains fail-closed behind server authorization and an auditable receipt.

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>",
      "packId": "<packId>"
    },
    "name": "materialize_pack_revision"
  }
}

Input Schema

NameRequiredDescriptionDefault
packIdYesImmutable packId reference used to bind this materialize_pack_revision operation to the correct released or persisted resource.
projectIdNoAuthenticated customer scope identifier; must match the API key scope and is never inferred from model text.
variablesNoDocumented variables input for materialize_pack_revision; use the published type and keep customer data within the authenticated scope.
revisionIdYesImmutable revisionId reference used to bind this materialize_pack_revision operation to the correct released or persisted resource.
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. Changed7 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 / packId / description
      Added value: +"Immutable packId reference used to bind this materialize_pack_revision operation to the correct released or persisted resource."
    • 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 materialize_pack_revision operation to the correct released or persisted resource."
    • addedInput schema / properties / variables / description
      Added value: +"Documented variables input for materialize_pack_revision; use the published type and keep customer data within the authenticated scope."
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false) the description adds real behavior: it mutates governed state, is fail-closed behind server authorization, and produces an auditable receipt the agent should inspect. It does not address retry semantics despite idempotentHint=false, which is the one notable gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose and dense, but the enumerated required-field list duplicates the schema and is inaccurate, so it does not earn its space. The tenant-scope sentence also largely restates what the schema property descriptions already say.

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

Completeness3/5

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

There is no output schema, yet the return value is only gestured at ('inspect the server receipt') without saying what the receipt contains or what a failure looks like. For a non-idempotent governed-state mutation with a nested variables object, the definition covers the safety posture but leaves the call contract and the variables payload underspecified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so a baseline 3 would apply, but the description lists organizationId, projectId and environmentId as 'required fields' while the schema marks only revisionId and packId as required and treats the scope fields as optional. That mismatch can push the agent to supply unnecessary parameters or assume a validation failure, and the nested 'variables' parameter is never mentioned.

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 and resource plus the outcome: 'Materialize an approved Pack Revision into canonical runtime state.' The word 'approved' and 'canonical runtime state' separate it from siblings like transition_pack_revision or get_pack_revision_diff without naming them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Use only after the preceding resource and authority prerequisites are satisfied' signals a gate but never says which prerequisites or how to verify them. No alternative tool is named for the case where the revision is not yet approved or where the agent wants a dry run, so the agent must infer the sequencing.

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