Skip to main content
Glama
weibo-mcp

weibo-mcp

by wangcch

Get Weibo Token

weibo_token
Read-only

Retrieve the current Weibo API access token and expiry metadata to verify authentication status and token validity.

Instructions

Get current Weibo API token and expiry metadata.

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": "weibo_token"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds that the value is 'current' and that expiry metadata accompanies it, which is useful, but it omits the behavior an agent most needs: whether calling this refreshes/rotates the token, whether it can fail on auth, or whether the result is cached.

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 front-loaded sentence with the resource and the returned artifacts stated in order. Nothing is repeated or padded.

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?

With no output schema and no parameters, the description reasonably names what comes back (token and expiry metadata). However, for a token-fetch tool the missing details about refresh semantics and failure modes leave a genuine gap that annotations do not fill.

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 there is nothing for the schema to explain and the baseline of 4 applies. The description adds no parameter meaning because none is needed.

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 — retrieve the current Weibo API token plus its expiry metadata — which is concrete enough to distinguish it from the query-oriented siblings (weibo_search, weibo_hot_search). It does not explicitly contrast itself with weibo_status, which is the nearest ambiguous neighbor, but the object of the operation is unambiguous.

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 explicit when-to-use guidance, no prerequisites (e.g., whether credentials must already be configured), and no statement of when a caller should prefer this over weibo_status. Usage is only inferable from the name and the phrase 'get current token', which is the bare minimum context.

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