Skip to main content
Glama

catalog_history_diff

Read-only

Compare two of a preview's recorded renders. Defaults to the two newest — did the last publish move this preview? A metadata comparison: the timeline's versions are already collapsed distinct renders, so whether the bytes changed is answered without fetching either image. Reports unstable so a difference on a nondeterministic preview is not mistaken for a real change.

Input Schema

NameRequiredDescriptionDefault
toNo
uriNo
fromNo
tokenNoA grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session is used in it. Prefer the header where you control it.
catalogNo
previewIdNo

Output Schema

NameRequiredDescriptionDefault
toNo
fromNo
modeNo
noteNo
schemaNo
catalogNo
changedNo
unstableNo
previewIdNo
versionsBetweenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties
      Added value: +{
      +  "catalog": {
      +    "type": "string"
      +  },
      +  "changed": {
      +    "type": "boolean"
      +  },
      +  "from": {
      +    "type": "object"
      +  },
      +  "mode": {
      +    "type": "string"
      +  },
      +  "note": {
      +    "type": "string"
      +  },
      +  "previewId": {
      +    "type": "string"
      +  },
      +  "schema": {
      +    "type": "string"
      +  },
      +  "to": {
      +    "type": "object"
      +  },
      +  "unstable": {
      +    "type": "boolean"
      +  },
      +  "versionsBetween": {
      +    "type": "integer"
      +  }
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "type": "object"
      +}
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description goes beyond that usefully: it explains that the timeline's versions are pre-collapsed distinct renders, that no image bytes are fetched, and that an `unstable` marker is returned for nondeterministic previews. It stops short of noting any access-token or permission prerequisite, which the token parameter hints at but the text never addresses.

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 sentences, front-loaded with the core action and default, with each sentence adding a distinct fact (default pair, metadata-only nature, unstable flag). The dense em-dash construction is slightly harder to parse than plain prose but nothing is wasted.

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?

An output schema exists so return values need not be spelled out, and the `unstable` note covers the main interpretive risk. However, with six parameters at 17% coverage and an anyOf requiring either uri or catalog+previewId, the description leaves the caller unable to tell which input form to choose — a material gap for this tool's complexity.

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 only 17% across six parameters, so the description must carry the burden and largely does not: it never explains uri, catalog/previewId, or from/to, only implying via 'defaults to the two newest' that the pair is optional. The one genuinely documented parameter, token, is documented in the schema text, not the description.

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 names a specific verb and resource ('Compare two of a preview's recorded renders') and immediately scopes it as a metadata comparison rather than a byte comparison, plus it names the default pair (the two newest). That is enough for an agent to distinguish it from a render-fetching or semantic-diff tool 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear default scenario ('did the last publish move this preview?') which implies when the zero-arg call is appropriate, but it never says when to pass explicit from/to, when to use the uri form versus catalog+previewId, or which sibling (e.g. catalog_diff_semantics) covers the non-metadata question. Usage is implied rather than stated.

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.