Skip to main content
Glama

fault.delay

Stall matching browser requests for a set time to test UI behavior during slow actions, such as checking how Save responds when it takes 20 seconds.

Instructions

Stall matching requests. Answers "what does the UI do if Save takes 20 seconds?".

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

Input Schema

NameRequiredDescriptionDefault
urlYes
countNo
delayYes
target_idNoTarget handle (tgt_*). Omit for the active page.
browser_idNoBrowser handle (br_*). Omit to use the only running browser, or auto-launch one.
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 only supply readOnlyHint=false and openWorldHint=true, so the description must carry the rest. It does not disclose how long the injected fault persists, whether repeated matching requests are all stalled or only some (the count parameter suggests the latter but is never explained), whether teardown via fault.remove/fault.clear is required, or what happens if no request matches. For a state-mutating fault-injection tool, these are material omissions.

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 short sentences with the core action front-loaded, and no wasted framing. The second sentence is somewhat illustrative rather than informational, which keeps it just below the top mark.

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?

With six parameters, low schema coverage, no output schema, and minimal annotations on a mutating operation, the description is too thin. An agent can tell roughly what the tool does but not how to scope it correctly or how to undo it, which matters given the presence of fault.remove and fault.clear.

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?

Schema description coverage is only 33%, and the description covers only url matching and a duration example ('takes 20 seconds'). Count, resource_types, and the behavioral meaning of target_id/browser_id scoping go unexplained in prose; an agent must guess whether count is a one-shot limit, whether resource_types narrows the match, and what format delay accepts.

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 names a specific action on a specific resource: 'Stall matching requests,' which tells an agent this injects latency rather than aborting, dropping, or replacing (the behaviors implied by siblings fault.abort, fault.drop_next, fault.replace_response). It stops short of explicitly differentiating itself from those siblings, so it lands at 4 rather than 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?

The rhetorical question 'what does the UI do if Save takes 20 seconds?' implies the intended scenario: testing slow-endpoint UX. That is a real usage signal, but there is no explicit guidance on when to prefer this over fault.abort or fault.drop_next, no statement about prerequisites (live browser/target), and no note on cleanup.

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