Skip to main content
Glama

Rooms Agent Pay (sandbox preview)

sandbox_fund_with_test_card

SANDBOX ONLY: fund the room headlessly with a PayPal sandbox test card (for automated tests). Disabled in live mode.

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>"
    },
    "name": "sandbox_fund_with_test_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
cvvNo
emailNo
expiryNoYYYY-MM
room_idYesRoom id from create_room
card_numberNoSandbox test card number

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the important mode gate (sandbox only, disabled in live mode) and that it runs headlessly. However, it says nothing about side effects on room state (does the room become funded?), whether it is idempotent, what permissions or credentials are needed, or what the caller gets back on success or failure.

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 tight sentences with the most critical constraint (SANDBOX ONLY) front-loaded, followed by the action and its audience. Every clause carries information; nothing is redundant.

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 mutation tool with five parameters, no annotations, and no output schema, the description covers purpose and environment gating but omits the outcome of the operation and the semantics of two optional parameters. It is adequate to select the tool but not fully sufficient to invoke and interpret it confidently.

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 60%: room_id, expiry, and card_number are documented in the schema, while cvv and email are not. The description only implies that card fields should hold sandbox test-card values and adds no per-parameter meaning, so it neither fully compensates for the gap nor adds much beyond the 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?

The description pairs a specific verb (fund) with a specific resource (the room) and names the mechanism (PayPal sandbox test card), plus the constraint that it operates headlessly. No sibling tool (create_room, close_room, room_status, request_refund) performs sandbox funding, so an agent can distinguish it immediately.

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?

It states the context clearly: for automated tests, sandbox only, and disabled in live mode, which functions as an explicit when-not condition. It does not name an alternative for the live-mode case, but no live-funding sibling is present, so the absence is minor rather than misleading.

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