Skip to main content
Glama
WebTrace MCP Server

WebTrace MCP Server

by kings0527

detect_protection

Identifies anti-scraping and anti-debugging protections on a specified URL or active page and reports their types and levels.

Instructions

检测指定URL或当前页面的反爬/反调试保护类型和等级。

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_protection"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo待检测的页面URL。省略则分析当前活跃tab的页面。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure. It does not say whether the tool navigates to the URL, uses the already-loaded tab, incurs network cost, mutates page state, or whether results are cached; and it does not explain what 'level' means or how the output is structured. For a detection tool that may drive a browser, these omissions are significant.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One compact sentence that leads with the action and the target resource. It is efficient with no filler, though it is arguably too terse for a tool with no annotations or output schema.

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

Completeness2/5

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

With no annotations and no output schema, the description should explain the return shape (types and levels) and whether the tool loads or navigates the page. Neither is covered, so an agent cannot predict the result format or side effects before calling it.

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%, and the single optional url parameter is fully documented in the schema, including the fallback to the active tab. The description only restates that fallback, adding no format, validation, or behavioral detail beyond the schema. The baseline of 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 states a specific verb (检测/detect) and a specific resource: the anti-scraping/anti-debugging protection type and level. This clearly differentiates it from siblings that analyze JSVMP, WASM, or deobfuscate code. It lacks any differentiation from related recon tools such as page_state, but the purpose itself is unambiguous.

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?

Usage is only implied: the description says to provide a URL or omit it to analyze the active tab, which suggests a pre-analysis or reconnaissance step. It gives no explicit when-to-use vs. when-not-to-use guidance, no prerequisites (for example, whether the page must first be navigated or loaded), and no mention of sibling tools like analyze_jsvmp that might be the follow-up step.

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