Skip to main content
Glama

dastyar_user_verify_otp

Verifies an SMS OTP code against a user's mobile number and issues a session token to authenticate the user.

Instructions

Verify SMS OTP code and establish user session token

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

Input Schema

NameRequiredDescriptionDefault
codeYes5-digit or 6-digit SMS verification code
mobileYesUser mobile number

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/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 one important behavior: this is a mutating auth step that establishes a session token. It says nothing about invalid/expired code handling, attempt limits, or what identity the resulting session carries.

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?

A single lean sentence with the action front-loaded and no filler. It is efficient, though its brevity leaves no room for the prerequisites an auth tool arguably needs.

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?

The tool is simple (2 required params, full schema coverage, no output schema), so the description covers the core action adequately. It is still thin for a state-changing auth operation: it does not say whether the session token is returned, stored, or how it relates to dastyar_user_set_token.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and both parameters are already documented there (mobile number, 5- or 6-digit SMS code). The description adds no format, normalization, or country-code details beyond the schema, so the baseline of 3 applies.

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 states a specific verb and resource ('Verify SMS OTP code') plus the resulting effect ('establish user session token'), which clearly separates it from dastyar_user_request_otp. It does not explicitly name a sibling as the alternative, so it stops short of a 5.

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?

Usage is only implied: the tool is clearly the second step of an OTP flow, but the description never says 'call after request_otp' or under which conditions to use it rather than dastyar_user_set_token. There are no exclusions or prerequisites stated.

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

Deploy Server

Other Tools