Skip to main content
Glama

Record feedback

record_feedback

Log an outcome or a human correction as a learning signal. Corrections are the highest-value signal — reflection weights them heavily.

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

Input Schema

NameRequiredDescriptionDefault
ratingNo1..5
signalYesapproved | rejected | corrected | rated | edited
sourceNouser | auto | other_agent (default user)
agent_idNoAgent this is about (defaults to the bound agent)
correctionNoWhat it should have been (for 'corrected')
subject_idNoId of that subject
subject_typeYesepisode | event | todo | tool_call | message

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already disclose the write profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), so the description is not carrying that burden. It does add real behavioral context by explaining that logged signals feed 'reflection' and that corrections are weighted heavily — a downstream consequence the annotations cannot express. It omits reversibility, whether records can be deleted or updated, and what happens on duplicate logging.

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?

Two short sentences, front-loaded with the purpose, with no filler — the concise format is good. The score is set at 3 because, given the gaps in usage and behavior detail, the brevity reads as under-specification for a 7-parameter mutation tool rather than disciplined economy.

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?

Seven parameters, no output schema, and a non-destructive write annotation set. The description covers the 'why' of the tool but not what the call returns, whether reflection runs synchronously, or how the required subject_type/subject_id pair should be chosen — meaningful gaps for a learning-signal tool, though not fatal given full schema coverage.

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

Parameters4/5

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

Schema coverage is 100% and every parameter is documented in the schema, so the baseline is 3. The description adds a modest amount beyond that by explaining the weighting difference between signal kinds, which helps an agent choose signal='corrected' over 'approved'/'rated' and understand why the correction field matters. It does not resolve how the correction param couples to signal='corrected' beyond what the schema already states.

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 names a specific verb ('Log') and resource ('an outcome or a human correction as a learning signal'), which is concrete and distinct from the finance/HR siblings in the catalog. It stops short of naming or contrasting any alternative tool, but the purpose itself is unambiguous.

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?

Usage is implied rather than stated: the agent learns that corrections are the highest-value signal and should therefore be logged when a human corrects output, but there is no explicit when-to-use / when-not-to-use guidance and no mention of alternatives such as ask_human or the record_* siblings.

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