Skip to main content
Glama

Get exchange detail

get_exchange

Retrieve full details of a single HTTP exchange: request line, headers, cookies, and bodies rendered in your preferred format (auto, text, json, hex, protobuf, base64).

Instructions

Full detail for one exchange: request line, request/response headers, request & response cookies, and both bodies. Bodies render per bodyFormat (auto/text/json/hex/protobuf/base64).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
bodyFormatNoHow to render bodies. Default auto.
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It accurately describes the return content and body rendering behavior. It does not mention any destructive actions or rate limits, which is acceptable for a read-like operation.

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?

The description is two efficient sentences with zero waste. It front-loads the main purpose and then adds the body format detail.

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?

For a simple retrieval tool with two parameters and no output schema, the description covers return content and body format options adequately. It could mention that the exchange must exist, but this is inferred from context.

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 50% (only bodyFormat has a description). The description adds meaning for bodyFormat (explains rendering) but does not elaborate on the 'id' parameter beyond its implied role as exchange identifier. Baseline 3 is appropriate as the description partially compensates for missing schema descriptions.

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?

The description clearly states it returns full detail for one exchange including request line, headers, cookies, and bodies. It distinguishes from siblings like list_traffic (which lists) and get_body (which only gets body).

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?

The description explains body rendering options but does not specify when to use this tool over alternatives like get_body or search_traffic. Usage context is implied but lacks explicit when-to-use or when-not-to-use guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/FL1NEE/httptoolkit_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server