Skip to main content
Glama

Rooms Agent Pay (sandbox preview)

request_refund

Owner asks for the refundable balance back (within the refund window of funding, minus the PayPal processing fee). Reviewed and approved manually by Rooms.

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": {
      "room_id": "<room_id>",
      "owner_key": "<owner_key>"
    },
    "name": "request_refund"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNo
room_idYesRoom id from create_room
owner_keyYesOwner key returned by create_room (keep it private)

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?

With no annotations, the description carries the full burden and does real work: it discloses the refund window restriction, the PayPal processing fee deduction, and that the request is reviewed and approved manually by Rooms (i.e. it is not immediate). It stops short of saying what happens on rejection or whether repeat requests are allowed.

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?

A single sentence that front-loads the action and packs the constraints (window, fee, manual review) into a compact parenthetical plus clause. Nothing is redundant or padded.

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 request-style mutation tool with no annotations and no output schema, the description covers fee handling, timing expectations, and eligibility window, which is solid. It leaves gaps around preconditions on room state, the outcome of a declined request, and what the caller receives, which matter for correct invocation.

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 67%, with room_id and owner_key already documented in the schema. The description adds no meaning for any parameter, and the optional 'reason' field is undocumented in both places, so a mid-range score is appropriate.

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 action and resource: the owner asking for the refundable balance back. It is clearly distinct from siblings like close_room or sandbox_fund_with_test_card, though it never explicitly names those siblings as alternatives. The core intent is unambiguous.

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 only implied: an owner wants their refundable balance returned, and the parenthetical states the refund-window constraint. There are no explicit when-not conditions, no prerequisites (e.g. must the room be closed first?), and no named alternatives for out-of-window or non-refundable cases.

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