Skip to main content
Glama

Vira – Create, Teach & Manage AI Behavior

approve_pack

PACK APPROVAL: record human approval for a passed imported/installed Pack evaluation; use before release_pack. For a Pack Revision use transition_pack_revision approve.

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": "approve_pack"
  }
}

Input Schema

NameRequiredDescriptionDefault
packIdYesImmutable packId reference used to bind this approve_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.
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. Changed5 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 approve_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."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already disclose the write profile (readOnlyHint=false, destructiveHint=false, openWorldHint=false). The description adds real context beyond that: this is a human approval gate that must precede release_pack and depends on a prior passing evaluation. It leaves out consequences of repeat calls (idempotentHint=false implies duplicate approvals are possible) and whether an approval can be revoked, which would have earned a 5.

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 short clauses, front-loaded with the operation type, followed immediately by the sequencing constraint and the sibling routing. No filler, and no sentence that could be dropped without losing information.

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 gated mutation with four parameters and no output schema, the description covers the action, precondition, and ordering, and the 'human approval' phrasing signals the agent should not self-approve. What is missing is the resulting state or return value (e.g., whether an approval record is created) and any note on repeated approvals.

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 all four parameters, including the authenticated scope identifiers, are already documented in the schema. The description adds no format, default, or usage nuance for packId or the project/environment/organization scoping, so the baseline 3 applies.

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 ('record human approval for a passed imported/installed Pack evaluation') rather than restating the name, and explicitly scopes out the sibling case: 'For a Pack Revision use transition_pack_revision approve.' An agent can distinguish this from release_pack and transition_pack_revision without opening any schema.

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

Usage Guidelines5/5

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

Gives explicit ordering guidance ('use before release_pack'), a precondition (evaluation must have passed and the Pack be imported/installed), and a named alternative for the Pack Revision variant. This is close to the full when/when-not/alternative pattern.

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