Skip to main content
Glama

fill_email_code

Wait for an email code and type it into the matching page over CDP. The code is not 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": {
      "cdp_url": "<cdp_url>"
    },
    "name": "fill_email_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNo
cdp_urlYes
selectorNo
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

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the most important trait: the code is typed into the page and deliberately kept out of the agent's context. It omits failure behavior (what happens if no email arrives within timeout_seconds), whether the page must already be on the code screen, and any approval/permission requirements implied by approval_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?

Two short sentences, front-loaded with the action and ending on the critical non-return caveat. No wasted wording.

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 6-parameter browser-automation tool with no annotations and no output schema, the core flow is conveyed but key operational details (how site and selector interact, timeout defaults, approval_id purpose) are absent. An agent could call it, but not confidently configure it.

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 description coverage is only 17%, and the description adds no parameter meaning at all: cdp_url, site, selector, timeout_seconds, and approval_id are left to inference from bare names. Only identity_id carries a schema description, so the description fails to compensate for the coverage gap.

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 concrete verb and resource: it waits for an email code and types it into the matching page over CDP. The sentence 'The code is not returned' implicitly separates it from code-retrieval siblings such as get_email_code, 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to use it (when a code must be delivered into a page rather than read by the agent) and hints at an exclusion via 'The code is not returned'. It never explicitly says when to prefer fill_code, wait_for_email_code, or get_email_code, nor any prerequisites.

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