Skip to main content
Glama

mp_status

Verify whether a WeChat Official Account console session is still valid and report login state, masked token, account nickname, and active profile before using other account tools.

Instructions

Check whether the WeChat Official Account console session is still valid. Opens the console root in the controlled browser and reports login state, the masked session token, the account nickname when it can be read, and the profile directory in use. Call this before any other mp_* tool.

【中文】检查公众号后台的会话是否仍然有效。在受控浏览器里打开后台首页,回报登录状态、打码后的会话 token、能读到时的账号昵称,以及当前使用的 profile 目录。调用其它任何 mp_* 工具之前,先调它。

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

Input Schema

NameRequiredDescriptionDefault
screenshotNoalso save a full-page PNG to the out/ directory / 同时把一张整页 PNG 存到 out/ 目录

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does well on side effects (it opens the console root in a controlled browser) and on disclosure of sensitive output (the token is masked, the profile directory is reported). However, it never states what happens when the session is invalid — whether the tool errors, returns a boolean, or triggers a login flow — which is the single most important behavior for a status probe.

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 English text is front-loaded and efficient: purpose first, then outputs, then the call-ordering rule. The Chinese mirror doubles the length, which is defensible for a bilingual audience but is redundant for a single reader; the output list also slightly overlaps with what the output schema already provides.

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?

An output schema exists, so enumerating return fields is a bonus rather than a requirement, and the description covers side effects and the prerequisite ordering. The remaining gap is failure semantics for an expired session, which an agent needs in order to chain correctly with mp_account_login.

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?

There is one optional parameter (screenshot) and schema coverage is 100%, so the schema already explains the default and the effect of saving a PNG to out/. The description adds nothing about it, which is acceptable at full coverage but leaves no added value on this dimension.

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 and resource: check whether the WeChat Official Account console session is still valid, and it enumerates what gets reported (login state, masked token, nickname, profile dir). It is not a tautology of the name. Sibling differentiation is only implicit — it does not say how this differs from mp_account_login, though the 'call before any other mp_* tool' framing positions it as a prerequisite gate.

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

Usage Guidelines4/5

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

It gives an explicit, unambiguous usage rule: call this before any other mp_* tool, i.e. a mandatory precondition. What is missing is the negative case — whether to re-call it mid-session, how often, or what to do if it reports an invalid session (fall back to mp_account_login?).

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