Skip to main content
Glama
escapeWu

chrome-agent-bridge

by escapeWu

Decode JavaScript string arrays

analysis_decode_string_array

Replaces statically resolvable literal array member accesses with their literal values.

Instructions

Replace statically resolvable literal array member accesses with their literal values.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It mentions the limitation 'statically resolvable' and implies a code transformation, but it does not disclose whether the input is mutated, what the output format is (modified code vs. diff), side effects, or error cases. This is insufficient for a transformation tool.

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?

The description is a single, front-loaded sentence with no filler or repetition. Every word carries meaning, and it is appropriately terse for a simple tool.

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?

Given the simple schema (one parameter) but no output schema, the description is incomplete: it does not state what the tool returns, how the input is interpreted, or any prerequisites. An agent would struggle to invoke it effectively without additional context.

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 for explaining the 'code' parameter. It does not mention that the parameter should be JavaScript source code, how it is processed, or any format expectations. While the parameter name 'code' is somewhat self-evident, the description adds no semantic value beyond the schema.

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 clearly states a specific transformation ('Replace statically resolvable literal array member accesses with their literal values') with a concrete verb and resource, distinguishing it from broader deobfuscation or analysis tools. It lacks a mention of 'string arrays' or JavaScript, but the core purpose 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 Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives, nor any exclusions. The description implies usage for static analysis but does not specify contexts, prerequisites, or why one would choose it over similar tools like js_deobfuscate_pipeline or analysis_data_flow.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/escapeWu/chrome-agent-bridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server