Skip to main content
Glama

get_email_code

Wait for an emailed verification code and return it, for agents whose browser runnerID cannot reach. The code is consumed and the release is logged. Prefer fill_email_code when you have a cdp_url.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_email_code"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / approval_id
      Added value: +{
      +  "format": "uuid",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4/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 meaningful work: it discloses that the code is single-use ('consumed') and that the release is audit-logged. It omits failure behavior (what happens on timeout or missing approval, and why approval_id exists), leaving a gap for a blocking wait operation.

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?

Two sentences, zero filler, with the scope constraint front-loaded and the sibling routing trailing. Every clause earns its place.

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?

It conveys the return value (the code) and the consumption side effect despite having no output schema, which is good. But for a blocking wait tool with four params, no annotations, and no timeout/cancellation semantics, an agent still cannot predict failure modes or the approval flow.

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

Parameters2/5

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

Schema coverage is only 25%, so the description must compensate and does not: site, approval_id, and timeout_seconds go unexplained, including the critical question of what approval_id gates. Only identity_id has schema prose, and the description adds nothing to any of the four parameters.

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 for an emailed verification code and return it') plus a scope constraint ('for agents whose browser runnerID cannot reach') that immediately separates it from the cdp_url-based sibling. An agent can identify the operation 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?

Explicitly routes the agent: 'Prefer fill_email_code when you have a cdp_url' supplies both an alternative and the condition that selects it. It does not address the similarly named wait_for_email_code sibling, so the routing picture is clear but not exhaustive.

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