Skip to main content
Glama

Rate a result

rate_result
Idempotent

Record the person’s answer to whether a result was what they wanted, the same as Yes, Close and No in the app: yes (a match), close (nearly) or no (not a match), with an optional note on what was right or wrong. It guides future matching for that alert; it does not change the brief or recheck earlier results. Rate again to change the answer. Only send the person’s own answer.

Permission: alerts:write.

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": {
      "result_id": "<result_id>",
      "rating": "<rating>"
    },
    "name": "rate_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoOptional: what Poacher got right or wrong.
ratingYes`yes` = a match, `close` = nearly, `no` = not a match.
result_idYesResult ID from list_results or get_result.

Output Schema

NameRequiredDescriptionDefault
dataNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare idempotentHint=true and destructiveHint=false; the description adds the real-world effect (it guides future matching for that alert), the explicit non-effects (no brief change, no re-run), overwrite semantics via re-rating, a provenance constraint ('only send the person's own answer'), and the required scope 'alerts:write.' That is substantial behavior beyond the structured fields, and nothing conflicts with them.

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 core action and value mapping are front-loaded in the first clause, and each subsequent sentence carries a distinct fact (side effect, non-effects, re-rating, provenance, permission). The opening sentence is long and comma-stacked, which slightly hurts scanability.

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

Completeness5/5

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

For a 3-parameter, 2-required mutation with full schema coverage, an output schema, and rich annotations, the description covers purpose, value semantics, side effects, overwrite behavior, provenance restriction, and required scope. An agent has everything needed to call it correctly.

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 the baseline is 3; the description still adds value by mapping `rating` onto the app's Yes/Close/No concepts and clarifying that `note` is the free-text 'what was right or wrong.' `result_id` gets no mention beyond what the schema already says, keeping this short of a 5.

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 ('Record the person's answer to whether a result was what they wanted') and immediately ties the three values to the app's Yes/Close/No vocabulary. It also pre-empts confusion with siblings that fetch or act on results by stating 'it does not change the brief or recheck earlier results.'

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?

Gives clear usage context: use it to capture the person's own verdict, rate again to change the answer, and only send the person's own answer. It also states what the call will NOT do (change the brief, recheck earlier results), which is effective when-not guidance, though it never points to a sibling for those other needs.

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