Skip to main content
Glama
haoan33

OmniQQ-MCP

by haoan33

get_private_file_url

Fetch the direct download URL or local cache path for a QQ private-chat file by providing its file_id.

Instructions

获取私聊文件的直接下载链接或本地缓存路径 (NapCat 扩展接口: get_private_file_url)。 :param file_id: 私聊文件 file_id

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_idYes私聊文件 file_id

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 present, the description carries the full burden, and it does disclose the meaningful behavior that the result is either a direct download URL or a local cache path. However, it omits whether the call requires the file to still exist, permission/auth requirements, or expiry/rate-limit behavior.

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 purpose is front-loaded in a single clear clause and the size is appropriate. The embedded Sphinx-style ':param' docstring is redundant with the schema and slightly clutters the sentence, but it is not a structural problem.

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 simple one-parameter getter with no output schema, the description is nearly complete: it names what is returned. It still lacks the origin of file_id and the private-vs-group distinction, and with no annotations those gaps are not covered elsewhere.

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 single file_id parameter is already documented in the schema, and the description merely repeats ':param file_id: 私聊文件 file_id'. It adds no format, source, or validation detail beyond the schema, which is the expected baseline when the schema does the work.

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 (获取) and resource (私聊文件的直接下载链接或本地缓存路径), so an agent knows it retrieves a download link or cache path for a private-chat file. The 'private' scope implicitly distinguishes it from the sibling get_group_file_url, though that alternative is never named.

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 (e.g. that file_id comes from a received message), and no reference to the group-file sibling. The agent must infer context entirely.

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