Skip to main content
Glama

profile.stop

Ends a profile session and returns a consolidated report covering top functions, longest tasks, heap growth, network failures, console errors, and artifacts.

Instructions

End the profile session and return one summary: top functions, longest tasks, heap growth, network failures and console errors, plus artifacts for each.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "profile.stop"
  }
}

Input Schema

NameRequiredDescriptionDefault
save_pathNo
browser_idNoBrowser handle (br_*). Omit to use the only running browser, or auto-launch one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

The annotations already mark this as non-read-only and open-world, and the description adds that stopping produces a consolidated summary with top functions, tasks, heap growth, network failures, console errors, and artifacts. It still omits operational behavior such as whether termination is irreversible, whether an active session is required, or how artifacts are stored/saved.

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 a colon-delimited list of returned summary categories. Every phrase contributes to the purpose and there is no filler.

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?

With no output schema, the description does a good job naming the return summary categories and artifacts. However, for a two-parameter stop tool it leaves save_path unexplained and provides no prerequisite about an active session, so it is adequate but incomplete.

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?

Only browser_id has a schema description; save_path is undocumented in the schema and the description says nothing about it. Coverage is 50%, so the description should compensate for the undocumented save_path, but 'plus artifacts' does not explain how save_path controls artifact output.

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 uses a specific verb ('End') and resource ('the profile session') and enumerates the summary content, which makes the operation identifiable. It does not explicitly distinguish this general profile stop from specialized siblings such as profiler.cpu.stop or profiler.trace.stop, so it falls short of a 5.

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?

Usage is implied by 'End the profile session,' but the text never states when to choose this over profile.status, profiler.cpu.stop, or profiler.trace.stop, nor does it give any prerequisite that an active profile session must exist. This is implied usage rather than explicit guidance.

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

Deploy Server

Other Tools