Skip to main content
Glama

network.export_har

Read-only

Export matching network requests as a HAR file, optionally embedding bodies, to archive or debug browser traffic within a time window or URL filter.

Instructions

Export the matching requests as a HAR artifact, optionally with bodies embedded.

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": "network.export_har"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNoRelative ("5m", "90s") or absolute ISO timestamp.
untilNoUpper bound of the time window.
save_pathNo
target_idNoTarget handle (tgt_*). Omit for the active page.
browser_idNoBrowser handle (br_*). Omit to use the only running browser, or auto-launch one.
url_containsNo
resource_typeNo
include_bodiesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds one genuinely useful behavior note — bodies are embedded only optionally — which signals a size/performance tradeoff. It omits other important behavior: whether the HAR is written to disk, returned inline, or registered as an artifact, and what the response contains.

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 front-loaded sentence with no wasted words. It is efficient, though the brevity reflects under-specification rather than disciplined density.

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?

For an 8-parameter export tool with no output schema, the description leaves the agent guessing about the artifact destination, return value, and default time window. It should state where the HAR ends up and how the caller retrieves it.

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?

With 8 parameters and only 50% schema coverage, the description must compensate and largely does not. It hints at filter parameters ('matching requests') and covers include_bodies implicitly via 'optionally with bodies embedded', but save_path, url_contains, and resource_type are left undocumented in both schema and description — save_path being a critical question for an export tool.

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 output format: export matching requests as a HAR artifact. The HAR artifact framing distinguishes it reasonably well from console.export/dom.export/storage.export siblings, though it never explicitly contrasts itself with artifact.export or network.list_requests.

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 when-to-use guidance, no mention of prerequisites (e.g. needing a running browser or target), and no routing to alternatives such as network.list_requests for inspection or artifact.read for consuming the result. 'Matching requests' vaguely implies filter-based selection but never says what matching means or when this is the right call.

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