Skip to main content
Glama
camoufox-agent

camoufox-agent

by VolanDeVovan

detect_anti_bot

Read-only

Check whether a tab displays an anti-bot challenge and identify present protection scripts or captcha widgets, so agents can stop and hand solving to the user.

Instructions

Is the page in a tab an anti-bot challenge (Cloudflare, DataDome, HUMAN / PerimeterX, Imperva, Akamai, AWS WAF, captcha-only pages), and which protection scripts or captcha widgets are present. On a challenge page, stop and hand over to the user: they solve it in the visible window. navigate and click replies flag challenge pages by themselves; this tool gives the detail.

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": "detect_anti_bot"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabIdNoTab to act on, from tabs_context. Omitted: this session's active tab. Pass it always when several agents share the session.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

The readOnlyHint=true annotation is consistent with a pure detection tool, so the bar is lower; the description still adds real behavior the annotation cannot convey, namely that a positive result means halting automation and handing control to the human in the visible window. It stops short of saying what the response contains beyond which scripts/widgets are present, which is a minor gap given no output schema.

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?

Three sentences, front-loaded with the detection scope, followed by the action policy and the sibling differentiation. No redundancy and nothing extraneous.

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?

For a read-only, single-parameter detector with no output schema, the definition covers what is detected, what to do on a hit, and how it relates to navigate/click. Nothing needed to invoke or interpret it correctly is missing.

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?

Schema coverage is 100% and the tabId description already explains the default-active-tab behavior and the multi-agent sharing caveat, so the description is not required to compensate. It adds no parameter meaning of its own, which is acceptable at full coverage.

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?

States a precise verb+resource ('is the page ... an anti-bot challenge') and enumerates the specific vendors and captcha-only cases it covers. It also distinguishes itself from navigate/click, which flag challenge pages by themselves, so an agent can select it without opening a schema.

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?

Gives explicit when-to-use ('this tool gives the detail'), an explicit alternative ('navigate and click replies flag challenge pages by themselves'), and an explicit action policy when a challenge is found ('stop and hand over to the user: they solve it in the visible window'). That is about as complete as a one-parameter detection tool needs.

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