Skip to main content
Glama

diff_flows

Compare two HTTP requests field by field to reveal which parameters change per request, such as nonce, timestamp, or signature — pinpointing exactly what a signing algorithm must reproduce.

Instructions

Compare two requests field by field — the tool for reverse-engineering signatures.

Typical use: call the same endpoint twice (or capture it before and after paging), then diff. Parameters that stay the same are omitted from the output, so what remains is exactly the set that varies per request: nonce, timestamp, signature. That tells you which fields any signing algorithm must reproduce.

JSON bodies are flattened to a.b.c keys and compared per key. Non-JSON bodies are returned verbatim for both sides so you can judge them yourself.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
body_maxNo
flow_id_aYes
flow_id_bYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and discloses rich behavior: unchanged parameters are omitted from output, JSON bodies are flattened to a.b.c keys and compared per key, and non-JSON bodies are returned verbatim. The only gap is that the effect of body_max is never disclosed.

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 dense paragraphs, each earning its place: purpose, usage workflow, and body-handling semantics. The core purpose is front-loaded and the explanatory detail about output omission and flattening is tightly written with no filler.

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 no explanation. The description covers purpose, workflow, output semantics, and JSON/non-JSON handling comprehensively. The remaining gaps are the unexplained body_max parameter and whether headers are compared alongside bodies.

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?

With 0% schema description coverage, the description must compensate. It contextualizes the two required flow_id parameters well ('call the same endpoint twice'), but never explicitly maps them to the schema fields and leaves body_max entirely unexplained despite it having a default value.

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 opening line 'Compare two requests field by field — the tool for reverse-engineering signatures' states a specific verb, resource, and a distinctive purpose that separates it from siblings like inspect_flow (single flow) and replay_flow (execution). An agent can tell exactly what this tool is for without opening the schema.

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 clear when-to-use context: 'call the same endpoint twice (or capture it before and after paging), then diff.' It explains what the output means and how to interpret the varying fields for signature reverse-engineering. However, it does not explicitly name sibling alternatives or state when not to use it.

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