Skip to main content
Glama
haoan33

OmniQQ-MCP

by haoan33

clear_recent_messages_buffer

Clear the local in-memory buffer of recent real-time QQ messages to free memory and reset message tracking before new listening sessions.

Instructions

清空本地内存中的近期实时消息缓存池。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully scopes the effect to '本地内存' (local memory) and identifies the target as a cache pool, which tells the agent that persistent message history is likely unaffected. However, it omits whether the action is reversible, whether in-flight/queued messages are lost, and whether confirmation or elevated permissions are required.

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?

A single front-loaded clause with no filler or redundancy. It is tight, though for an operation that discards data it may be terse to the point of under-informing.

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?

No annotations, no output schema, and no statement of when the tool is appropriate or what the caller observes afterward. For a state-clearing operation, an agent needs at least a hint about timing/appropriateness, and nothing here supplies it.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate. The baseline for a parameterless tool applies.

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?

States a specific verb (清空/clear) and a specific resource (近期实时消息缓存池 – the recent realtime message buffer). An agent can distinguish it from the read-oriented sibling get_recent_messages, but the description never names or contrasts with any sibling explicitly.

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?

There is no guidance on when to invoke this tool versus alternatives such as get_recent_messages or get_recent_notices_and_requests, nor any stated preconditions or consequences. The agent must infer the use case entirely from the verb.

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