Skip to main content
Glama

Ask a Human (Tech & Toast)

Ask for a refund on an answer

request_refund
Idempotent

Requests a refund for an answer within 7 days. The human reviews it and refunds credits (or restores the free question). Late answers are never charged, automatically. Monthly plan refunds are handled by email.

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": {
      "api_key": "<api_key>",
      "ticket_id": "<ticket_id>",
      "reason": "<reason>"
    },
    "name": "request_refund"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYesWhat was wrong with the answer
api_keyYes
ticket_idYes

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 this as a non-read-only, idempotent, non-destructive, closed-world mutation, but the description adds real behavioral context beyond them: human review, the two possible outcomes (credit refund or free-question restoration), the automatic no-charge policy for late answers, and the out-of-scope routing for monthly plans. This is exactly the kind of eligibility and process disclosure an agent needs.

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?

Four short sentences, front-loaded with the action and eligibility, then outcome, then auto-charge behavior, then plan-channel exclusion. No sentence is filler; each carries a distinct rule.

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 simple 3-parameter mutation with annotations and no output schema, the description covers eligibility, review process, refund outcomes, and out-of-scope cases thoroughly. The remaining gap is parameter-level: ticket_id and api_key are not defined anywhere, which an agent may need to call the tool correctly.

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 only 33%: reason is documented, but api_key and ticket_id are bare. The description partially compensates by implying ticket_id identifies the answer and the 7-day eligibility applies, but it never explains what ticket_id format is expected or what api_key represents. Partial compensation for a low-coverage schema.

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 ('Requests a refund for an answer') plus an eligibility window, which immediately separates it from siblings like rate_answer, get_answer, and buy_credits. An agent knows exactly what this tool does without opening the schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use ('within 7 days') and two when-not-to-use routes: late answers are auto-unbilled, and monthly plan refunds go through email. These are actionable exclusions and alternative channels, not vague hints.

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