Skip to main content
Glama

pool_test

Test asynchronous responses within the browser pool MCP server to verify functionality and ensure reliable operation of concurrent, isolated Playwright browser sessions.

Instructions

Test async response

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYes

Implementation Reference

  • The handler function for the 'pool_test' tool, which logs the input, simulates an asynchronous delay, and returns a formatted response.
    server.tool('pool_test', 'Test async response', { message: z.string() },
      async (args) => {
        log(`[pool_test] called with: ${JSON.stringify(args)}`);
        // Simulate async operation
        await new Promise(r => setTimeout(r, 100));
        const response = {
          content: [{
            type: 'text',
            text: `Received: ${args.message}`
          }]
        };
        log(`[pool_test] returning: ${JSON.stringify(response)}`);
        return response;

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/OMGEverdo/browser-pool-mcp'

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