Skip to main content
Glama
escapeWu

chrome-agent-bridge

by escapeWu

Record heap allocation sampling

profiler_heap_sampling

Start or stop heap allocation sampling to analyze memory usage and detect leaks in Chrome tabs.

Instructions

Start or stop CDP HeapProfiler allocation sampling.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes
sessionIdYes
targetSessionIdNo
samplingIntervalNo
Behavior2/5

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

With no annotations provided, the description carries the full burden but only discloses the core action (start/stop). It omits side effects, sampling impact, whether a session must already be attached, or what happens if started twice, leaving 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single concise sentence with no filler, front-loaded with the verb and resource. It is maximally brief while still stating the primary purpose.

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

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given four parameters, no output schema, no annotations, and no behavioral details, a one-line description is grossly insufficient for an agent to correctly invoke and interpret the tool in context.

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 the description does not explain any of the four parameters. The agent receives no help understanding sessionId, action, targetSessionId, or samplingInterval beyond raw schema types.

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 specific action ('Start or stop') and the exact resource ('CDP HeapProfiler allocation sampling'), distinguishing it from sibling tools like performance_take_heap_snapshot or profiler_cpu.

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. The description implies start/stop for sampling but does not mention exclusions, preconditions, or comparison with related profiling tools.

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