Skip to main content
Glama

Vira – Create, Teach & Manage AI Behavior

record_business_outcome

Record a scoped business outcome for an observed AI interaction. Use only after the preceding resource and authority prerequisites are satisfied; inspect the server receipt before continuing. Required fields: organizationId, projectId, environmentId, event. 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": {
      "event": "<event>"
    },
    "name": "record_business_outcome"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventYesDocumented event input for record_business_outcome; 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.
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. Added

TDQS

B3.4/5.0
Behavior4/5

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

Beyond the annotations, the description discloses that this mutates governed state, is fail-closed behind server authorization, produces an auditable receipt that should be inspected, enforces tenant scope matching, and rejects unknown fields. This is substantive context the structured fields do not convey. It does not address retry/idempotency behavior, which matters given idempotentHint=false.

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 purpose and the ordering gate are front-loaded, and the remaining sentences each carry a distinct constraint (scope binding, unknown-field rejection, auditability). It is dense but not padded, though the closing sentence mixes two ideas (state mutation and authorization) that would read better separated.

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 state-changing tool with a nested 'event' object and no output schema, the description leaves the event payload undefined ('use the published type') and never describes the shape of the receipt it tells the agent to inspect. The authorization and scope posture is well covered, but the data contract has a real gap.

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 description asserts four 'Required fields' (organizationId, projectId, environmentId, event), but the schema's required list contains only 'event' — a discrepancy that could cause an agent to over-supply scope identifiers or misjudge validation failures. Otherwise it mostly restates the 100%-covered schema text about scope matching and additionalProperties=false.

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 states a specific verb and resource ('Record a scoped business outcome for an observed AI interaction') and scopes it to the authenticated tenant, which separates it from the feedback/observation siblings. It does not explicitly name a contrasting sibling or state what makes an 'outcome' different from 'record_user_feedback', so it falls short of the 5 tier.

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?

It offers a conditional instruction ('Use only after the preceding resource and authority prerequisites are satisfied'), which implies ordering but names no concrete prerequisite, no alternative tool, and no when-not-to-use case. The agent is told a gate exists without being told how to check it, so the guidance is only partially actionable.

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