Skip to main content
Glama

web_record_cassette

Record secret-scrubbed HAR-lite replay cassettes from read-only GET requests to a target URL, enabling offline testing with saved responses.

Instructions

Record a secret-scrubbed HAR-lite offline replay cassette from one or more read-only GET requests against a target URL.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>",
      "cassette_path": "<cassette_path>"
    },
    "name": "web_record_cassette"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesTarget HTTP/HTTPS URL.
pathsNoList of paths to record (defaults to URL path or ['/']).
cassette_pathYesWorkspace-relative path where the cassette JSON is saved.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose meaningful traits: output format (HAR-lite JSON), scrubbing of secrets, GET-only restriction, and multi-path recording. It omits overwrite semantics, whether parent directories are created, rate limiting/retry behavior, and FYI-level detail about what scrubbing actually removes.

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?

A single dense sentence with no filler, and the key artifact is front-loaded before the qualifying clause. It leans on compound jargon ("HAR-lite", "secret-scrubbed") that an agent may need to unpack, but nothing is redundant.

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

Completeness4/5

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

For a three-parameter tool with a fully described schema, no output schema, and no annotations, the definition covers the essential shape of the operation. Gaps remain around overwrite behavior and error conditions, but nothing needed to select and invoke it is missing.

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 100%, so all three parameters are already documented in structured form, which sets the baseline at 3. The description adds only a little: "one or more" clarifies that the paths array drives multi-request recording, and "secret-scrubbed" hints at cassette content. No format or constraint detail beyond the schema.

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?

States a specific verb and artifact: "Record a secret-scrubbed HAR-lite offline replay cassette" from read-only GET requests against a URL. The agent knows exactly what is produced. It stops short of naming its sibling web_replay_cassette as the playback counterpart, so differentiation is implicit.

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 "read-only GET requests" implies the tool's scope and excludes mutating traffic, and "offline replay cassette" implies the follow-up use case. However there is no explicit when-to-use statement, no preconditions (auth, workspace state), and no pointer to web_replay_cassette as the consumption side of the workflow.

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