Skip to main content
Glama
greatSumini

Puppeteer Swarm MCP

by greatSumini

evaluate

Execute JavaScript code within browser tabs to extract data, manipulate page content, or perform calculations using Puppeteer Swarm MCP's concurrent tab automation capabilities.

Instructions

페이지 컨텍스트에서 JavaScript를 실행합니다. 단일 표현식(예: 'document.title', '1 + 1')은 자동으로 결과가 반환됩니다. 복잡한 스크립트는 'return' 문을 명시적으로 사용하세요.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tabIdYes대상 탭 ID
scriptYes실행할 JavaScript 코드. 단일 표현식은 자동 반환, 복잡한 로직은 return 문 필요
Behavior4/5

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

With no annotations provided, the description carries full burden and does well by disclosing key behavioral traits: it executes JavaScript in page context, explains the auto-return behavior for single expressions, and requires explicit return statements for complex scripts. However, it doesn't mention error handling, execution time limits, or security implications.

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 perfectly concise with just two sentences that each earn their place. The first states the core purpose, the second provides crucial behavioral guidance about return values. No wasted words, and the most important information is front-loaded.

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?

For a JavaScript execution tool with no annotations and no output schema, the description is adequate but has clear gaps. It explains the execution behavior well but doesn't cover error cases, return value formats, execution context limitations, or security considerations that would be important for this type of 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?

With 100% schema description coverage, the baseline is 3. The description adds some value by elaborating on the script parameter's behavior (single expressions auto-return vs complex scripts needing return statements), but doesn't provide additional context about tabId or parameter interactions beyond what the schema already documents.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/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: '페이지 컨텍스트에서 JavaScript를 실행합니다' (executes JavaScript in page context). It specifies the verb ('실행합니다' - executes) and resource (JavaScript), and distinguishes it from sibling tools like click, navigate, or type which perform different browser automation functions.

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?

The description provides implicit usage guidance by explaining when to use return statements versus when expressions auto-return, but doesn't explicitly state when to choose this tool over alternatives like get_content or when not to use it. No sibling tool comparisons or explicit context boundaries are provided.

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/greatSumini/puppeteer-swarm-mcp'

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