Skip to main content
Glama

Vira – Create, Teach & Manage AI Behavior

import_pack

PACK AUTHORING: validate and create a Pack draft from a manifest or archive. Only manifest plus authenticated scope are required; objects/archiveBase64/fileName are alternatives. Continue install → evaluate → approve → release.

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": {
      "manifest": "<manifest>"
    },
    "name": "import_pack"
  }
}

Input Schema

NameRequiredDescriptionDefault
objectsNoStructured objects payload validated against the published contract; caller-supplied scores or authority signals are not trusted.
fileNameNoDocumented fileName input for import_pack; use the published type and keep customer data within the authenticated scope.
manifestYesStructured manifest payload validated against the published contract; caller-supplied scores or authority signals are not trusted.
projectIdNoAuthenticated customer scope identifier; must match the API key scope and is never inferred from model text.
archiveBase64NoDocumented archiveBase64 input for import_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. Changed8 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / archiveBase64 / description
      Added value: +"Documented archiveBase64 input for import_pack; use the published type and keep customer data within the authenticated scope."
    • 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 / fileName / description
      Added value: +"Documented fileName input for import_pack; use the published type and keep customer data within the authenticated scope."
    • addedInput schema / properties / manifest / description
      Added value: +"Structured manifest payload validated against the published contract; caller-supplied scores or authority signals are not trusted."
    • addedInput schema / properties / objects / description
      Added value: +"Structured objects payload validated against the published contract; caller-supplied scores or authority signals are not trusted."
    • 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."
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), so the description's job is to add state and outcome context. It does contribute that the result is a *draft* and that input is validated first, which is meaningful beyond the annotations. It says nothing about what happens when validation fails, whether a failed call leaves anything behind, or what the draft is keyed by — gaps that matter for a non-idempotent mutation.

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?

Three short sentences, front-loaded with a category label and the core verb, then the parameter rule, then the lifecycle pointer. No sentence is padding, and the arrow chain conveys sequencing more compactly than prose would.

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?

For a 7-parameter, nested-object mutation with no output schema, the description covers inputs and workflow position well but leaves the return value entirely implicit — an agent cannot tell whether it receives a draft ID, a revision handle, or validation diagnostics to pass into evaluate_pack. That is the one substantive omission for a tool this complex.

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?

Schema coverage is 100%, so the baseline would be 3. The description earns above baseline by resolving the one thing the flat schema cannot: that manifest is the sole required payload and objects/archiveBase64/fileName are alternate ways to supply the same content rather than things to pass together. It does not explain the projectId/environmentId/organizationId scope relationship, but the schema already does.

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 uses a specific verb pair ('validate and create a Pack draft') against a named resource ('manifest or archive') and tags the tool as the entry point of the Pack authoring flow. It distinguishes itself from the surrounding lifecycle stages by naming them explicitly (install → evaluate → approve → release), though it never names a sibling tool it could be confused with.

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 states the minimum invocation ('only manifest plus authenticated scope are required') and clarifies that objects/archiveBase64/fileName are mutually alternative input modes, which is genuine when-to-use guidance. The follow-on chain ('Continue install → evaluate → approve → release') tells the agent where this sits in the workflow. It stops short of stating when NOT to use it (e.g. revising an existing pack, which belongs to create_pack_revision).

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