Skip to main content
Glama

catalog_diff_semantics

Read-only

Compare two previews' semantics by testTag: which tags are only in one side, which moved, and which changed occupancy count. Identity is the authored testTag, not a positional ref, so a tag that stops resolving is reported rather than silently retargeted at different pixels. Requires live grant scope.

Input Schema

NameRequiredDescriptionDefault
uriNo
otherYes
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
overridesNo
previewIdNo
otherOverridesNo

Output Schema

NameRequiredDescriptionDefault
leftNo
rightNo
schemaNo
changedNo
identityNo
onlyInLeftNo
onlyInRightNo
unchangedCountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties
      Added value: +{
      +  "changed": {
      +    "items": {
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "identity": {
      +    "type": "string"
      +  },
      +  "left": {
      +    "type": "object"
      +  },
      +  "onlyInLeft": {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  "onlyInRight": {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  "right": {
      +    "type": "object"
      +  },
      +  "schema": {
      +    "type": "string"
      +  },
      +  "unchangedCount": {
      +    "type": "integer"
      +  }
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "type": "object"
      +}
  3. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety bar is low, yet the description adds real behavioral substance: identity is resolved on authored testTag rather than position, so a tag that stops resolving is reported instead of being silently retargeted at different pixels. It also discloses the live-grant-scope requirement. It still says nothing about output volume or failure modes beyond the one case.

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, front-loaded with the core purpose, followed by the differentiating identity rule and then the access prerequisite. No restated tool name, 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 result values need no explanation here, and the description covers purpose, identity semantics, and the grant prerequisite. The main shortfall is argument-level detail for the 7-parameter, nested, anyOf-shaped input, which the description does not address.

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 14% — the lone described parameter is token, whose description is already in the schema. The description does not explain the two-sided addressing scheme (uri vs. catalog+previewId for the 'other' side), nor what overrides/otherOverrides do when comparing semantics. With 7 parameters, a nested object, and an anyOf constraint, it leaves the caller to work out argument shape from the schema alone.

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 names a specific verb and resource (compare two previews' semantics by testTag) and enumerates the three result categories: one-sided tags, moved tags, and occupancy-count changes. The 'authored testTag, not a positional ref' clause further separates it from any positional/visual diff tool. It stops short of naming a sibling outright, which keeps it from a 5.

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?

Use is implied by the described output shape and the 'Requires live grant scope' prerequisite, which is useful setup context. There is no explicit statement of when to choose this over catalog_history_diff or ui_builder_compare_branches, nor any when-not guidance.

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.