Skip to main content
Glama

diff_captures

Compare two complete captures owned by this account and return a structured diff of HTML, screenshot, and HTTP headers. Both captures must be in complete status; pending or failed captures are not eligible. Use the summary to quickly see whether the page changed, then inspect the html or headers sections for details.

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": {
      "base_id": "<base_id>",
      "target_id": "<target_id>"
    },
    "name": "diff_captures"
  }
}

Input Schema

NameRequiredDescriptionDefault
base_idYesCapture ID of the base (earlier) capture (format: cap_ followed by 32 hex characters).
target_idYesCapture ID of the target (later) capture to compare against the base.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/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 does substantial work: it discloses the status precondition, the ownership scope, and the three diff sections returned. It leaves out edge cases such as what happens when a screenshot is unavailable for a capture, or how mismatched captures are rejected.

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?

Three sentences, all load-bearing: purpose first, eligibility second, navigation of the result third. No repetition of the name or filler phrasing.

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?

No output schema exists, so the description must describe returns, and it does by naming the summary, html, and headers sections. It could go one step further by sketching the diff structure itself (e.g., what a changed vs unchanged entry looks like), which is the main remaining gap for a two-parameter comparison tool.

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 100% and already documents base_id vs target_id including the earlier/later semantics and ID format, so baseline 3 applies. The description adds only the ownership constraint ("owned by this account") beyond the schema.

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 (compare) applied to a specific resource (two complete captures owned by this account) and names what it returns (structured diff of HTML, screenshot, HTTP headers). This is clearly distinguishable from single-capture siblings like get_capture or list_captures.

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 an explicit eligibility precondition (both captures must be in complete status; pending or failed are not eligible) and workflow guidance (check summary first, then drill into html or headers). It stops short of pointing at alternatives such as get_capture for a single capture or list_captures for finding capture IDs.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.