Skip to main content
Glama
escapeWu

chrome-agent-bridge

by escapeWu

Diff source maps

sourcemap_diff

Detect differences between two source maps by comparing source membership and content hashes. Pinpoint changed or missing sources to troubleshoot source map issues.

Instructions

Compare source membership and sourcesContent hashes between two locally parsed source maps.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mapIdAYes
mapIdBYes
lineThresholdNo
Behavior3/5

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

With no annotations provided, the description adds value by specifying the exact comparison dimensions (source membership and hashes of sourcesContent). However, it does not disclose the output structure, whether the operation has side effects (though 'compare' suggests read-only), or how edge cases like missing sourcesContent are handled.

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 14-word sentence that front-loads the main verb and avoids any filler. Every word contributes to defining the tool's role, making it appropriately sized and well-structured.

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 lack of an output schema and annotations, the description must explain the return value and parameter semantics to be complete. It does not describe the diff output format, nor does it clarify lineThreshold or how maps are associated with the 'locally parsed' state. These gaps leave the tool under-specified for reliable use.

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%, and the description only alludes to the two map IDs via 'two locally parsed source maps.' The third parameter, 'lineThreshold,' is not mentioned, leaving its meaning and behavior completely unexplained.

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 identifies the tool's purpose with a specific verb ('Compare') and exactly what is compared ('source membership and sourcesContent hashes') between two source maps. This distinctly separates it from sibling tools like sourcemap_parse_v4, which parses, and sourcemap_lookup, which looks up mappings.

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 phrase 'locally parsed source maps' implies the prerequisite that maps must already be parsed, but it does not explicitly state when to use this tool versus alternatives or when to avoid using it. Usage context is hinted rather than explicitly documented.

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