Skip to main content
Glama
camoufox-agent

camoufox-agent

by VolanDeVovan

export_har

Writes a tab's captured network requests to a HAR 1.2 file and returns the file path, enabling offline debugging and analysis with filters for URL, method, or failed responses.

Instructions

Write a tab's captured requests to a HAR 1.2 file (mode 0600; it contains real cookies and tokens). Default location: the downloads directory. The reply gives the path, not the content.

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

Input Schema

NameRequiredDescriptionDefault
pathNoWhere to write (relative to the working directory, or absolute).
sinceNoOnly requests with an id greater than this.
tabIdNoTab to act on, from tabs_context. Omitted: this session's active tab. Pass it always when several agents share the session.
methodNo
patternNoRegular expression matched against the URL (case-insensitive).
failed_onlyNoOnly failed requests and 4xx / 5xx responses.
resource_typeNodocument, xhr, fetch, script, stylesheet, image, font, websocket, ...

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well: it discloses that this is a file write, that the file mode is 0600, that the content includes real cookies and tokens (a security-relevant warning), the default destination, and that the response is a path rather than data. It stops short of stating what happens if the path already exists (overwrite/refuse) or any limits on how much captured traffic is exported.

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?

Three short sentences, zero filler, with the action and format front-loaded and the safety warning immediately after. Each sentence adds a distinct fact: what is written, the permission/stakes, and what comes back.

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 7-parameter, annotation-free write tool with no output schema, the definition covers action, destination, security posture, and return shape, and the schema handles the filtering params. Minor gaps remain around overwrite behavior and the scope of 'captured requests', but nothing an agent needs in order to call it safely 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 description coverage is high at 86%, so the schema already explains path resolution, the since-id cutoff, tabId sourcing, the URL regex, and failed_only. The description adds only the default destination for path. The one undocumented parameter, method, is not clarified in the description either, so no real compensation is offered — baseline 3.

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 states a specific verb, resource, and artifact format: 'Write a tab's captured requests to a HAR 1.2 file'. That is far more precise than the name alone and pins the output format. It does not differentiate itself from siblings such as export_curl or read_network_requests, so it falls short of a 5.

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?

Usage is only implied: the note that 'The reply gives the path, not the content' signals this is the file-export path rather than an inspection tool, and the default location is stated. There is no explicit when-to-use/when-not guidance and no sibling is named as an alternative. Adequate but leaves the choice to inference.

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