Skip to main content
Glama

Verify the code and get an API key

verify_account

Checks the 6-digit code and returns a new API key (shown once) plus how to connect to the main MCP server. Pass channel (the account the person wants to connect first) to also get connect_link: a sign-in link to give the person straight away, before the main server is connected.

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

Input Schema

NameRequiredDescriptionDefault
codeYes
channelNoThe account to connect first: instagram, whatsapp, linkedin, messenger or telegram. Ask the person before calling. The answer then has connect_link.url for them.
signup_idYes
heard_fromNoRequired for a new account (with use_case and persona). Ask the person "Where did you hear about Spaces?" and pass their answer. ai_assistant is an AI agent such as ChatGPT or Claude; other needs heard_from_detail.
heard_from_detailNoTheir own words, required when heard_from is other (a podcast, an event, a community).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=false), the description discloses the critical trait that the API key is 'shown once' and that connect_link only appears when channel is supplied. It does not cover failure modes (wrong/expired code) or whether a retry burns the signup, so it stops short of full transparency.

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?

Two sentences, front-loaded with the primary outcome and then the optional channel behavior; no filler. The parenthetical and colon chaining make it slightly dense but nothing is redundant.

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?

With no output schema, the description carries the return-value burden and does explain the key result and connect_link.url. It omits the rest of the response shape and error behavior for a mutation-flagged, non-idempotent tool, which keeps it from a 5.

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 60%, and the description compensates for part of the gap by explaining channel's effect (produces connect_link for that person) and by specifying '6-digit code' more tightly than the schema's 6-12 length range. heard_from and heard_from_detail are left entirely to the schema, which is acceptable given their inline descriptions.

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?

The description names a specific action (checks the 6-digit code) and its concrete outputs (a new API key plus connection instructions for the main MCP server). It is clearly a post-signup verification step, which implicitly separates it from create_account and get_started, but it never names those siblings 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?

It gives conditional guidance for the channel parameter ('Pass channel ... to also get connect_link ... before the main server is connected') and tells the caller to ask the person first, which is genuinely useful. However, it never states when this tool should be called relative to create_account/get_started, nor what to do if the code is invalid.

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