Skip to main content
Glama

wait_for_login

Wait until the owner has typed the login from request_login, or the timeout elapses (default 120 seconds, at most 300). Returns status: pending, fulfilled or expired. The login itself is never returned.

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_login"
  }
}

Input Schema

NameRequiredDescriptionDefault
request_idYes
identity_idNoIdentity to use. Omit when the account has exactly one identity.
timeout_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the default and maximum wait (120s default, 300s cap), the three possible return statuses, and the important security trait that the login itself is never returned. It omits whether the call blocks for the whole duration and what happens for an unknown or already-consumed request_id.

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?

Three tight sentences with zero filler; the trigger condition leads, timeout bounds second, return shape and the security caveat last. Every sentence adds information an agent needs.

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?

There is no output schema, so the description usefully enumerates the status values and the fact that no secret is returned. For a blocking wait tool it would be stronger with a note on long-poll semantics and the expected agent behavior on 'expired' (e.g., re-issue request_login).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33% (only identity_id is documented), but the description compensates by explaining timeout_seconds' default and ceiling and by tying request_id to the prior request_login call. identity_id's fallback rule is already covered in 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?

States a specific verb and resource ('Wait until the owner has typed the login') and names the producing tool (request_login), which cleanly separates it from siblings like request_login, fill_login, and wait_for_approval. An agent can identify the tool's role without opening the schema.

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 makes the calling context explicit: this is the follow-up to request_login and waits for the owner's action. It does not state when not to use it (e.g., versus polling with get_run/list_events) or what to do on 'expired', so it stops short of full routing guidance.

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