Skip to main content
Glama

fault.abort

Block matching browser requests by URL pattern to simulate network failures, optionally limiting how many matches fail and setting the Chromium error reason.

Instructions

Make matching requests fail. URL patterns use * wildcards, e.g. "/analytics/".

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>"
    },
    "name": "fault.abort"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
countNoApply to only the next N matches.
target_idNoTarget handle (tgt_*). Omit for the active page.
browser_idNoBrowser handle (br_*). Omit to use the only running browser, or auto-launch one.
error_reasonNoChromium error, e.g. Failed, ConnectionRefused, TimedOut.
resource_typesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false and openWorldHint=true, so the agent knows this mutates live traffic, but the description adds nothing about lifetime (does it persist until cleared?), what the page sees (a Chromium error such as Failed/TimedOut, which is only listed in the schema for error_reason), or scope of impact. For a fault-injection tool whose effects linger, that omission is consequential.

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?

Two sentences, front-loaded with the effect, then the one non-obvious argument syntax with an inline example. Nothing redundant, though the size is thin for a six-parameter faulting tool.

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?

No output schema, six parameters, and no annotation coverage for persistence or reversibility; the description should at minimum say the fault stays active until cleared and what error the page receives by default. As written, an agent knows how to write the URL pattern but not the lifecycle of the fault.

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?

At 67% schema coverage the schema documents count, target_id, browser_id and error_reason, but the required 'url' param has no schema description at all – the description compensates by explaining * wildcards with a concrete example. 'resource_types' remains unexplained in both places, so the compensation is partial.

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 concrete action and effect: 'Make matching requests fail.' The verb 'fail' plus the fault.* family implies contrast with fault.delay, but the description never names a sibling to complete the differentiation. An agent can still tell what the tool does without opening the schema.

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 or when-not-to-use guidance, no mention of prerequisites, and no pointer to fault.clear or fault.remove for undoing it. The only guidance is syntax of the wildcard pattern, which is about parameters, not usage selection.

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