Skip to main content
Glama

Request a refund

request_refund
Idempotent

Ask for a refund on a paid PromptHuman conversation, for example because a reply deadline was missed. Explain why in reason.

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

Input Schema

NameRequiredDescriptionDefault
reasonYesWhy you are asking for a refund. Max 200 words.
access_tokenYesThe access_token returned by ask_human.
conversation_idYesThe conversation_id returned by ask_human.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, idempotent, non-destructive, open-world operation, so the safety profile is covered. The description adds that the target must be a paid conversation and gives a motivating scenario, but says nothing about what happens after the request (automatic refund vs. review), expected outcome, or failure modes. No contradiction with the annotations.

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?

Two short sentences with the action front-loaded and the example trigger immediately after. The clause "Explain why in reason" is mildly redundant with the schema, which keeps it from a 5.

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 three-parameter mutation with full schema coverage and complete annotations, the description supplies enough to call it correctly. What is missing is lifecycle information — whether the refund is immediate, and whether the agent should follow up with check_status.

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%, so all three parameters are already documented, including that access_token and conversation_id come from ask_human. The description only restates the reason parameter ("Explain why in reason") and adds no format or quality guidance beyond the schema's 200-word cap.

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?

The description names a specific verb and resource ("Ask for a refund on a paid PromptHuman conversation") and scopes it to paid conversations, which separates it from siblings like send_feedback or send_followup. It stops short of explicitly naming an alternative tool, so it is clear but not maximally differentiated.

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?

One concrete trigger is given ("for example because a reply deadline was missed"), which implies the usage context. There is no statement of when NOT to use it, no alternative route (e.g., send_feedback for dissatisfaction), and no prerequisite such as the conversation actually being paid or still open.

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