Skip to main content
Glama

pause_or_resume

Toggle JavaScript execution in WeChat MiniApp debugging sessions to pause or resume script analysis and runtime inspection.

Instructions

Toggles JavaScript execution. If paused, resumes execution. If running, pauses execution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It explains the toggle action but doesn't mention important behavioral aspects like whether this affects all scripts globally, requires specific permissions, has side effects on debugging state, or what happens to breakpoints. The description is minimal and lacks needed context.

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?

The description is extremely concise with just two sentences that directly explain the toggle behavior. Every word earns its place with no wasted text, and the information is front-loaded with the core functionality stated immediately.

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 this is a debugging control tool with no annotations but an output schema exists, the description is insufficient. It doesn't explain what the toggle returns, what state changes occur, or how this interacts with other debugging tools. For a tool that controls JavaScript execution, more context about scope and effects is needed.

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 has zero parameters, and schema description coverage is 100% (though empty). The description appropriately doesn't discuss parameters since none exist, which is correct for a parameterless tool. No additional parameter information is needed or provided.

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 clearly states the tool's purpose: toggling JavaScript execution with specific states (paused/resumed). It uses a specific verb ('toggles') and identifies the resource ('JavaScript execution'), but doesn't distinguish from siblings like 'step' or 'break_on_xhr' that also control execution flow.

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 guidance is provided on when to use this tool versus alternatives like 'step' for stepping through code or 'break_on_xhr' for pausing on network events. The description only explains what the tool does, not when it's appropriate.

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/zhizhuodemao/miniapp-cdp-mcp'

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