Skip to main content
Glama
LongLiveY96

ArkTS Helper MCP

by LongLiveY96

set_ai_auth

Set AI authentication credentials to remove anonymous usage limits and enable full access for AI-powered Q&A queries.

Instructions

设置 AI 问答的登录凭证,用于突破匿名态的次数限制。

使用场景

当 ask_ai 提示次数限制或需要登录时,使用此工具设置登录凭证。

  1. 打开浏览器,登录 developer.huawei.com

  2. 打开开发者工具 (F12) → Network 标签

  3. 在页面上使用智能问答功能提问

  4. 找到 dialog/submission 请求

  5. 复制 Request Headers 中的 Cookie 值

使用示例

set_ai_auth({ cookie: "your_full_cookie_value_here" })

设置成功后,后续的 ask_ai 调用将使用登录态,无次数限制。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cookieYes完整的 Cookie 字符串,从浏览器开发者工具中复制
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It explains that setting credentials enables subsequent ask_ai calls to use login and removes limits, but does not disclose behavior for invalid cookies, error handling, or whether previous credentials are overwritten.

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?

The description is well-structured with clear sections (usage scenario, how to get cookie, example). It is concise and front-loads the purpose, with no wasted sentences.

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 simple one-parameter tool with no output schema, the description covers purpose, usage, and effect adequately. It could mention the return value or success indication, but overall it is complete enough for effective use.

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?

The schema already describes the cookie parameter and has 100% coverage, but the description adds significant value by explaining how to extract the cookie from browser developer tools, which goes beyond the schema's definition.

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?

The description clearly states the tool's purpose: setting AI Q&A login credentials to bypass anonymous usage limits. It uses a specific verb (设置) and resource (登录凭证), and distinguishes itself from sibling tools like ask_ai which require authentication.

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?

The description explicitly states when to use this tool (when ask_ai prompts limit or needs login) and provides a step-by-step guide on how to obtain the cookie. However, it does not mention when not to use it or alternative approaches.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LongLiveY96/arkts-helper'

If you have feedback or need assistance with the MCP directory API, please join our Discord server