Skip to main content
Glama
kevintpeng

termux-puppeteer-mcp

by kevintpeng

puppeteer_screenshot_debug

Capture a screenshot of a web page or current browser session and open it instantly for debugging inspection.

Instructions

Take a screenshot and save it to a file, then open with termux-open for debugging. Works with sessionId to capture current state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoURL to screenshot (only used if sessionId not provided)
sessionIdNoSession ID to screenshot current state
widthNoViewport width in pixels
heightNoViewport height in pixels
filenameNoOutput filename (defaults to screenshot-{timestamp}.jpg)
delayNoAdditional delay in milliseconds after page load
Behavior3/5

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

No annotations provided, so description carries full burden. It discloses file save and termux-open side effects, but could mention it's non-destructive and potential implications of saving files.

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?

Two concise sentences, front-loaded with the action and purpose. No wasted words.

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?

Covers basic purpose but lacks details on parameter interactions (e.g., url vs sessionId precedence), return value, and differentiation from sibling screenshot tool.

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?

100% schema coverage means schema already describes parameters. Description adds little beyond saying 'Works with sessionId', which is already in schema.

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?

Description clearly states it takes a screenshot, saves to file, and opens for debugging. The name includes 'debug' to differentiate from sibling puppeteer_screenshot, but it could be more explicit about the distinct use case.

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?

Implies use for debugging and mentions sessionId, but no explicit guidance on when to use this vs puppeteer_screenshot, nor when not to use it.

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/kevintpeng/termux-puppeteer-mcp'

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