Skip to main content
Glama

Vira – Create, Teach & Manage AI Behavior

install_pack

Install a scoped behavior pack. Use only after the preceding resource and authority prerequisites are satisfied; inspect the server receipt before continuing. Required fields: organizationId, projectId, environmentId, 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": {
      "packId": "<packId>"
    },
    "name": "install_pack"
  }
}

Input Schema

NameRequiredDescriptionDefault
packIdYesImmutable packId reference used to bind this install_pack 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 install_pack; use the published type and keep customer data within the authenticated scope.
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 / packId / description
      Added value: +"Immutable packId reference used to bind this install_pack 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 / variables / description
      Added value: +"Documented variables input for install_pack; use the published type and keep customer data within the authenticated scope."
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations, the description discloses that this mutates governed state, is fail-closed behind server authorization, produces an auditable receipt, and rejects unknown fields — all useful operational context. It is consistent with destructiveHint=false and readOnlyHint=false (a governed mutation that is not destructive), though it never mentions the non-idempotent nature the annotations flag.

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?

The sentence order is well front-loaded (purpose, then preconditions, then required fields, then scope rules, then risk posture), and every sentence carries information. It is slightly dense and the scope-matching rule restates what the schema property descriptions already repeat, but there is no filler.

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 non-idempotent governed mutation with no output schema, the description covers scope enforcement, rejection behavior, authorization posture, and the return artifact (receipt). The main missing piece is disambiguation from sibling pack-lifecycle tools and clarification of the required-vs-optional parameter discrepancy.

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 100%, so baseline is 3, and the description does add real meaning: scope identifiers must match the authenticated session tenant and are never inferred from model text. That said, it states 'Required fields: organizationId, projectId, environmentId, packId' while the schema marks only packId as required, which can mislead an agent into over-supplying parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource: 'Install a scoped behavior pack,' which is clearly a write operation on a pack resource. It does not explicitly differentiate itself from siblings like approve_pack, release_pack, or import_pack, so the agent must infer the boundary from names alone.

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' establishes a precondition and 'inspect the server receipt before continuing' establishes a post-step, giving implied usage context. However, the prerequisites are never named, no alternative tool is suggested for the setup steps (e.g. get_pack or release_pack), and there is no when-not-to-use 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