Skip to main content
Glama

feedback

Saves a 1-5 rating and notes for any robot's analysis output, persisting the analysis text atomically. Use it after showing results to record feedback that improves future runs.

Instructions

Save user feedback for a robot's analysis output. Call this after showing the user each robot's results and asking them to rate it.

REQUIRED: You MUST provide either 'analysisMarkdown' or 'bypassReason' — never neither.

analysisMarkdown — the full analysis text Claude generated for this robot. Providing it here persists it atomically alongside the rating so Phase 2 robots can read Phase 1 outputs. This is the normal path for every human-in-the-loop run.

bypassReason — escape hatch for headless / programmatic callers that have already persisted the output via 'save-robot-output'. Describe why the text is not being passed here. Example: "output already saved via save-robot-output before feedback was available".

Feedback ratings: 4-5 → recorded as successful patterns (learning engine improves future runs) 1-3 → recorded as areas to improve

If the session is tied to a product, the rating is also appended to the robot's asset file on disk.

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": {
      "analysisId": "<analysisId>",
      "robotName": "<robotName>",
      "rating": "<rating>"
    },
    "name": "feedback"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNoImprovement suggestions or comments, e.g. 'Add specific TAM numbers'
ratingYesUser rating 1-5 (1=poor, 5=excellent)
robotNameYesWhich robot to rate
analysisIdYesThe analysis session ID
bypassReasonNoEscape hatch — explain why analysisMarkdown is not provided (e.g. 'saved via save-robot-output'). Required if analysisMarkdown is absent.
analysisMarkdownNoThe full analysis text Claude generated for this robot. Pass this to persist the output atomically with the rating. Required unless bypassReason is set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.1

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses atomic persistence alongside the rating, that ratings 4-5 feed a learning engine versus 1-3 being logged as improvement areas, and that the rating is appended to the robot's asset file on disk when a product is attached. It stops short of stating permissions needed, whether a rating can be re-submitted or overwritten, or what the call returns.

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?

Front-loads the hard requirement and uses a scannable per-parameter layout. There is some duplication of the schema's own property descriptions for analysisMarkdown and bypassReason, but the added context (learning-engine consequences, disk write) earns most of the space.

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?

Six parameters and no output schema or annotations, and the description covers the main call-decision risk (which of the two text fields to supply) plus downstream effects. It is thin on what a caller gets back and on whether feedback is append-only or overwritable for a given analysisId, which matters for a persistence tool.

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%, so baseline is 3, but the description adds semantics the schema does not encode: the mutual-exclusivity (loosely enforced) between analysisMarkdown and bypassReason, the reason bypassReason exists at all, and the meaning of the rating bands. That is genuine value beyond the property descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource ('Save user feedback for a robot's analysis output') and immediately scopes it to a point in the workflow (after showing each robot's results). The two named modes (analysisMarkdown vs bypassReason) make the tool's dual role legible without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit trigger ('Call this after showing the user each robot's results and asking them to rate it') and partitions callers: analysisMarkdown is the normal path for human-in-the-loop runs, bypassReason is the escape hatch for headless callers that already used save-robot-output. The 'never neither' constraint removes the main ambiguity in choosing between the two.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.