Skip to main content
Glama

Spacery: Matterport and 3D scan hosting

Wait for payment

wait_for_payment
Read-onlyIdempotent

Waits up to 25 seconds for the person to finish paying in Stripe Checkout, whether for a space's first payment or to publish a free preview, and reports whether the payment arrived.

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": {
      "space_id": "<space_id>"
    },
    "name": "wait_for_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
space_idYesThe space ID (12 hexadecimal characters) from create_space or space_status.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive, so the safety profile is covered. The description adds the genuinely important behavioral fact beyond annotations: the call blocks for up to 25 seconds and then reports whether payment arrived. It leaves the timeout outcome (what is returned when nothing arrives) implicit rather than stated.

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?

One sentence that front-loads the wait and the 25-second bound, then the applicable scenarios, then the return meaning. No filler, no restatement of the title or annotations.

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 one-parameter, no-output-schema tool, the description covers what it does, how long it blocks, and the shape of the answer. The only meaningful gap is the behavior on timeout, which an agent would want to know before deciding to call again or fall back to space_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?

There is a single required parameter at 100% schema coverage, and the schema already explains the space ID format and its source (create_space or space_status). The description adds no further meaning about the parameter, which is acceptable given the schema does the work, but it earns no extra credit.

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 (waits), resource (payment in Stripe Checkout), a hard bound (up to 25 seconds), and the outcome it reports. It also names the two scenarios it serves (a space's first payment or publishing a free preview), which makes the tool's role concrete, though it does not explicitly contrast with sibling tools like space_status.

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?

The description implies the call belongs right after the person is sent to Stripe Checkout, and the two named scenarios narrow the context. However, it gives no explicit exclusions, no guidance on what to do if the wait times out, and does not point to space_status as an alternative for checking state.

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.