Skip to main content
Glama
escapeWu

chrome-agent-bridge

by escapeWu

Test extracted crypto function

crypto_test_harness

Run a supplied function against deterministic string inputs in a bounded Worker and VM context to validate cryptographic logic. Includes configurable timeout for controlled execution.

Instructions

Run a supplied function against deterministic string inputs in a bounded Worker and vm context. This is defense in depth, not a security sandbox.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
timeoutMsNo
testInputsYes
functionNameYes
Behavior4/5

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

With no annotations provided, the description carries the full burden of disclosing behavioral traits. It usefully notes that execution happens 'in a bounded Worker and vm context' and explicitly warns that it is 'defense in depth, not a security sandbox.' This adds valuable context beyond the schema, though it does not cover failure modes or output behavior.

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 two sentences with no fluff. The first sentence front-loads the primary action, and the second provides a crucial security caveat. Every word contributes to understanding, making it highly concise and well-structured.

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?

The tool has 4 parameters and no output schema, so the description should explain return values and usage nuances. It covers the purpose and the execution context but omits what happens to the function's output, how to construct the code, and any relationship to crypto extraction. The schema fills structural gaps but the description leaves some contextual questions unanswered.

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 parameter understanding. It only touches on testInputs via 'deterministic string inputs' and leaves code, functionName, and timeoutMs unexplained. The parameter names are somewhat self-explanatory, but the description adds little beyond the schema.

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?

The description clearly states the tool's function: 'Run a supplied function against deterministic string inputs in a bounded Worker and vm context.' The verb 'Run' and the resource 'supplied function' are specific, and the mention of 'deterministic string inputs' and 'bounded Worker and vm context' distinguishes it from sibling tools like crypto_compare, which focuses on comparison rather than execution.

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?

The description implies when to use the tool (to test a supplied function with deterministic inputs) but does not explicitly mention alternatives or exclusions. There is no guidance on how it relates to sibling tools such as crypto_compare or js_deobfuscate_pipeline, leaving the agent to infer the appropriate context.

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