Skip to main content
Glama
escapeWu

chrome-agent-bridge

by escapeWu

Parse v4-compatible source map

sourcemap_parse_v4

Parse source map text to extract mappings while preserving ECMA-426 debug ID and scope-field metadata for debugging.

Instructions

Parse compatible mappings and preserve ECMA-426 debug ID and scope-field metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mapUrlNo
mapTextYes
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It adds that the tool 'preserves' metadata, which is useful, but it does not disclose whether parsing is side-effect-free, what happens with invalid or oversized input, how mapUrl is used, or what the return format looks like. This leaves significant behavioral ambiguity.

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?

The description is a single concise sentence that front-loads the core action ('Parse compatible mappings') and adds a specific detail about preserving metadata. It is efficient with no filler, though the phrase 'compatible mappings' could be more precise without sacrificing brevity.

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?

The tool has no annotations, no output schema, and only two schema fields without descriptions. The single-sentence description does not explain return values, input expectations beyond the schema, how mapUrl affects behavior, or how this parser differs from other sourcemap-related tools. This is inadequate for a tool with multiple sibling alternatives and non-trivial metadata handling.

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?

Schema description coverage is 0%, and neither the schema nor the description explains the meaning of the two parameters. The description never mentions mapText or mapUrl, nor their formats, constraints, or roles. With such low coverage, the description needed to compensate but did not.

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 identifies a parse operation on source maps and adds the specific behavior of preserving ECMA-426 debug ID and scope-field metadata, which distinguishes it from sibling tools like sourcemap_lookup or sourcemap_coverage. However, the phrase 'compatible mappings' is somewhat vague and does not explicitly mention 'v4' within the description itself, relying on the title/name for that context.

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 given on when to use this tool versus alternatives such as sourcemap_fetch_and_parse or sourcemap_discover. The metadata-preservation hint implies it is suited for v4 maps that contain debug IDs and scope fields, but no explicit exclusions or alternative recommendations are provided.

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