Skip to main content
Glama

Read Bruno Request

read_request

Read a single .bru or .yml request file back as structured JSON to inspect its method, URL, headers, body, scripts and assertions—useful before write_request to check state or after to confirm changes.

Instructions

Read a single request file back as structured JSON: method, url, headers, query and path params, body, auth mode, scripts, assertions, vars, settings and docs. Both .bru and .yml return the same shape, so the on-disk format stays invisible. Use this before write_request to see current state, and after it to confirm what was written. A websocket or grpc request also carries its stored messages in full — title, content, and for a websocket the type and whether the runner will send it — under websocket.messages or grpc.messages, keyed as write_request accepts them. A "notes" array reports anything the file declares that the runner will not act on.

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

Input Schema

NameRequiredDescriptionDefault
filePathYesAbsolute path to the .bru or .yml request file. Use the path returned by write_request or list_requests rather than rebuilding it: request filenames are lowercased on write.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.6.0
    • changedInput schema / properties / filePath / description
      Previous value: -"Absolute path to the .bru or .yml request file. Use the path returned by create_request or list_requests rather than rebuilding it: request filenames are lowercased on write."New value: +"Absolute path to the .bru or .yml request file. Use the path returned by write_request or list_requests rather than rebuilding it: request filenames are lowercased on write."
  2. First observedv2.2.1

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it does substantial work: it explains the .bru/.yml format normalization, the embedded websocket/grpc message payloads keyed as write_request accepts, and a 'notes' array for declarations the runner will not act on. It omits error behavior for a missing or unreadable path, and read-only safety is only implied by the verb 'Read'.

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?

Front-loaded with purpose and returned fields, then workflow, then format-specific payloads. Four dense sentences all carry information; the websocket/grpc sentence is long but earns its length by clarifying shape and key naming.

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?

With no output schema, the description does the work of describing the return shape, including format normalization and embedded messages, which is the main completeness risk here. The remaining gap is failure modes (nonexistent file, malformed file) and whether the notes array affects the caller's next step.

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% and the schema itself already carries the meaningful guidance (absolute path, prefer paths returned by write_request/list_requests because filenames are lowercased on write). The description adds nothing about filePath beyond that, so the baseline 3 applies.

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?

States a specific verb and resource ('Read a single request file') and immediately enumerates the returned structure — method, url, headers, params, body, auth, scripts, assertions, vars, settings, docs. This distinguishes it cleanly from write_request and from collection-level siblings.

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?

Gives concrete workflow guidance: use it before write_request to see current state and after it to confirm what was written. That names the alternative and the conditions, though it offers no explicit exclusions (e.g., when to prefer list_requests for discovery over reading a known file).

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