Skip to main content
Glama

Cloudflare 验证助手

browser_cloudflare
Destructive

Inspect a Cloudflare challenge hidden in a cross-origin iframe, wait for it to settle, or send one confirmed pointer click to a visible checkbox so a human can complete the challenge.

Instructions

Inspect a Cloudflare challenge that is hidden inside a cross-origin iframe, wait until the challenge settles, or (with confirm:true) send one real pointer click to a visible checkbox. This is a human-in-the-loop helper: it does not extract tokens, alter cookies, or solve sliders/images; complete those challenges yourself in the page.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "browser_cloudflare"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabIdNoTab id (default: active tab)
actionNoChallenge operation (default inspect)
confirmNo(click) must be true to send the real pointer event
frameIdNo(click) frame id returned by inspect; omit to choose the first visible checkbox
timeoutMsNo(wait) maximum wait in milliseconds, default 30000, max 120000
candidateIndexNo(click) control index returned by inspect

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.0

TDQS

A4/5.0
Behavior4/5

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

The annotations declare a mutating, non-idempotent, open-world operation, and the description adds genuinely new behavioral context beyond that: a real pointer event is only sent when confirm:true, the tool is human-in-the-loop by design, and it deliberately refuses to extract tokens or modify cookies. It stops short of describing the shape of the inspect result or what happens if no visible checkbox exists, but the safety-relevant behavior is well disclosed.

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 dense sentences with no wasted words: the operations and the iframe scope come first, followed by the explicit limitation clause. Nothing is repeated from the schema or annotations.

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

Completeness4/5

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

For a six-parameter, no-output-schema tool, the description conveys the inspect-then-click workflow and the human-in-the-loop boundary well. The one residual gap is the inspect return shape (what frameId and candidateIndex look like), which matters because the click parameters depend on it, but annotations and the full schema coverage carry most of the rest.

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?

Schema description coverage is 100%, so every parameter is already documented, including the enum values and the inspect-returned frameId/candidateIndex. The description reinforces only the confirm:true gate; it adds no extra syntax, defaults, or constraints beyond the schema, so the baseline 3 applies.

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 names the specific resource (a Cloudflare challenge inside a cross-origin iframe) and the three distinct operations (inspect, wait, click), which is far more precise than the generic name. It implicitly separates itself from a plain click tool by saying it sends 'one real pointer click to a visible checkbox', though it never names a sibling alternative outright.

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

Usage Guidelines4/5

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

It gives a clear when-to-use context (cross-origin iframe challenges that normal tools cannot reach) and an explicit when-not-to-use boundary: it does not extract tokens, alter cookies, or solve sliders/images, and the agent should complete those itself in the page. What is missing is a named fallback among siblings such as browser_click or browser_frame for ordinary in-page clicks.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.