Skip to main content
Glama
capwitf

Baidu Netdisk Knowledge MCP

by capwitf

Build Baidu QR auth URL

baidu_auth_qrcode_url

Generate a Baidu OAuth URL for QR code login to authenticate users and enable AI assistants to access Baidu Netdisk files.

Instructions

Build a Baidu OAuth URL optimized for QR-code login.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateNo
deviceIdNo
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure, but it only states that a URL is built. It does not mention authentication requirements, side effects, return format, or how the state and deviceId parameters affect the URL, leaving the agent without critical behavioral context.

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 description is a single clear sentence with no wasted words. It could still be expanded with parameter hints or usage notes without becoming bloated, but as written it is concise and front-loaded.

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?

Given the lack of annotations, no output schema, and 0% parameter description coverage, the description is incomplete. It doesn't say what the tool returns, how parameters affect the URL, or how it differs from the similarly named sibling baidu_auth_qrcode.

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

Parameters2/5

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

Schema description coverage is 0%, and the description adds no explanation of 'state' or 'deviceId'. An agent must guess their roles from OAuth conventions, which is unreliable. The description provides no value beyond what the parameter names weakly imply.

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 uses a specific verb ('Build') and resource ('Baidu OAuth URL'), and the qualifier 'optimized for QR-code login' distinguishes it from the sibling baidu_auth_url. However, 'optimized' is vague—it doesn't clarify what makes the URL QR-specific compared to the standard auth URL.

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?

No when-to-use or alternative guidance is provided. The phrase 'optimized for QR-code login' implies a use case, but the description never names baidu_auth_url or baidu_auth_qrcode as alternatives or explains when to choose this tool over them.

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/capwitf/baidu-netdisk-knowledge-mcp'

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