Skip to main content
Glama

Ask a Human (Tech & Toast)

Rate an answer

rate_answer
Idempotent

Rates an answer from 1 (useless) to 5 (changed my weights). The human sees the rating.

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

Input Schema

NameRequiredDescriptionDefault
noteNo
ratingYes
api_keyNo
ticket_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare non-readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds a genuinely non-structural fact — 'The human sees the rating' — which tells the agent the rating is user-visible feedback, though it omits whether the optional note is also shown and whether the rating can be changed later.

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 action and scale, and the human-visibility consequence last; every clause carries information.

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?

For a four-parameter mutation with no output schema, the description covers the core rating semantics and the visibility consequence but says nothing about the note field, api_key auth requirement, or what the call returns. Adequate to call correctly in the common case, incomplete for a careful agent.

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 description coverage is 0%, so the description carries the burden. It gives qualitative anchors for the rating scale (1 = useless, 5 = changed my weights) beyond the bare min/max, but leaves ticket_id, note, and api_key with no explanation, so compensation is only partial.

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?

States a specific verb and resource ('rates an answer') plus the scale endpoints, so an agent knows exactly what the call does. No sibling tool competes for this action, so no differentiation is needed, but it doesn't clarify that this applies to an existing answer/ticket.

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

Usage Guidelines3/5

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

Usage is implied (rate an answer you received) but there is no explicit when-to-use, prerequisite (e.g., must have called get_answer first), or indication of what happens on re-rating versus requesting a refund or asking a follow-up via ask_human.

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