Skip to main content
Glama
LongLiveY96

ArkTS Helper MCP

by LongLiveY96

ask_ai

Ask Huawei's official AI assistant for integrated answers on ArkTS/ArkUI development, including code examples, best practices, and error troubleshooting.

Instructions

向华为开发者官方智能问答助手提问。

使用场景

当需要获取更全面、更权威的鸿蒙开发答案时使用此工具:

  • 复杂的开发问题(整合了官方文档 + 社区经验)

  • 需要代码示例和最佳实践

  • 错误排查和问题解决

  • 获取最新的开发建议

与 find_docs 的区别

  • find_docs:搜索本地文档,返回原始文档内容

  • ask_ai:调用华为官方 AI,返回整合后的智能回答

使用示例

示例1 - 用户问:"Navigation 怎么实现页面跳转并传参?" 调用:ask_ai({ query: "Navigation 怎么实现页面跳转并传参" })

示例2 - 用户问:"List 组件性能优化有哪些方法?" 调用:ask_ai({ query: "List 组件性能优化方法" })

返回华为官方智能助手的回答,包含参考链接。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes要问的问题,使用中文效果更好
newSessionNo是否开启新会话(默认 false,复用之前的会话上下文)
Behavior4/5

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

No annotations provided, but description discloses it calls Huawei official AI, returns integrated answer with reference links. Lacks potential limitations like network dependency or latency, but sufficient.

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?

Well-structured with sections for usage, comparison, and examples. Each part adds value, though slightly verbose; front-loaded.

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?

Tool complexity moderate; no output schema but describes return type. Examples provided. Could mention error scenarios or query constraints, but adequate.

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 coverage is 100% with detailed descriptions. Description adds only minor extra context (Chinese language hint) and examples, meeting baseline.

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?

Description clearly states '向华为开发者官方智能问答助手提问' (ask Huawei developer official AI Q&A assistant), specifies it returns integrated answers, and distinguishes from sibling tool find_docs.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly lists when to use (complex problems, code examples, error troubleshooting, latest advice) and provides comparison with find_docs, plus examples.

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