Skip to main content
Glama
ascript-cn
by ascript-cn

get_module_apis

Retrieve complete API documentation for any module, including function signatures and parameter descriptions. Supports fuzzy matching to find modules like 'screen' for 'ascript.windows.screen'.

Instructions

获取指定模块的完整 API 文档,支持模糊匹配。例如 'screen' 可匹配 'ascript.windows.screen'。返回函数签名、参数说明和文档。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
platformYes目标平台:android、ios 或 windows
moduleYes模块名,如 'screen'、'action'、'node'
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavior. It mentions the return includes function signatures, parameter descriptions, and documentation, but does not specify if it is read-only, what the source of the docs is, or any authentication or side effects. This leaves significant gaps.

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?

Two sentences, no filler. The purpose and key functionality (fuzzy matching) are front-loaded. Every sentence serves a clear purpose.

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 relatively simple tool with two parameters and no nested objects, the description covers the main functionality. However, it lacks comparison to the sibling tool 'search_api' and does not explain the output format in detail (though it mentions what is returned). Minor but acceptable gap.

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?

Schema description coverage is 100%, so the schema already documents both parameters. The description adds value by providing a concrete example ('screen' → 'ascript.windows.screen') that clarifies how fuzzy matching works for the 'module' parameter, going beyond the schema.

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 retrieves complete API documentation for a specified module with fuzzy matching, using a specific example ('screen' matches 'ascript.windows.screen'). It distinguishes itself from siblings like search_api by focusing on module-level documentation.

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 description mentions fuzzy matching and gives an example, but does not explicitly state when to use this tool versus alternatives like search_api or when not to use it. No context on prerequisites or exclusions is provided.

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/ascript-cn/ascript-mcp'

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