Skip to main content
Glama

wait_for_capture

Block until the next request arrives at a bin (or a timeout passes), then return it in full. Ideal flow: create_bin → configure the webhook sender → trigger it → wait_for_capture. If after_id is omitted, waits for the next capture after "now". Returns timed_out:true instead of erroring when nothing arrives.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
binYesbin id or slug
after_idNoreturn the first capture with id greater than this; default = latest id at call time
timeout_secondsNo1-45 seconds to wait (default 20)

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral disclosure burden. It clearly explains the blocking behavior, timeout handling, and the timed_out:true return instead of an error. This goes beyond the schema and gives the agent important expectations about how the tool behaves.

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?

The description is compact and front-loaded with the core behavior, then the ideal flow, then the timeout edge case. Every sentence contributes meaningful information without redundancy or filler.

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?

Given no output schema, the description explains the key return behavior (full capture or timed_out:true) and timeout semantics. It could say a bit more about error conditions or the exact shape of the returned request, but the essential invocation context is covered.

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 description coverage is 100%, so the parameters are already well documented. The description adds a useful paraphrase about after_id (waiting for the next capture after 'now'), but it does not materially expand on the schema's parameter documentation.

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 states a specific action (block until next request arrives) on a specific resource (a bin) and clarifies the return behavior. It clearly distinguishes this tool from siblings like get_capture and list_captures, which retrieve existing data rather than waiting for new data.

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?

The description provides an explicit ideal flow: create_bin → configure webhook sender → trigger it → wait_for_capture, which gives clear operational context. It does not explicitly name alternative tools or state when not to use this one, but the intended sequence is clear enough for an agent.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool targets a distinct action—create bin, read/list/wait for captures, simulate a delivery, configure a response, and verify a signature. The reading tools are differentiated by listing summaries vs. retrieving full captures vs. blocking for the next arrival, so agents should not misselect.

Naming Consistency5/5

All tool names follow a consistent lowercase snake_case verb_noun pattern: create_bin, get_capture, list_captures, set_response, verify_signature. Multi-word targets and wait_for are still predictable and match the same imperative style.

Tool Count5/5

Seven tools cover the webhook capture workflow without redundancy or bloat. Each tool serves a concrete stage in the create → capture → inspect → respond → verify loop, which is an ideal scope for an MCP server.

Completeness4/5

The core lifecycle is well covered: bins can be created, captures can be listed/read/waited for, test webhooks can be generated, responses configured, and signatures verified. Minor gaps exist around bin lifecycle management—there is no list_bins/get_bin/delete_bin or capture deletion—but auto-expiring anonymous bins make this a workable, not blocking, omission.

Resources