Skip to main content
Glama
haoan33

OmniQQ-MCP

by haoan33

upload_private_file

Send a local file attachment to a specific QQ friend by providing their user ID, the file path, and the desired display name.

Instructions

向指定好友发送本地文件附件 (NapCat OneBot 11: upload_private_file)。 :param user_id: 接收方好友 QQ 号 :param file_path: 本地文件的绝对路径 (如 'D:/Desktop/report.xlsx') :param file_name: 对方看到的显示文件名 (如 'report.xlsx')

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idYes接收方好友 QQ 号
file_nameYes对方看到的显示文件名 (如 'report.xlsx')
file_pathYes本地文件的绝对路径 (如 'D:/Desktop/report.xlsx')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It states the file is sent but says nothing about rate limits, whether the path must exist locally, error/failure behavior, or account/permission requirements for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence is front-loaded and clear, but the :param: block largely duplicates the input schema, adding length without new information. Structure is acceptable but has redundant content.

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?

With no annotations and no output schema, the description should compensate by explaining side effects and outcomes, but it does not describe what happens on success/failure or any return value. The parameter layer is covered by the schema, but the behavioral layer is missing.

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%, so the three parameters are already documented. The description repeats those same descriptions verbatim rather than adding format, constraint, or edge-case detail, so baseline 3 is appropriate.

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+resource ('向指定好友发送本地文件附件' – send a local file attachment to a specified friend) and cites the underlying NapCat OneBot 11 action. It is clearly distinguishable from the group-file siblings, though it does not name them 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 use this versus alternatives such as upload_group_file or send_private_msg. No prerequisites, no mention that the target must be a friend, and no exclusions are stated.

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