Skip to main content
Glama

Vira – Create, Teach & Manage AI Behavior

evaluate_pack

PACK LIFECYCLE EVALUATION: evaluate one imported/installed Pack before approve_pack/release_pack. It is not start_evaluation and not evaluate_behavior_revision_candidate.

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>",
      "evaluation": "<evaluation>"
    },
    "name": "evaluate_pack"
  }
}

Input Schema

NameRequiredDescriptionDefault
packIdYesImmutable packId reference used to bind this evaluate_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.
evaluationYesStructured evaluation payload validated against the published contract; caller-supplied scores or authority signals are not trusted.
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 / evaluation / description
      Added value: +"Structured evaluation 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 / packId / description
      Added value: +"Immutable packId reference used to bind this evaluate_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

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false, and openWorldHint=false, so the safety profile is covered externally. The description adds only sequencing context, saying nothing about whether an evaluation result is persisted, what side effects occur, whether repeating the call creates a duplicate evaluation, or what failure looks like for a non-idempotent write.

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 sentences, front-loaded with the verb, resource, and lifecycle position, followed by the sibling exclusions. There is no filler and no repetition of the title or schema.

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 non-idempotent tool with a nested evaluation payload and no output schema, the description omits what the evaluation call returns (scores, verdict, job handle), whether it is synchronous, and what outcome gates the approve/release step. The core routing is intact, but an agent still has open questions about the call's result shape.

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%, including the immutable packId binding, the three authenticated scope identifiers, and the note that caller-supplied scores or authority signals are not trusted. The description contributes no parameter meaning beyond this, so the baseline of 3 applies.

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 gives a specific verb and resource — evaluate a single imported/installed Pack — and explicitly scopes it as a lifecycle gate that precedes approve_pack/release_pack. It also names two sibling tools it is not. What 'evaluate' actually measures or produces is left implicit, which keeps it below a 5.

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 use context clearly (an imported/installed Pack, before approve_pack/release_pack) and provides negative routing via 'not start_evaluation and not evaluate_behavior_revision_candidate'. It does not explain what those alternatives do or when they would be the correct choice, so the exclusion is asserted rather than reasoned.

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