Skip to main content
Glama

tap_runtime

Idempotent

Switch browser runtime mid-session to match task: headless for fast, no-login automation; Chrome for using real user login sessions on authenticated sites and write operations.

Instructions

Switch browser runtime mid-session. Default is headless (no login). Use 'chrome' when you need the user's real browser with login sessions (Xiaohongshu, Zhihu, etc.) or for write operations (publish, comment). Use 'headless' to switch back. (Unrelated to tap mcp connect, which registers the Tap MCP server with an AI host.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
runtimeYeschrome = user's real Chrome browser (login sessions available). headless = Playwright (fast, no login).
Behavior4/5

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

The description adds behavioral context beyond annotations: it explains that chrome provides login sessions and is for write operations, while headless is fast and without login. Annotations indicate idempotentHint=true, which aligns with switching behavior. The description does not contradict annotations and provides useful real-world context, though it could mention if switching resets any state.

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 concise with three sentences, each serving a clear purpose. The first sentence states the main action, the second details when to use each option, and the third clarifies a related but distinct concept. No redundant or vague statements.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (single parameter, enum, no output schema), the description covers all necessary aspects: purpose, usage guidelines, parameter semantics, and behavioral context. It is complete for an agent to correctly select and invoke this tool.

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 schema already describes the parameter with enum values and descriptions. The tool description adds value by stating the default is headless and giving usage advice ('Use chrome when...', 'Use headless to switch back'). This provides practical guidance beyond the schema's literal descriptions.

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 switches browser runtime mid-session, explains the two runtime options (chrome and headless) with their characteristics, and distinguishes itself from sibling tools by clarifying it is unrelated to `tap mcp connect`. The verb 'switch' and resource 'browser runtime' are specific and unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly tells when to use chrome (need real browser with login sessions, write operations) and headless (fast, no login), and also states the default is headless. It effectively guides the agent on when to use this tool and when not, providing clear context for each option.

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/LeonTing1010/tap'

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