Skip to main content
Glama

Record traffic

record_start

Starts a timed recording of all browser requests, responses, and WebSocket messages, saving a HAR with bodies, a searchable request list, and a summary for debugging.

Instructions

Records every request, response and websocket message of the whole browser, from inside the browser (pages cannot see it): a HAR with bodies, a grep-able request list, and a summary. full also keeps every script the pages compiled. The files hold cookies and whatever the pages sent: keep them out of version control.

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": "record_start"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoA folder for the files (default: recordings/ under the working folder).
levelNo
minutesNoIt ends by itself after this (default 15).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose that capture happens inside the browser where pages cannot see it, that the files contain cookies and page-sent data, and that 'full' retains compiled scripts. However, it omits whether a browser must be running, what happens if a recording is already active, and how the recording terminates besides the timer. For a capture tool with zero annotation coverage this leaves meaningful gaps.

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?

Three sentences, front-loaded with what is captured before the caveats. The nested parentheticals and colon-separated lists make it slightly dense, but no sentence is wasted and the security warning is placed last where it reads as a caveat rather than the headline.

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 usefully characterizes the return artifacts (HAR, request list, summary) and the extra output of 'full'. Still missing is the operational context an agent needs: prerequisite browser state, the pairing with record_stop, and whether repeated starts are allowed. Adequate but incomplete for a recording tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%, so the schema already documents path and minutes. The description adds real meaning for the level enum by explaining that 'full' additionally keeps every script the pages compiled, but it says nothing about how the default 'network' level differs in output or how path interacts with the default recordings/ folder beyond what the schema states.

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 concrete verb and resource ('Records every request, response and websocket message of the whole browser') and enumerates the artifacts produced (HAR with bodies, grep-able request list, summary). It is clearly distinct from siblings like screenshot or observe, though it never names record_stop, the natural counterpart.

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?

There is no explicit when-to-use statement, no mention that a browser session must already be open, and no reference to stopping the recording with record_stop. Usage is only implied by the tool name and the phrase 'from inside the browser'. An agent must infer the whole workflow.

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