Skip to main content
Glama

record_feedback

Destructive

Log an outcome/correction as a learning signal. Required: agent_id, subject_type ('episode'|'event'|'todo'|'tool_call'|'message'), signal ('approved'|'rejected'|'corrected'|'rated'|'edited'). Optional: subject_id, correction (the fix — highest-value), rating (1-5), source.

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": {
      "agent_id": "<agent_id>",
      "subject_type": "<subject_type>",
      "signal": "<signal>"
    },
    "name": "record_feedback"
  }
}

Input Schema

NameRequiredDescriptionDefault
ratingNoRating from 1 to 5
signalYesKind of feedback: approved, rejected, corrected, rated or edited
sourceNoOrigin of the feedback (default user)
agent_idYesID of the agent
correctionNoThe corrected version or fix
subject_idNoID of the subject record
subject_typeYesWhat the feedback is about: episode, event, todo, tool_call or message

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / agent_id / description
      Added value: +"ID of the agent"
    • addedInput schema / properties / correction / description
      Added value: +"The corrected version or fix"
    • addedInput schema / properties / rating / description
      Added value: +"Rating from 1 to 5"
    • addedInput schema / properties / signal / description
      Added value: +"Kind of feedback: approved, rejected, corrected, rated or edited"
    • addedInput schema / properties / source / description
      Added value: +"Origin of the feedback (default user)"
    • addedInput schema / properties / subject_id / description
      Added value: +"ID of the subject record"
    • addedInput schema / properties / subject_type / description
      Added value: +"What the feedback is about: episode, event, todo, tool_call or message"
  2. First observed

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare this a non-readonly, non-idempotent, destructive write, and the description adds nothing about that: it does not say what record is mutated, whether repeated calls create duplicates, or whether a logged signal can be retracted. Beyond annotations, the only added behavioral note is that corrections are 'highest-value', which does not inform the agent about consequences.

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?

A tight two-sentence, front-loaded definition with zero filler. It does duplicate the schema's required/optional structure, but the brevity keeps the cost of that repetition low.

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 seven-parameter mutation with no output schema, the definition covers purpose, required inputs, and valid values well enough to call it. It is incomplete on the things an agent would most want here: duplicate/idempotency behavior, relationships between rating and correction, and what the tool returns on success.

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 description coverage is 100%, so the schema already documents all seven parameters and this is the baseline case. The description repeats the required/optional split and the allowed values, and adds a marginal emphasis that 'correction' is the highest-value field, but no format rules or conditional requirements (e.g., when rating vs correction should be supplied).

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: 'Log an outcome/correction as a learning signal', with an inline enumeration of subject types and signal kinds. The purpose is unmistakable, though it never distinguishes itself from near-name siblings such as record_belief or record_ersparnis, which are arguably the closest alternatives.

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?

The framing 'as a learning signal' implies when the tool applies, and calling 'correction' the 'highest-value' input hints at preferred usage. However there is no explicit when-to-use/when-not guidance, no prerequisites, and no named alternative for capturing beliefs or other non-outcome signals.

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.