Skip to main content
Glama

network.get_body

Read-only

Retrieve a bounded window of a request or response body by request ID, with an artifact handle and optional JSON parsing to avoid flooding context.

Instructions

Request payload or response body for one request. Returns a bounded window plus an artifact handle, so a huge response never floods the context. as_json parses it for you.

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": {
      "request_id": "<request_id>"
    },
    "name": "network.get_body"
  }
}

Input Schema

NameRequiredDescriptionDefault
whichNo
offsetNo
as_jsonNo
max_charsNo
save_pathNo
request_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

Beyond readOnlyHint/openWorldHint, the description discloses two genuinely useful behaviors: results are a bounded window with an artifact handle so large bodies don't flood context, and as_json performs parsing. It stops short of explaining truncation signaling, how offset relates to the window, or what happens for a missing/evicted request body.

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?

Three short sentences, front-loaded with purpose then the key behavioral payoff (bounded window/artifact handle), with no filler. The opening is a sentence fragment and "as_json parses it for you" is informal, but both still earn their place.

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, no-output-schema tool, the description usefully characterizes the return shape (bounded window + artifact handle) and one parameter. However it leaves the majority of the input surface and the response-vs-request selection semantics undocumented, so an agent still has to guess at pagination and sizing.

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 0%, so the description must carry parameter meaning, yet it only explains as_json. The five other parameters (which, offset, max_chars, save_path, request_id) get no explanation of defaults, units, or interaction, leaving offset/max_chars semantics especially ambiguous.

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?

"Request payload or response body for one request" names a specific resource (the body) and scopes it to a single request_id, which separates it from bulk siblings like network.search_bodies or network.list_requests without naming them. The verb is implied rather than stated (it never says "fetch"/"get"), keeping it just short of a 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?

Usage is only implied: the agent can infer it needs a request_id and should use this when it wants one specific body, and the "bounded window plus artifact handle" note hints at the large-body case. There is no explicit when-to-use vs. search_bodies/get_request guidance and no stated prerequisites or exclusions.

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