Skip to main content
Glama

当前语雀账号

yuque_whoami
Read-only

Check the current Yuque account, membership status, and knowledge base count, and verify whether the desktop client login session is valid.

Instructions

查看当前登录的语雀账号、会员状态、知识库数量,并验证登录态是否有效。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "yuque_whoami"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety and network profile is covered structurally; the description adds value by listing the payload fields. It does not say what happens when the login state is invalid (error vs. a falsy field in the response), which is the main behavioral question an agent has for an auth-check tool.

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

Conciseness5/5

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

A single sentence with no filler, listing the returned information in a front-loaded way. Every clause carries meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description must convey the return payload, and it does so by naming four concrete fields for this no-param read tool. Only the invalid-login failure behavior is left unexplained.

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 baseline is 4. The description correctly implies no inputs are needed, matching the empty schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a concrete verb (查看 / verify) and enumerates exactly what is returned: the logged-in account, membership status, knowledge-base count, and login validity. That is far more specific than the tool name and clearly separates it from the doc-oriented siblings (create/get/list doc, list books, search).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase '验证登录态是否有效' implies a use case (pre-flight auth/identity check), but the description never states when to prefer this over other tools or what to do if the check fails. Usage is inferable rather than stated.

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