Skip to main content
Glama

Wait for a secret request

wait_for_secret
Read-only

Waits up to 55 seconds for a user to respond to a secret request, then returns its status—waiting, delivered, declined, cancelled, expired, or failed—without exposing the secret value.

Instructions

Wait for the user to answer a request_secret (up to 55 s per call) and return its status: waiting, delivered, declined, cancelled, expired or failed. Never returns the value.

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": {
      "request_id": "<request_id>"
    },
    "name": "wait_for_secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
request_idYesThe request_id from request_secret.
wait_secondsNo0–55, default 50. 0 just checks.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations, the description discloses the two behaviors that matter most: the call blocks up to 55 seconds, and it never returns the secret value, only a status. That is critical information an agent cannot get from the schema and keeps it consistent with readOnlyHint=true.

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 dense sentence that front-loads the action and duration, then the return statuses, then the safety constraint. No filler and nothing a caller needs is buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description fully covers what comes back by listing all possible status values, and it covers the blocking duration and the value-withholding guarantee. Nothing an agent needs to call this correctly is missing.

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 100%, so both parameters and their bounds (0–55, default 50) are already documented in the schema. The description only reinforces that request_id comes from request_secret and that the wait is bounded per call, adding little beyond the structured fields.

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 gives a precise verb ('Wait for the user to answer') tied to a specific resource (a request_secret by request_id) and enumerates the exact terminal/interim statuses returned. It implicitly contrasts with a non-blocking poll, but never names a sibling, so the differentiation is left to inference.

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 clearly establishes the calling context: use this after request_secret, passing the request_id that request_secret produced, and that each call blocks up to 55 s. It does not state when to prefer check_secret or cancel_secret_request instead, nor when not to use it, so exclusions are absent.

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