Skip to main content
Glama
haoan33

OmniQQ-MCP

by haoan33

clear_recent_messages_buffer

Clears the local in-memory buffer of recent real-time messages, freeing memory and resetting the cached message pool for the active QQ session.

Instructions

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.1.0
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv1.0.0

TDQS

B3.3/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, and it does disclose something meaningful: the buffer is local and in-memory, so this is not a server-side deletion and is likely transient. However it never states that the operation is destructive/irreversible, whether the cleared messages become unrecoverable or can be re-fetched from the server, or whether it requires an active login/session state.

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 short sentence with the scope qualifiers (本地内存 / 近期实时) front-loaded before the object. No filler, though its brevity contributes to the gaps noted elsewhere.

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?

For a parameterless, simple tool this covers the basics, but with no annotations and no output schema the description is the only source of behavioral context and it omits whether the clear is destructive, what state it affects, and how it interacts with get_recent_messages. Adequate but with clear gaps.

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 the schema has nothing to describe and the description is not expected to compensate. Baseline 4 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?

The description gives a specific verb (清空/clear) and a specific resource (本地内存中的近期实时消息缓存池 — the local in-memory recent real-time message buffer), so the agent can tell it is not a read like the sibling get_recent_messages. It stops short of explicitly naming that sibling or contrasting itself with it, so differentiation is inferable rather than stated.

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 when-to-use guidance, no prerequisites, and no mention of the sibling get_recent_messages or when a caller would want to clear the buffer rather than read it. The agent must guess the operational context entirely.

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