Skip to main content
Glama
lychee20000105

wechat-miniapp-engineering-mcp

miniapp_dependency_diagram

Generate a Mermaid dependency diagram of WeChat mini program pages, files, routes, cloud functions, controllers, and collections to visualize relationships.

Instructions

生成小程序页面、文件、路由、云函数、controller、集合之间的 Mermaid 依赖图。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectPathNo
targetNo图谱聚焦目标,例如客户私密相册、album、预约咨询。
featureNameNo可替代 target 的功能名。
limitNo最多扫描多少个安全文本文件,默认 1000。
Behavior2/5

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

With no annotations, the description should cover behavioral traits. It does not mention if the tool is read-only, what output format is returned (e.g., raw Mermaid text or a file), or any side effects like modifying files. The phrase 'generate' implies creation but without safety context.

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?

Single sentence conveying the core purpose and entities involved. No redundancy; every word is necessary.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 4 parameters and no output schema, the description should explain what the generated diagram looks like, how it's delivered, and error scenarios. It is too brief for a tool with multiple inputs and no explicit output details.

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 description coverage is 75%, so baseline is 3. The description adds the context of 'Mermaid' but does not elaborate on parameter specifics like how target or featureName are used (e.g., filtering, highlighting). The description adds minimal extra value 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 generates a Mermaid dependency diagram for specific entities (pages, files, routes, cloud functions, controllers, collections), providing a specific verb and resource. It distinguishes from siblings like miniapp_project_map or miniapp_graph_stats by focusing on dependency relationships.

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

Usage Guidelines2/5

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

No guidance on when to use this tool vs. alternatives like miniapp_understand_project_flow or miniapp_graph_stats. No context on prerequisites (e.g., project must exist) or when not to use it.

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/lychee20000105/wechat-miniapp-engineering-mcp'

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