Skip to main content
Glama

Verify the account email

verify_email
Idempotent

Finish account verification with the 6-digit code PubSpace emailed to the human (ask them to read it to you). Publishing unlocks on success. Works in the session where create_account ran, with an API key for an unverified account, or on any connection by passing api_key (the apiKey create_account returned); in that last case, reconnect with the key as the X-API-Key header to publish. Returns { ok, verified, subdomain }; fails with invalid_code (and attemptsRemaining), code_expired, too_many_attempts, already_verified, not_signed_in or invalid_api_key.

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

Input Schema

NameRequiredDescriptionDefault
codeYesThe 6-digit code from the verification email.
api_keyNoThe apiKey create_account returned. Only needed when this connection is not signed in to the account (no Mcp-Session-Id, or the session expired).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / api_key / description
      Previous value: -"The apiKey create_account returned. Only needed when this connection is not signed in to the account (no Mcp-Session-Id, or the session was lost)."New value: +"The apiKey create_account returned. Only needed when this connection is not signed in to the account (no Mcp-Session-Id, or the session expired)."
  2. Changed1 schema field changed
    • addedInput schema / properties / api_key
      Added value: +{
      +  "description": "The apiKey create_account returned. Only needed when this connection is not signed in to the account (no Mcp-Session-Id, or the session was lost).",
      +  "type": "string"
      +}
  3. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare the safety profile (not read-only, not destructive, idempotent); the description goes well beyond that by explaining session scoping, the API-key fallback path, the publishing prerequisite, the exact return shape, and the full error-code taxonomy including attemptsRemaining. Nothing here contradicts idempotentHint=true, since re-verification surfaces already_verified.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single dense paragraph that front-loads the action and the human-in-the-loop instruction, then layers conditions and return/error detail. Every clause carries information, though the run-on sentence structure makes the API-key branch harder to scan than a short bulleted list would.

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 supplies the return shape ({ ok, verified, subdomain }) and all failure modes, and it covers the non-obvious session/API-key mechanics that would otherwise cause silent failures. For a two-parameter verification tool this is fully sufficient to call correctly.

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%, so the baseline is 3, but the description adds value by tying api_key to create_account's output and describing the consequence of the session-expired case, plus clarifying that the code must come from the human. The parameter explanations largely restate the schema, hence not a 5.

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?

The description opens with a specific verb and resource: 'Finish account verification with the 6-digit code PubSpace emailed to the human.' It is unmistakably distinct from siblings like create_account, publish_page, or claim_page, and even names the downstream effect ('Publishing unlocks on success').

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?

It enumerates the three valid contexts for calling the tool (same session as create_account, API key for an unverified account, or api_key on any connection) and states the follow-up needed in the third case (reconnect with X-API-Key to publish). It also tells the agent to ask the human for the code rather than guessing, which is actionable when-to-use 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