Skip to main content
Glama

Say whether a match was right

rate_alert_hit
Idempotent

The person's verdict on one match (hit ids from list_alert_hits). "wrong" teaches the alert: the headline joins what the alert must not match, and the next checks read it. "right" just records it.

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": {
      "hit_id": "<hit_id>",
      "verdict": "<verdict>"
    },
    "name": "rate_alert_hit"
  }
}

Input Schema

NameRequiredDescriptionDefault
hit_idYesThe match id, from list_alert_hits
verdictYeswrong = it did not satisfy the alert (the alert learns from it); right = it did

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

The annotations say readOnlyHint=false but nothing about consequences. The description discloses the non-obvious side effect: a 'wrong' verdict teaches the alert by adding the headline to what the alert must not match, and later checks read that state, while 'right' merely records. That is exactly the behavioral context structured fields cannot carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the core action, then the differentiated consequences of each verdict. No filler and no repetition of the title or schema.

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 two-parameter, fully documented, non-destructive, idempotent mutation, the description and annotations cover nearly everything needed to call it correctly. The only minor gap is what the call returns, which is not defined by an output schema, though 'right just records it' gives a sense of the outcome.

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 coverage is 100%, and the schema already documents both parameters, including the verdict enum meanings. The description only reinforces that hit_id comes from list_alert_hits, so the baseline 3 applies.

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?

The description states a specific verb+resource: recording a person's verdict on one match, and points to list_alert_hits as the source of hit ids. It also explains the effect of each verdict value, so an agent can distinguish this from siblings like rate_briefing_entry without opening any schema.

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?

Usage is clear: call it with a hit id obtained from list_alert_hits and a right/wrong verdict, with each verdict's consequence spelled out. There are no explicit exclusions or comparisons to alternative rating tools, but the required precedent (list_alert_hits) is named.

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.