Skip to main content
Glama
mouse114514

Xadeus-QQ-MCP

add_wake_rule

Define a rule to wake opencode when a message with specified keywords arrives from a target group or private chat, with optional skip if focused.

Instructions

Add a wake rule: when a matching message arrives, opencode wakes up.

Args: target_type: "group" or "private". target_id: Specific group or friend QQ ID (None = any). keywords: Keywords to match (empty list = any message). ignore_if_focused: Skip wake if opencode window already focused (default True).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
target_typeYes
target_idNo
keywordsNo
ignore_if_focusedNo
Behavior2/5

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

No annotations; description only explains the rule's behavior but not system effects like rule limits or overrides. Lacks disclosure of side effects.

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?

Front-loaded one-line summary followed by clear parameter definitions. Every sentence adds value; no fluff.

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?

Covers all parameters and their semantics. Lacks discussion of error handling or return values, but for a simple add operation with no output schema, it is mostly complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, and the description adds full meaning for all parameters, including valid values and defaults, compensating completely.

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?

Clearly states the verb 'Add' and resource 'wake rule', and explains the trigger condition. Distinguishes from siblings like list_wake_rules and remove_wake_rule.

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?

Provides parameter explanations but no explicit guidance on when to use this tool versus other wake-related siblings like set_wake_config.

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/mouse114514/Xadeus-QQ-MCP'

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