Skip to main content
Glama

Login With Sms

login_with_sms

Log in with a phone number and SMS code to access account-based ticket availability checks; currently unavailable because slider verification blocks pure API completion.

Instructions

【暂未实现】用短信验证码登录。原因同 send_sms_code:需先过滑块验证,无法用纯接口完成。

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

Input Schema

NameRequiredDescriptionDefault
codeYes
phoneYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.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 the root cause (slider CAPTCHA blocks pure-API completion) — valuable context. However, it does not say what actually happens when invoked: whether it errors, returns a specific failure payload, or silently no-ops, which matters given an output schema exists.

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 short sentences with the unavailability status front-loaded in brackets so it is visible at a glance. No filler; the only cost is that the cross-reference to send_sms_code defers explanation to another tool.

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?

Output schema exists, so return values need no prose, and the unimplemented status is clearly stated. What is missing is the practical consequence for the caller — the failure mode on invocation and any recommended fallback path — which an agent needs to recover gracefully.

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

Parameters2/5

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

Schema description coverage is 0% for both phone and code, and the description adds nothing about expected formats (E.164? digits? code length/TTL?). Since the tool is unimplemented this is low-stakes, but the definition still fails to compensate for the coverage gap.

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?

Names a specific verb and resource (SMS-code login) and immediately flags with 【暂未实现】 that it is a stub, which is the single most decision-relevant fact. It distinguishes itself from send_sms_code by reference, though an agent must already know that sibling's behavior to interpret the stated reason.

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?

Effectively gives a strong when-NOT-to-use signal: the tool is unavailable, so do not call it expecting success. It stops short of naming a working alternative (e.g. an import_cookie-style flow) for actually establishing a session, leaving the agent to find another route on its own.

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