Skip to main content
Glama

Vira – Create, Teach & Manage AI Behavior

accept_behavior_revision_candidate

Accept a candidate only when a passed evaluation is bound to its immutable digest. Use only after the preceding resource and authority prerequisites are satisfied; inspect the server receipt before continuing. Required fields: organizationId, projectId, environmentId, candidateId, candidateEvaluationId. 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": {
      "candidateId": "<candidateId>",
      "candidateEvaluationId": "<candidateEvaluationId>"
    },
    "name": "accept_behavior_revision_candidate"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdNoAuthenticated customer scope identifier; must match the API key scope and is never inferred from model text.
candidateIdYesImmutable candidateId reference used to bind this accept_behavior_revision_candidate operation to the correct released or persisted resource.
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.
candidateEvaluationIdYesImmutable candidateEvaluationId reference used to bind this accept_behavior_revision_candidate operation to the correct released or persisted resource.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / candidateEvaluationId / description
      Added value: +"Immutable candidateEvaluationId reference used to bind this accept_behavior_revision_candidate operation to the correct released or persisted resource."
    • addedInput schema / properties / candidateId / description
      Added value: +"Immutable candidateId reference used to bind this accept_behavior_revision_candidate operation to the correct released or persisted resource."
    • 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 / 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.6/5.0
Behavior4/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 is not the sole source. It adds meaningful context beyond them: the operation 'changes governed state', is 'fail-closed behind server authorization and an auditable receipt', and rejects unknown fields — useful for anticipating failure modes and responses.

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?

Front-loaded with the core condition, then preconditions, then fields, then behavior — a sensible order with no filler sentences. Slight redundancy between 'inspect the server receipt before continuing' and the closing clause about an auditable receipt.

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?

No output schema exists, and the description does hint that a server receipt is returned, which partially covers the return side. For a governed-state mutation it still leaves open what 'the preceding resource and authority prerequisites' are and contradicts the schema's required-field list, so an agent could over- or under-supply scope identifiers.

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 every parameter is already documented, and the description adds the non-obvious rule that scope identifiers must match the authenticated session tenant and are never inferred from model text. That gain is offset by an inconsistency: it lists organizationId, projectId and environmentId as 'required fields' while the schema marks only candidateId and candidateEvaluationId as required.

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?

States a specific verb and resource ('Accept a candidate') plus the gating condition that separates it from evaluate/create siblings: a passed evaluation must be bound to the candidate's immutable digest. An agent can distinguish it from evaluate_behavior_revision_candidate and create_behavior_revision_candidate from the description alone, though no sibling is named explicitly.

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?

Gives a conditional ('Use only after the preceding resource and authority prerequisites are satisfied') and a pre-continuation check ('inspect the server receipt'), which is real usage guidance. However 'preceding resource and authority prerequisites' is undefined, and it never names the sibling evaluation tool whose output must be supplied, leaving the ordering to inference.

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