Skip to main content
Glama

Vira – Create, Teach & Manage AI Behavior

record_user_feedback

Record scoped user feedback 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_user_feedback"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventYesDocumented event input for record_user_feedback; 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

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false; the description adds substantial context beyond them: it mutates governed state, executes fail-closed behind server authorization, produces an auditable receipt the caller must inspect, and rejects unknown fields. The main omission is that non-idempotency (idempotentHint=false) is never surfaced, so retry semantics remain unclear.

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?

Purpose and the prerequisite warning are front-loaded, and most sentences carry distinct information. There is minor redundancy between 'inspect the server receipt' and the later 'auditable receipt' clause, and the phrasing is jargon-dense, but nothing is wasted outright.

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 a nested 'event' object and no output schema, the description covers authorization, scoping, and strictness but says nothing about the event payload's shape or what the referenced receipt contains. The event schema description ('Documented event input... use the published type') is similarly thin, leaving the most complex input under-explained.

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 the baseline is 3, and the description does add genuine meaning about the three scope identifiers — they must match the authenticated MCP session and are never inferred from model text. But it also states 'Required fields: organizationId, projectId, environmentId, event,' which conflicts with the schema's required list of only ['event'], giving the agent misleading requiredness information.

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 opens with a concrete verb and resource: 'Record scoped user feedback for an observed AI interaction,' which tells an agent exactly what is created and for what domain object. It is distinguishable in spirit from siblings like record_business_outcome, though it never names an alternative to route against.

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 gives a timing constraint ('Use only after the preceding resource and authority prerequisites are satisfied') and a sequencing step ('inspect the server receipt before continuing'), which is real when-to-use guidance. However, the 'preceding prerequisites' are never enumerated, and no sibling or alternative is named, so the agent must infer the actual preconditions.

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