Skip to main content
Glama

call_wx_method

Call WeChat global methods (wx.*) in AppService and return the result.

Instructions

在 AppService 中调用 wx 全局方法并返回结果

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsNo方法参数(异步方法无需传 success/fail 回调)
methodYes需要调用的 wx 方法名,如 getStorageSync / setStorage
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It only states that the tool calls a method and returns the result, but omits details about error handling, asynchronous behavior, or side effects. The description adds no context beyond the basic operation.

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 a single, concise sentence that immediately conveys the tool's function. There is no unnecessary repetition or filler, and the key information is front-loaded.

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?

While the schema covers parameters, the overall description lacks essential context for a tool with no annotations and no output schema. Behaviors like error responses, synchronous vs. asynchronous execution, and restrictions on callable methods are not mentioned, making the description incomplete for reliable agent use.

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 100%, with both 'method' and 'args' having meaningful descriptions. The tool description itself does not mention parameters, but the schema already provides adequate semantics, so the baseline of 3 applies.

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: calling a wx global method within the AppService and returning the result. It distinguishes itself from sibling tools like call_page_method (page methods) and mock_wx_method (mocking), making the action and scope unambiguous.

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 is provided on when to use this tool versus alternatives such as mock_wx_method or page_call_method. The description does not mention any exclusions or conditions, leaving the agent without explicit usage direction.

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/pureia/wechat-devtools-mcp'

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