Skip to main content
Glama

import_har

Import a HAR file exported from browser DevTools to create a workspace with requests grouped by hostname. Filter by host or status code and skip duplicate requests during import.

Instructions

Import an HTTP Archive (HAR) file — exported from browser DevTools Network tab. Creates a workspace with requests grouped by hostname.

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": {
      "har_json": "<har_json>"
    },
    "name": "import_har"
  }
}

Input Schema

NameRequiredDescriptionDefault
har_jsonYesFull HAR JSON string
deduplicateNoSkip duplicate method+URL combos
filter_hostsNoOnly import requests from these hostnames
filter_statusNoOnly import entries with these response status codes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.6-beta

TDQS

A3.7/5.0
Behavior3/5

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

No annotations exist, so the description carries the full disclosure burden. It does disclose the key mutation outcome (creates a workspace) and the grouping behavior, but says nothing about failure modes for malformed HAR, size limits, whether repeated imports create new workspaces each time, or permissions required.

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?

Two short sentences, front-loaded with the core action and followed by the resulting side effect. No filler wording and nothing that could be trimmed without losing meaning.

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?

The description covers what the tool does and the main side effect for a four-parameter import tool, which is reasonable. With no annotations and no output schema, an agent still lacks information about the return value (workspace identifier) and error behavior on invalid or oversized HAR input.

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 four parameters are already documented in the schema, including deduplicate's default. The description adds only the format provenance for har_json ('exported from browser DevTools Network tab') and nothing about filter or dedupe semantics, so the baseline of 3 applies.

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?

States a specific verb and resource ('Import an HTTP Archive (HAR) file'), names the source format explicitly, which separates it from import_from_curl, import_openapi, and import_postman. It also states the outcome: creates a workspace with requests grouped by hostname, so the agent knows the side effect up front.

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 'exported from browser DevTools Network tab' implies the source situation in which this tool applies, which is useful context. However, there is no explicit when-not guidance and no named alternative for other import formats, so routing among the import_* siblings is left to inference from the format name.

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