Skip to main content
Glama

sitepilot_response_body

Read-onlyIdempotent

Retrieve a completed network response body by request ID with explicit encoding and a bounded length to inspect page or API content while limiting output size.

Instructions

Read a response by observed request ID, with explicit encoding and length bound.

Requires a completed response. CDP binary bodies stay base64; UTF-8 content is decoded when CDP returns it as base64. Availability depends on the browser. Results may contain sensitive site data.

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": {
      "input": "<input>"
    },
    "name": "sitepilot_response_body"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered. The description adds value beyond that: base64 vs decoded UTF-8 handling rules, browser-dependent availability, and a sensitivity warning about returned site data — all behavior an agent cannot infer from the annotations.

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 short lines, front-loaded with the core action and its scoping input, with no filler. Minor friction: 'explicit encoding' is mentioned although no encoding parameter exists in the schema, which could momentarily mislead an agent looking for one.

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?

An output schema exists, so return values need not be described. Given the three inputs, the description covers the key precondition, the encoding caveat, truncation intent, and sensitivity. It could still state what happens when the body is unavailable or truncated, but nothing essential for selecting or calling the tool is missing.

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 reported as 0%, so the description is expected to compensate. It does add meaning for request_id ('observed request ID') and for limit ('explicit... length bound'), but says nothing about session_id's role or about truncation behavior at the 16000 default. Partial compensation only.

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 opens with a specific verb+resource ('Read a response') and adds the key scope qualifier ('by observed request ID'), which distinguishes it from sitepilot_network, the tool that presumably produces those request IDs. It stops short of explicitly naming that sibling in the description text, but the resource and its key input are unambiguous.

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?

'Requires a completed response' is a concrete precondition that tells the agent when this call will fail, and 'Availability depends on the browser' flags environment-dependent reliability. There is no explicit statement of when to prefer alternatives, but the request-ID dependency effectively routes the agent through sitepilot_network first.

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