Skip to main content
Glama

load_har

Import HAR files from local paths or HTTP URLs, saving them as the default dataset for analyzing network traffic while automatically redacting sensitive authentication headers.

Instructions

从文件路径或 HTTP URL 加载 HAR 文件,并保存为默认分析数据集。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYesHAR 文件来源。支持本地文件绝对/相对路径,或 http/https URL。调用后会把该 HAR 保存为默认分析数据集。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations, the description must disclose side effects. It states the tool saves the HAR as the 'default analysis dataset', but does not mention whether it overwrites existing data, validates the HAR format, or handles network authentication for URLs. This lack of behavioral detail is a significant gap for a mutating tool.

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 one sentence, front-loaded with the action ('load HAR'), and contains no filler or redundant information. Every word earns its place.

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?

The tool is simple with a single fully-described parameter and an output schema. The description covers the core behavior, and the sibling list makes its role clear. However, it would benefit from a note about being a prerequisite for analysis tools, so it is not a 5.

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?

The schema provides 100% coverage for the 'source' parameter, including supported path types and the side effect of saving as default dataset. The tool description adds no additional semantic meaning beyond what the schema already documents, so it stays at the baseline.

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?

The description clearly states the tool 'loads HAR files from file path or HTTP URL and saves as default analysis dataset'. This is a specific verb+resource combination, and it distinguishes itself from the sibling analysis tools (list_urls_methods, get_request_details, etc.) which operate on already-loaded data.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The context makes it obvious this is the ingestion tool used before analysis tools, since siblings are all query/analysis functions. However, it does not explicitly state 'use this first' or mention exclusions/alternatives, so it falls short of a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wdvipa/py-har-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server