Skip to main content
Glama

Damai Login With Sms

damai_login_with_sms

Log in to Damai via SMS code to support logged-in ticket availability checks; currently unimplemented because Damai requires slider or app-scan verification.

Instructions

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

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": "damai_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.3/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 a key behavioral fact the schema cannot: the tool is unimplemented because the flow requires slider captcha or App QR scanning and cannot be completed via pure API. That is genuinely useful. It stops short of saying what actually happens on invocation (error thrown, empty result, silent failure) despite an output schema existing, leaving the failure mode ambiguous.

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 critical 【暂未实现】 warning front-loaded, so an agent scanning the description sees the blocker first. Every clause earns its place and nothing is padded. Slightly terse for a tool whose parameters are entirely undocumented.

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?

For a two-parameter, unimplemented login tool with an output schema available, the description supplies the essential context: it does not work, and why. The main missing piece is a pointer to the viable alternative for authentication, which the sibling list makes relevant. That single omission keeps it below full marks.

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%, so both phone and code are undocumented in the schema and the description only hints at their meaning via 'SMS verification code login'. It never states that phone is the account number or that code is the numeric OTP delivered by damai_send_sms_code, nor any format constraints. Given a 0% coverage baseline, this is a real 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?

The description names a specific verb and resource (SMS-code login for Damai) and immediately flags the tool as not yet implemented. It also ties itself to the sibling damai_send_sms_code by sharing its blocking reason, which helps an agent place it in the auth family. It loses a point because it never states the positive capability boundary (what the tool would do if it worked) beyond the one-line summary.

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?

The 【暂未实现】 marker plus the explanation that slider verification or App QR scanning is required effectively tells the agent not to rely on this tool. However, no alternative is named — siblings like damai_import_cookie or import_cookie exist in the catalog and are the obvious workaround, yet the description never routes the agent there. Usage guidance is implied rather than explicit.

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