Skip to main content
Glama
Spacery: Matterport and 3D scan hosting

Spacery: Matterport and 3D scan hosting

Wait for payment

wait_for_payment
Read-onlyIdempotent

Waits up to 50 seconds for a Stripe Checkout payment to finish, for a space's first payment or publishing a free preview. Call again to keep waiting.

Instructions

Waits up to 50 seconds for the person to finish paying in Stripe Checkout, whether for a space's first payment or to publish a free preview. Call it again to keep waiting.

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 observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds the traits that matter most here: a hard 50-second timeout and the re-call-to-continue pattern. It does not say what distinguishes a timeout from a completed payment in the result, which leaves a gap given there is no output schema.

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 sentences, front-loaded with the resource and the 50-second limit, then the two use cases and the polling hint. The clause listing first payment vs. free preview costs some length but carries real routing value, so little is wasted.

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 blocking, timeout-based tool with no output schema, the definition should say what the agent learns when the wait ends (paid vs. still pending vs. timed out). It covers duration and re-invocation but not result interpretation, leaving a meaningful gap for correct agent behavior.

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?

With a single parameter and 100% schema description coverage, the schema already explains that space_id is a 12-hex-character ID from create_space or space_status. The description adds only the implicit link between space_id and the pending payment; no format or constraint detail beyond the schema, so baseline 3 applies.

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 and resource ('waits ... for the person to finish paying in Stripe Checkout') and scopes it to two concrete situations: a space's first payment or publishing a free preview. The blocking-wait behavior is unambiguous and distinguishable from status-reading siblings, though no sibling is named explicitly.

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?

Gives clear conditions for use ('whether for a space's first payment or to publish a free preview') and an explicit polling instruction ('Call it again to keep waiting') that tells the agent how to extend past the 50-second limit. It stops short of stating when not to use it, e.g. after payment is already confirmed via space_status.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.