Skip to main content
Glama

Vira – Create, Teach & Manage AI Behavior

create_improvement_proposal

Create a Teach improvement proposal from a completed comparative evaluation. Use only after the preceding resource and authority prerequisites are satisfied; inspect the server receipt before continuing. Required fields: organizationId, projectId, environmentId, evaluationId, id, basePackId, basePackDigest. 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": {
      "evaluationId": "<evaluationId>",
      "id": "<id>",
      "basePackId": "<basePackId>",
      "basePackDigest": "<basePackDigest>"
    },
    "name": "create_improvement_proposal"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesDocumented id input for create_improvement_proposal; use the published type and keep customer data within the authenticated scope.
projectIdNoAuthenticated customer scope identifier; must match the API key scope and is never inferred from model text.
basePackIdYesImmutable basePackId reference used to bind this create_improvement_proposal operation to the correct released or persisted resource.
behaviorSetNoDocumented behaviorSet input for create_improvement_proposal; use the published type and keep customer data within the authenticated scope.
evaluationIdYesImmutable evaluationId reference used to bind this create_improvement_proposal 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.
basePackDigestYesImmutable basePackDigest reference used to bind this create_improvement_proposal operation to the correct released or persisted resource.
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. Removed
  2. Changed9 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / basePackDigest / description
      Added value: +"Immutable basePackDigest reference used to bind this create_improvement_proposal operation to the correct released or persisted resource."
    • addedInput schema / properties / basePackId / description
      Added value: +"Immutable basePackId reference used to bind this create_improvement_proposal operation to the correct released or persisted resource."
    • addedInput schema / properties / behaviorSet / description
      Added value: +"Documented behaviorSet input for create_improvement_proposal; 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 / evaluationId / description
      Added value: +"Immutable evaluationId reference used to bind this create_improvement_proposal operation to the correct released or persisted resource."
    • addedInput schema / properties / id / description
      Added value: +"Documented id input for create_improvement_proposal; use the published type and keep customer data within the authenticated scope."
    • 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."
  3. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already establish readOnly=false, destructive=false, idempotent=false, so the description earns credit for what they do not cover: the write changes 'governed state', is fail-closed behind server authorization, produces an 'auditable receipt', and rejects unknown fields. It stops short of saying what happens to prior proposals or how failures surface, but that is a meaningful add over the annotation set.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the purpose, which is good, but the required-field enumeration duplicates schema data and the closing sentence stacks jargon ('changes governed state and remains fail-closed behind server authorization and an auditable receipt'). It is compact but not tight; several clauses restate what the schema and annotations already say.

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 governed-state mutation with eight parameters, a nested behaviorSet object and no output schema, the description covers scope-binding and receipt inspection but leaves the nested payload undocumented and offers no view of what the created proposal or error looks like. Adequate to avoid blind invocation, not complete for correct one-shot use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already documents all eight parameters at 100% coverage, so the baseline is 3; the description lowers it by listing 'Required fields: organizationId, projectId, environmentId, evaluationId, id, basePackId, basePackDigest' when the schema marks only evaluationId, id, basePackId and basePackDigest as required. That is a discrepancy an agent could act on wrongly, and the nested behaviorSet object is never mentioned at all.

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: 'Create a Teach improvement proposal from a completed comparative evaluation.' That is concrete enough to distinguish it from the sibling create_teach_proposal on resource grounds, though the description never names that sibling or explains the difference between a 'teach proposal' and an 'improvement proposal'.

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 precondition ('Use only after the preceding resource and authority prerequisites are satisfied') and a post-step ('inspect the server receipt before continuing'), which is real ordering guidance. But the prerequisites are unnamed, so the agent cannot verify them, and there is no statement of when to prefer this over create_teach_proposal or evaluate_behavior_revision_candidate.

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