Skip to main content
Glama

Mark a review finding as wrong or right

three_feedback

Report review findings as false alarms to hide them from later reviews, or as correct to count rules as useful; stores only hashes and counters.

Instructions

Tell Threesmith that a review finding is a false alarm you verified (verdict wrong): it is hidden from later reviews on this machine, and a rule that is often wrong here gets a note. verdict right undoes that and counts the rule as useful. Stores only hashes and counters, never code, names or paths ($THREESMITH_HOME; THREESMITH_LEARN=0 turns learning off).

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": {
      "file": "<file>",
      "line": "<line>",
      "verdict": "<verdict>"
    },
    "name": "three_feedback"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesfile of the finding (relative to path)
lineYes
pathNoProject folder, or a file or folder in it (relative to the server's folder; default: the project).
ruleNorule id; default: the finding on that line
verdictYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations it discloses real consequences: the finding is hidden from later reviews on this machine, a frequently-wrong rule gets a note, and 'right' reverses the effect. It also covers data privacy (only hashes and counters are stored, never code, names, or paths) and the environment switches $THREESMITH_HOME and THREESMITH_LEARN=0. This is exactly the persistence and side-effect context the annotations cannot convey.

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 main action and its effects come first, and the storage/privacy and env-var details are packed into a trailing parenthetical where they belong. The prose is dense and a bit run-on, but nearly every clause carries information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a state-mutating feedback tool with no output schema, the definition covers the effects, reversibility, privacy, and configuration levers. It does not say what the tool returns or whether a prior review session is required, which are the remaining gaps.

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 60%, and the description meaningfully enriches the most important parameter by explaining what 'wrong' and 'right' actually do, which the bare enum does not. It also implies the rule linkage ('a rule that is often wrong here'), though it never explains the rule default or the path parameter's role, leaving those to the schema.

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 concrete verb and resource: it records feedback on a review finding, and it spells out the distinct effect of each verdict ('wrong' hides the finding from later reviews on this machine; 'right' undoes that and credits the rule). The title repeats the same idea. It stops short of naming the sibling that produces the findings (three_review), so an agent has to infer the workflow pairing.

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

Usage Guidelines4/5

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

It gives a clear trigger condition: use it when you have verified a finding is a false alarm, and use verdict 'right' to reverse that. There are no explicit exclusions or named alternatives, so the guidance is solid but not a full when/when-not matrix.

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