Skip to main content
Glama

Rate answer

rate_answer
Idempotent

Pass on the user's rating of the last Close Knit answer in this conversation, when they give one or agree to it: rating 1-5, what was good, what was bad or missing, the fix they want. It describes the answer, never the user. This stores the rating for 90 days with the call's tool name, client name and the conversation's one-way tag, contact details and full postcodes removed, no IP address or user agent. Close Knit's other data tools only read.

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

Input Schema

NameRequiredDescriptionDefault
badNo[input value] What was wrong, missing or confusing.
fixNo[input value] The change to the tool or its answer you would want.
goodNo[input value] What was useful in the answer.
ratingYes[input value] 1 = useless or wrong, 3 = usable with gaps, 5 = exactly what was needed.
call_idNo[id] The callId of the answer you are rating; leave it out when answers carry none.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / bad / description
      Previous value: -"What was wrong, missing or confusing."New value: +"[input value] What was wrong, missing or confusing."
    • changedInput schema / properties / call_id / description
      Previous value: -"The callId of the answer you are rating; leave it out when answers carry none."New value: +"[id] The callId of the answer you are rating; leave it out when answers carry none."
    • changedInput schema / properties / fix / description
      Previous value: -"The change you would want."New value: +"[input value] The change to the tool or its answer you would want."
    • changedInput schema / properties / good / description
      Previous value: -"What was useful."New value: +"[input value] What was useful in the answer."
    • changedInput schema / properties / rating / description
      Previous value: -"1 = useless or wrong, 3 = usable with gaps, 5 = exactly what was needed."New value: +"[input value] 1 = useless or wrong, 3 = usable with gaps, 5 = exactly what was needed."
  2. Changed5 schema fields changed
    • addedInput schema / properties / call_id / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / call_id / default
      Added value: +null
    • changedInput schema / properties / call_id / description
      Previous value: -"The callId of the answer you are rating."New value: +"The callId of the answer you are rating; leave it out when answers carry none."
    • removedInput schema / properties / call_id / type
      Removed value: -"string"
    • changedInput schema / required
      Previous value: -[
      -  "call_id",
      -  "rating"
      -]New value: +[
      +  "rating"
      +]
  3. Added

TDQS

A4.2/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: a 90-day retention window, the exact metadata stored (call's tool name, client name, one-way conversation tag), and an explicit redaction list (contact details, full postcodes, IP, user agent). The annotations already declare the write/idempotent/non-destructive profile, so this privacy disclosure is the genuinely additive part; it does not state what happens if the same answer is rated twice, which is a minor gap.

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?

Front-loaded with the trigger and the payload, then the privacy and retention terms, closing with the sibling contrast. Dense but every clause carries information an agent needs; nothing is padding.

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?

Given an output schema exists, return values need not be explained, and the description covers trigger, content, retention and redaction well. Only the repeat-rating/idempotency behaviour and any failure mode are left implicit, which are minor for this tool.

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 each field already carries a description and range, so the schema does most of the work. The description adds a mild constraint on the free-text fields ('describes the answer, never the user') and restates the rating scale, but says nothing about call_id handling that the schema does not already cover.

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?

States a specific verb and resource: pass on the user's rating of the last Close Knit answer in this conversation, and enumerates the payload (rating 1-5, good, bad/missing, fix). It also distinguishes itself from siblings by noting that Close Knit's other data tools only read, so this is recognizably the single write-back path.

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 an explicit trigger condition — only when the user gives a rating or agrees to one — and a content constraint that the rating describes the answer, never the user. It stops short of naming an alternative tool or a when-not-to-call case, but the read-only sibling note effectively rules out confusion.

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.