Skip to main content
Glama

try_match_conditional_menu

Read-onlyIdempotent

Test which personalized WeChat menu a specific user will match by providing their user ID. Identify the conditional menu assigned to any account.

Instructions

测试指定用户会匹配到的个性化菜单。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, fully covering the safety profile. The description adds the matching-test semantics, confirming this is a non-mutating preview operation. It does not, however, disclose what 'match' entails (e.g., whether all conditional rules are evaluated, or how conflicts are resolved), but the annotations lower the burden.

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?

The description is a single, front-loaded sentence with no filler words. The verb and core purpose appear immediately, and every phrase earns its place. It is appropriately sized for a tool with one parameter and simple semantics, though it could add a clause or two of usage context without becoming verbose.

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

Completeness3/5

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

With an output schema present, return values do not need explanation, and annotations fully cover the safety profile. For a one-parameter test tool, the description is minimally viable but thin: it does not clarify what happens when a user matches no conditional menu (fallback to normal menu) or what the output semantics are, which an agent might need to interpret results correctly.

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 0%, so the description carries the burden for parameter meaning. The description mentions '指定用户' (specified user), which maps to user_id and clarifies the parameter identifies the user whose menu match is being tested. However, it does not specify the user ID format or domain (e.g., openid vs. internal ID), leaving some ambiguity despite only one parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description '测试指定用户会匹配到的个性化菜单' states a specific verb (test) and resource (conditional menu matching for a specified user). It clearly conveys the tool's function of simulating menu matching. However, it does not explicitly distinguish itself from siblings like create_conditional_menu or get_current_menu, though the 'try_match' naming and test semantics provide implicit differentiation.

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 word '测试' (test) implies this is a dry-run/simulation tool used to preview menu matching before actually applying a conditional menu. However, there is no explicit guidance on when to use it versus alternatives, no stated exclusions, and no reference to sibling tools such as create_conditional_menu or get_current_menu.

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