Skip to main content
Glama
Chrome DevTools Debug MCP Server

Chrome DevTools Debug MCP Server

by m4eba

fulfill_request_with_file

Respond to a paused browser request by serving a local file as the HTTP response body, with automatic Content-Type detection from the file extension.

Instructions

Respond to a paused request with file contents. Automatically detects Content-Type from file extension.

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": {
      "requestId": "<requestId>",
      "filePath": "<filePath>"
    },
    "name": "fulfill_request_with_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNoHTTP status code (default: 200)
headersNoAdditional response headers
filePathYesPath to the file to serve as response body
requestIdYesRequest ID from list_paused_requests
statusTextNoHTTP status text
contentTypeNoContent-Type header (auto-detected from file extension if not provided)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses the auto Content-Type detection from file extension and that the call resolves a paused request, but says nothing about what happens if the file is missing, whether the request must be paused, or whether any side effects occur on the target.

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 one notable behavioral trait. No filler or redundancy that harms readability.

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?

For a six-parameter mutation-style tool with no annotations and no output schema, the description covers the basic mechanic and Content-Type inference but omits preconditions, failure modes, and post-call state. Adequate to attempt a call, but not complete.

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 six parameters including headers, status, and statusText are documented in the schema itself. The description only reiterates the Content-Type auto-detection rule already stated in the contentType parameter description, adding little beyond the structured fields.

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 verb and resource ('Respond to a paused request with file contents'), which is more precise than a bare 'fulfill'. It implicitly contrasts with the sibling fulfill_request by emphasizing file-sourced body, but never names that sibling or states the distinction explicitly.

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 context is only implied: the request must already be paused, and the requestId is described in the schema as coming from list_paused_requests. The description itself gives no when-to-use guidance, no mention of prerequisites, and no direction on when to prefer fulfill_request over this tool.

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