Skip to main content
Glama
weapp-driver-mcp

weapp-driver-mcp

by Gao12123

Report the mini program session status

mp_status

Reports whether a Mini Program test session is running, which project and endpoint it targets, mocked wx methods, and the console log cursor so you can diagnose errors without guessing.

Instructions

Report whether a session is running, which project and automation endpoint it drives, which wx methods are currently mocked, and where the console log cursor stands. Call this instead of guessing after an error.

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

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the content of the report, which is the main behavioral trait, and "Report" implies a read operation. However, it never states that calling it has no side effects (a reader may wonder if it starts or attaches to a session given "which project and automation endpoint it drives"), nor what happens when no session exists — an error or a running:false status.

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?

Two sentences, front-loaded with the enumeration of what is reported and closed with the decision rule for when to call it. Every clause maps to a distinct returned field, so nothing is filler, though the first sentence is long and slightly list-like.

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?

With zero parameters and no output schema, the description must explain what comes back, and it does so by naming five concrete fields. The remaining gap is the no-session edge case: an agent cannot tell whether calling this before a launch returns a status or raises an error, which matters for a diagnostic tool invoked after failures.

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 no parameter semantics to explain and the baseline of 4 applies. The description spends no words on a schema that is empty and instead uses the space for return-content detail.

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 ("Report") and names the resource precisely, then enumerates the actual payload: session running state, project, automation endpoint, mocked wx methods, and console log cursor position. It is clearly distinguishable from siblings like mp_console or mp_page by being a no-argument diagnostic read. It stops short of naming any sibling it should be preferred over, which keeps it at 4 rather than 5.

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?

"Call this instead of guessing after an error" gives a concrete trigger condition: post-failure diagnosis rather than blind retries. That is real when-to-use guidance. There are no explicit exclusions (e.g., when a session is known healthy, or which sibling to check after calling this), so it is not full when/when-not coverage.

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