Skip to main content
Glama

Verify the email with its code

verify_email_code
Idempotent

Use this only with the six-digit code the brand read out from the email send_email_code sent. It verifies the account’s email and puts its brand page live, after which the draft can launch. Five wrong tries end a code; a new one comes from send_email_code. Owner only.

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": {
      "code": "<code>"
    },
    "name": "verify_email_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesThe six-digit code from the email, like 123456.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations, the description discloses the real state changes (email verified, brand page published, draft unblocked), the attempt limit ('five wrong tries end a code'), the invalidation consequence, and the authorization requirement. This is exactly the context an agent needs before committing a non-read-only call that the annotations only label generically.

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?

Four tight sentences, front-loaded with the sourcing constraint before the effects. Every clause carries distinct information: prerequisite, result, failure limit, recovery, and owner restriction. Nothing is repeated from the title or schema.

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?

For a single-parameter mutation with no output schema, the description covers prerequisites, side effects, failure behavior and permissions — enough to call it correctly. It stops short of saying what the call returns on success or what a failed verification looks like, which would fully close the loop.

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 100% and the schema already explains the six-digit format, so the baseline is 3. The description still adds provenance — the code must come from the email send_email_code sent and be read out by the brand — which tells the agent where to obtain a valid value rather than inventing one.

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?

Names the specific action (verify the account's email with a six-digit code) and states the consequences: the brand page goes live and the draft can launch. It is clearly distinguished from send_email_code, which produces the code rather than consuming it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicitly scopes use to the code sent by send_email_code and read out by the brand, names the prerequisite tool, gives the fallback (request a new code from send_email_code once the code is ended), and states the permission gate 'Owner only.' Both when-to-use and the recovery alternative are stated outright.

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