Skip to main content
Glama

Finish Zoodex login

zoodex_login_verify

Verifies an SMS code or password to complete login, stores access and refresh tokens in the local session, and merges items added while logged out into the account cart.

Instructions

Step 2 of login. Verifies the SMS code (or password) and stores the access + refresh tokens in the local session. Any items added to the cart while logged out are merged into the account cart.

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

Input Schema

NameRequiredDescriptionDefault
codeNoThe SMS one-time code.
mobileNoMobile number. Defaults to the one used in zoodex_login_start.
passwordNoAccount password (when zoodex_login_start used method='password').
invitation_codeNoInvitation code for new users, if any.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, openWorldHint=true and destructiveHint=false; the description goes further by disclosing two non-obvious side effects — that access and refresh tokens are persisted to the local session, and that logged-out cart items are merged into the account cart. It does not cover failure behavior for an invalid or expired code, which is the main remaining gap.

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 front-loaded sentences with no filler: the first establishes position and action, the second adds the two consequences an agent most needs to know. Every clause carries information.

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?

For a four-parameter, all-optional mutation with no output schema and full schema coverage, the description supplies the flow position, both credential paths, token persistence, and the cart-merge side effect. Nothing an agent needs to call it correctly is missing.

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?

With 100% schema coverage the baseline is 3, and the description earns an extra point by clarifying the conditional relationship among the four optional parameters: either an SMS code or a password, depending on the method used in zoodex_login_start. It does not spell out which parameters pair with which path (e.g. mobile alongside code), leaving some combination logic to the schema.

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 ('Verifies the SMS code (or password)') and positions itself as 'Step 2 of login', which cleanly separates it from zoodex_login_start. An agent can identify the tool and its role in the flow without consulting 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?

'Step 2 of login' makes the sequencing against zoodex_login_start clear, and the parenthetical '(or password)' tells the agent which credential path applies. It stops short of explicit when-not guidance or naming an alternative for retry/failure cases, so it is clear context rather than a full decision rule.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.