Skip to main content
Glama
WebTrace MCP Server

WebTrace MCP Server

by kings0527

extract_bytecode

Extracts JSVMP bytecode arrays from web pages via selector, script URL, or variable name, enabling analysis of protected JavaScript.

Instructions

从页面中提取JSVMP字节码数组。

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

Input Schema

NameRequiredDescriptionDefault
selectorNo
scriptUrlNo
variableNameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.4/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 disclosure burden, yet it reveals nothing beyond the one-line purpose. It does not say whether the page must be navigated and instrumented first, whether extraction is read-only, what happens if no matching script or variable is found, or what the returned array looks like when empty.

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

Conciseness3/5

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

A single short sentence with no wasted words and the resource front-loaded, which is structurally fine. However, the brevity crosses into under-specification rather than earning conciseness, since almost nothing operationally useful is conveyed.

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?

For a tool with three optional, fully undocumented parameters, no annotations, and no output schema, the description is far too thin. An agent cannot determine the required page state, parameter precedence, or expected return shape from it, so it is incomplete relative to the tool's actual complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Three parameters (selector, scriptUrl, variableName) exist with 0% schema description coverage, and the description mentions none of them. It adds zero meaning beyond the schema for the triage of which locator to supply, and gives no hint about precedence when several are omitted (all are optional).

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?

States a specific verb (extract) and a specific resource (JSVMP bytecode array from a page), which is far more concrete than a bare name restatement. It does not, however, distinguish the task from sibling tools like analyze_jsvmp or deobfuscate, which plausibly operate on the same artifact.

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

Usage Guidelines2/5

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

There is no guidance on when this tool should be used instead of analyze_jsvmp, extract_wasm, or deobfuscate, and no stated preconditions such as the page having to be loaded or a hook being installed first. The agent must infer all sequencing from the sibling names alone.

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