Skip to main content
Glama

Read one response body

lol_cdp_network_body
Read-onlyIdempotent

Fetch the raw response body payload for a captured network request ID from the live renderer. Use after tailing requests to inspect JSON or raw payload data.

Instructions

Fetch the raw response body payload for a specific captured network request ID from the live renderer. Use this tool after lol_cdp_network_tail to examine the raw payload or JSON response of an interesting request. For high-level request metadata or status codes without bodies, lol_cdp_network_tail suffices. Behavior: Reaches live renderer cache. Prerequisite: Request must have been captured in the current renderer session; fails if evicted or client reloaded.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestIdYesUnique request identifier returned in a lol_cdp_network_tail entry

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.6.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), and the description adds genuine context beyond them: it reaches the live renderer cache, requires the request to have been captured in the current session, and fails if the entry was evicted or the client reloaded. It does not mention payload size limits or binary/truncation handling, which matter for a body-fetching tool.

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?

Four compact sentences, front-loaded with purpose and routing guidance before the behavioral caveats. Structurally clean with no filler, though the 'Behavior:'/'Prerequisite:' labels add slight verbosity.

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 and only one parameter, the description briefly characterizes the return as a raw response body payload and covers session-lifetime constraints. It stops short of describing what an agent gets for large/binary bodies or whether the payload is truncated, which is the main remaining gap.

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 100% and the single requestId parameter is already documented as 'Unique request identifier returned in a lol_cdp_network_tail entry.' The description restates this indirectly but adds no syntax, format, or lookup guidance beyond the schema, so 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: fetch the raw response body for a specific captured request ID from the live renderer. It explicitly contrasts with the sibling lol_cdp_network_tail, so an agent can distinguish the two without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit sequencing advice ('use this tool after lol_cdp_network_tail') plus a clear when-not condition ('for high-level request metadata or status codes without bodies, lol_cdp_network_tail suffices'). The alternative and the condition that selects it are both named.

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