Skip to main content
Glama

Vira – Create, Teach & Manage AI Behavior

serve_behavior_projection

RUNTIME PROJECTION: use after get_scope/list_capabilities, Pack install, evaluation, approval, release, and a verified promotion pointer confirm that the requested Behavior Program is active. Required: input and provider; programId is optional when the active pointer is unambiguous. Do not use this tool for authoring, classification, candidate evaluation, model calls, or host actions; it does not call the model or execute tools. Use compile_behavior_capsule for pre-model context, resolve_runtime/executeRuntime for enforcement, and evaluate_behavior_revision_candidate for unreleased candidate testing.

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": {
      "input": "<input>",
      "provider": "<provider>"
    },
    "name": "serve_behavior_projection"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesThe end-user request or runtime input that Vira must resolve, execute, or evaluate.
protocolNoDocumented protocol input for serve_behavior_projection; use the published type and keep customer data within the authenticated scope.
providerYesDocumented provider input for serve_behavior_projection; use the published type and keep customer data within the authenticated scope.
programIdNoImmutable programId reference used to bind this serve_behavior_projection 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. Changed8 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 / input / description
      Added value: +"The end-user request or runtime input that Vira must resolve, execute, or evaluate."
    • 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 / programId / description
      Added value: +"Immutable programId reference used to bind this serve_behavior_projection 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 / protocol / description
      Added value: +"Documented protocol input for serve_behavior_projection; use the published type and keep customer data within the authenticated scope."
    • addedInput schema / properties / provider / description
      Added value: +"Documented provider input for serve_behavior_projection; use the published type and keep customer data within the authenticated scope."
  2. First observed

TDQS

A3.7/5.0
Behavior3/5

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

The description adds real behavioral context beyond the annotations: it does not call the model and does not execute tools, and it only applies once the program is active and the promotion pointer is verified. However, annotations declare readOnlyHint=false and idempotentHint=false, implying side effects, and the description never says what those side effects are or whether repeated calls are safe — a gap for a non-read-only tool.

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 opening label front-loads the kind of operation, and the sequence moves from preconditions to requirements to exclusions to alternatives. It is dense but not padded; the long second and third sentences could be split for faster scanning, which keeps it below a 5.

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?

With seven parameters, no output schema, and a non-read-only annotation profile, the description covers preconditions and exclusions well but leaves the result shape entirely unexplained — the agent cannot tell what a 'projection' returns. For a tool this complex and undocumented on the output side, that is a meaningful hole.

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 is 3, but the description genuinely extends the schema by stating that only input and provider are required and that programId may be omitted when the active pointer is unambiguous — a conditional-omission rule the schema does not itself encode.

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

Purpose3/5

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

It labels itself 'RUNTIME PROJECTION' and frames the moment of use ('confirm that the requested Behavior Program is active'), but never states in concrete terms what the tool produces or returns. The agent learns more about what the tool is not than what it does, leaving the core verb+resource pair under-specified.

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?

Explicit preconditions are given (after get_scope/list_capabilities, Pack install, evaluation, approval, release, and a verified promotion pointer), and each alternative is named with the condition that selects it: compile_behavior_capsule for pre-model context, resolve_runtime/executeRuntime for enforcement, evaluate_behavior_revision_candidate for unreleased candidates. Negative guidance ('do not use for authoring, classification, candidate evaluation, model calls, or host actions') is equally explicit.

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