Skip to main content
Glama
WebTrace MCP Server

WebTrace MCP Server

by kings0527

deobfuscate

Reverse JavaScript obfuscation by applying transforms to recover readable code for analysis.

Instructions

对混淆的JavaScript代码执行反混淆处理。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "code": "<code>"
    },
    "name": "deobfuscate"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes
transformsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/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 behavioral burden, yet it discloses nothing about whether the code is executed or only statically transformed, what side effects or risks exist, or what the result looks like. For a tool that ingests attacker-controlled code, the omission of any execution-safety statement is a meaningful gap.

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 sentence with no wasted words, but also no front-loaded detail beyond the bare purpose; concision here comes at the cost of under-specification rather than efficiency.

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

Completeness3/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 needed to explain safety, the transform semantics, and the return shape; it covers none of these. It is minimally sufficient to identify the tool but not to invoke it correctly with non-default transforms.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate and does not. The `code` parameter is inferable from the sentence, but the `transforms` array is completely opaque — no valid values are listed and the schema defines no enum, so an agent cannot know what to put there.

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 a specific verb (deobfuscate) and resource (obfuscated JavaScript code), so an agent knows exactly what operation is performed. It does not, however, differentiate itself from plausible siblings such as analyze_jsvmp or detect_protection, leaving the boundary implicit.

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 to use this tool versus alternatives, no stated prerequisites (e.g., that input must be obfuscated source rather than a live page or WASM), and no mention of what happens on failure or on partially deobfuscated input.

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