Skip to main content
Glama

Compare page observations

compare_page_observations
Read-onlyIdempotent

Compare two already-held extract-batch JSON artifacts. charged is false. Not a paid SKU. Does not fetch, pay, or schedule a second observation. Compare only the explicitly selected data keys present on both matched rows. Missing keys are coverage unknown, not deletions; explicit null is a present value. Unselected metadata is not a content delta. SYNTHETIC offline construction example only. No URL fetch, payment, receipt, observation or freshness is evidenced. Complete request example (title changes, description stays unchanged): {"before":{"ok":true,"product":"samedaydesk-extract-batch","schemaVersion":"samedaydesk.extract-batch.v0","quote":{"amountAtomic":"10000","displayUsdc":"0.01","meaning":"SYNTHETIC offline construction example only. No URL fetch, payment, receipt, observation or freshness is evidenced."},"jobId":"0000000000000000000000000000000000000000000000000000000000000000","jobStatus":"completed","stopReason":null,"partial":false,"sources":[{"id":"item-001","source":"https://synthetic.example.invalid/page","status":"success","data":{"title":"Synthetic title before","description":"Stable synthetic description"},"notes":[],"error":null,"provenance":{"transport":"synthetic","note":"SYNTHETIC offline construction example only. No URL fetch, payment, receipt, observation or freshness is evidenced."}}],"accounting":{"requests":0,"bytes":0,"wallMs":0,"retries":0,"succeeded":0,"partial":0,"failed":0,"unknown":0,"skippedDuplicate":0},"costInputs":{"note":"SYNTHETIC offline construction example only. No URL fetch, payment, receipt, observation or freshness is evidenced."},"charged":false,"boundary":{"guaranteedUrlSuccess":false,"introductoryPrice":true,"sourceFetchBeforeAuthorization":false,"automaticRetries":false}},"after":{"ok":true,"product":"samedaydesk-extract-batch","schemaVersion":"samedaydesk.extract-batch.v0","quote":{"amountAtomic":"10000","displayUsdc":"0.01","meaning":"SYNTHETIC offline construction example only. No URL fetch, payment, receipt, observation or freshness is evidenced."},"jobId":"1111111111111111111111111111111111111111111111111111111111111111","jobStatus":"completed","stopReason":null,"partial":false,"sources":[{"id":"item-001","source":"https://synthetic.example.invalid/page","status":"success","data":{"title":"Synthetic title after","description":"Stable synthetic description"},"notes":[],"error":null,"provenance":{"transport":"synthetic","note":"SYNTHETIC offline construction example only. No URL fetch, payment, receipt, observation or freshness is evidenced."}}],"accounting":{"requests":0,"bytes":0,"wallMs":0,"retries":0,"succeeded":0,"partial":0,"failed":0,"unknown":0,"skippedDuplicate":0},"costInputs":{"note":"SYNTHETIC offline construction example only. No URL fetch, payment, receipt, observation or freshness is evidenced."},"charged":false,"boundary":{"guaranteedUrlSuccess":false,"introductoryPrice":true,"sourceFetchBeforeAuthorization":false,"automaticRetries":false}},"fields":["title","description"]}

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": {
      "before": "<before>",
      "after": "<after>",
      "fields": "<fields>"
    },
    "name": "compare_page_observations"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterYes
clockNoOptional caller UTC ISO-8601 timestamp with trailing Z, accepted for compatibility only; cannot attest freshness.
beforeYesAlready held JSON artifact or JSON envelope, never a path or URL to dereference. Stable source identity, separate from row id and observation time. Matching normalizes source strings (URL fragments removed). Use the same non-empty identity on both sides; duplicate active identities are ambiguous. Synthetic URL STRINGS are inert and are never fetched by this transform. The structured branches describe representative comparable inputs. Incomplete objects remain admitted for diagnostic reports, subject to unchanged HTTP safety checks; HTTP 200 does not establish completeness or usefulness.
fieldsYesExplicit non-empty unique subset of supported fields. Compare only the explicitly selected data keys present on both matched rows. Missing keys are coverage unknown, not deletions; explicit null is a present value. Unselected metadata is not a content delta.
maxStaleMsNoOptional freshness horizon, not a compute ceiling or freshness authority.
allowFreshClaimNoSupplied inputs cannot attest freshness. True is rejected.

Output Schema

NameRequiredDescriptionDefault
okYes
reportYes
chargedYes
productYes
schemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "charged": {
      +      "const": false,
      +      "type": "boolean"
      +    },
      +    "ok": {
      +      "const": true,
      +      "type": "boolean"
      +    },
      +    "product": {
      +      "const": "samedaydesk-page-change-http",
      +      "type": "string"
      +    },
      +    "report": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "changes": {
      +          "items": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "after": {
      +                    "type": "string"
      +                  },
      +                  "afterEvidence": {
      +                    "type": "string"
      +                  },
      +                  "before": {
      +                    "type": "string"
      +                  },
      +                  "beforeEvidence": {
      +                    "type": "string"
      +                  },
      +                  "class": {
      +                    "const": "semantic",
      +                    "type": "string"
      +                  },
      +                  "evidenceTruncated": {
      +                    "type": "boolean"
      +                  },
      +                  "op": {
      +                    "enum": [
      +                      "add",
      +                      "remove",
      +                      "replace"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "path": {
      +                    "type": "string"
      +                  },
      +                  "sourceKey": {
      +                    "minLength": 1,
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "class",
      +                  "op",
      +                  "path",
      +                  "sourceKey",
      +                  "evidenceTruncated"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "after": {
      +                    "type": "string"
      +                  },
      +                  "afterEvidence": {
      +                    "type": "string"
      +                  },
      +                  "before": {
      +                    "type": "string"
      +                  },
      +                  "beforeEvidence": {
      +                    "type": "string"
      +                  },
      +                  "class": {
      +                    "const": "order",
      +                    "type": "string"
      +                  },
      +                  "evidenceTruncated": {
      +                    "type": "boolean"
      +                  },
      +                  "op": {
      +                    "const": "reorder",
      +                    "type": "string"
      +                  },
      +                  "path": {
      +                    "type": "string"
      +                  },
      +                  "sourceKey": {
      +                    "minLength": 1,
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "class",
      +                  "op",
      +                  "path",
      +                  "sourceKey",
      +                  "before",
      +                  "after",
      +                  "beforeEvidence",
      +                  "afterEvidence",
      +                  "evidenceTruncated"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "after": {
      +                    "items": {
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "afterEvidence": {
      +                    "type": "string"
      +                  },
      +                  "before": {
      +                    "items": {
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "beforeEvidence": {
      +                    "type": "string"
      +                  },
      +                  "class": {
      +                    "const": "order",
      +                    "type": "string"
      +                  },
      +                  "op": {
      +                    "const": "reorder",
      +                    "type": "string"
      +                  },
      +                  "path": {
      +                    "const": "/sources",
      +                    "type": "string"
      +                  },
      +                  "sourceKey": {
      +                    "type": "null"
      +                  }
      +                },
      +                "required": [
      +                  "class",
      +                  "op",
      +                  "path",
      +                  "sourceKey",
      +                  "before",
      +                  "after",
      +                  "beforeEvidence",
      +                  "afterEvidence"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "type": "array"
      +        },
      +        "claims": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "comparable": {
      +              "type": "boolean"
      +            },
      +            "complete": {
      +              "type": "boolean"
      +            },
      +            "contentUnchangedProven": {
      +              "type": "boolean"
      +            },
      +            "current": {
      +              "const": false,
      +              "type": "boolean"
      +            },
      +            "fresh": {
      +              "const": false,
      +              "type": "boolean"
      +            },
      +            "noChangeProven": {
      +              "type": "boolean"
      +            },
      +            "paymentImpliesUsefulOutput": {
      +              "const": false,
      +              "type": "boolean"
      +            },
      +            "usefulOutputProven": {
      +              "type": "boolean"
      +            }
      +          },
      +          "required": [
      +            "noChangeProven",
      +            "contentUnchangedProven",
      +            "comparable",
      +            "complete",
      +            "current",
      +            "fresh",
      +            "usefulOutputProven",
      +            "paymentImpliesUsefulOutput"
      +          ],
      +          "type": "object"
      +        },
      +        "coverageUnknown": {
      +          "items": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "afterPresent": {
      +                    "type": "boolean"
      +                  },
      +                  "beforePresent": {
      +                    "type": "boolean"
      +                  },
      +                  "field": {
      +                    "enum": [
      +                      "title",
      +                      "description",
      +                      "canonical",
      +                      "lang",
      +                      "openGraph",
      +                      "twitter",
      +                      "jsonLd",
      +                      "headings",
      +                      "links",
      +                      "text",
      +                      "aiReadiness"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "reason": {
      +                    "const": "absent_field_is_coverage_unknown_not_deletion",
      +                    "type": "string"
      +                  },
      +                  "sourceKey": {
      +                    "minLength": 1,
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "sourceKey",
      +                  "field",
      +                  "beforePresent",
      +                  "afterPresent",
      +                  "reason"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "code": {
      +                    "minLength": 1,
      +                    "type": "string"
      +                  },
      +                  "side": {
      +                    "enum": [
      +                      "before",
      +                      "after"
      +                    ],
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "side",
      +                  "code"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "field": {
      +                    "type": "null"
      +                  },
      +                  "reason": {
      +                    "minLength": 1,
      +                    "type": "string"
      +                  },
      +                  "sourceKey": {
      +                    "minLength": 1,
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "sourceKey",
      +                  "field",
      +                  "reason"
      +                ],
      +                "type": "object"
      +              }
      +            ]
      +          },
      +          "type": "array"
      +        },
      +        "fields": {
      +          "items": {
      +            "enum": [
      +              "title",
      +              "description",
      +              "canonical",
      +              "lang",
      +              "openGraph",
      +              "twitter",
      +              "jsonLd",
      +              "headings",
      +              "links",
      +              "text",
      +              "aiReadiness"
      +            ],
      +            "type": "string"
      +          },
      +          "minItems": 1,
      +          "type": "array"
      +        },
      +        "freshness": {
      +          "enum": [
      +            "unknown",
      +            "inverted"
      +          ],
      +          "type": "string"
      +        },
      +        "kind": {
      +          "anyOf": [
      +            {
      +              "enum": [
      +                "merchant_extract_batch",
      +                "c1_batch_result",
      +                "unknown"
      +              ],
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "observations": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "after": {
      +              "anyOf": [
      +                {
      +                  "$ref": "#/properties/report/properties/observations/properties/before/anyOf/0"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "before": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "artifactObservedAt": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "charged": {},
      +                    "jobId": {},
      +                    "jobStatus": {},
      +                    "ok": {},
      +                    "rows": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "completedAt": {},
      +                          "fetchedAt": {},
      +                          "fetchedAtIsNotFreshness": {
      +                            "const": true,
      +                            "type": "boolean"
      +                          },
      +                          "itemId": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "requestedAt": {},
      +                          "requestedAtIsNotFreshness": {
      +                            "const": true,
      +                            "type": "boolean"
      +                          },
      +                          "sourceKey": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "sourceKey",
      +                          "itemId",
      +                          "requestedAtIsNotFreshness",
      +                          "fetchedAtIsNotFreshness"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "snapshotObservedAt": {
      +                      "anyOf": [
      +                        {
      +                          "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$",
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    }
      +                  },
      +                  "required": [
      +                    "snapshotObservedAt",
      +                    "artifactObservedAt",
      +                    "rows"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "note": {
      +              "const": "Source URL identity is separate from two-time observation identity. fetchedAt and completedAt are observation metadata, not content freshness.",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "before",
      +            "after",
      +            "note"
      +          ],
      +          "type": "object"
      +        },
      +        "provenance": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "afterSha256": {
      +              "$ref": "#/properties/report/properties/snapshot/properties/before/properties/sha256"
      +            },
      +            "beforeSha256": {
      +              "$ref": "#/properties/report/properties/snapshot/properties/before/properties/sha256"
      +            },
      +            "c1": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "acceptance": {
      +                  "const": "in_repo_public_identity_helper",
      +                  "type": "string"
      +                },
      +                "commit": {
      +                  "const": "c247d0381ea41ab0975a666b53fc75c09db8a071",
      +                  "type": "string"
      +                },
      +                "license": {
      +                  "const": "MIT",
      +                  "type": "string"
      +                },
      +                "module": {
      +                  "const": "extract-batch-c1/url-guard.mjs",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "commit",
      +                "module",
      +                "license",
      +                "acceptance"
      +              ],
      +              "type": "object"
      +            },
      +            "c2": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "acceptance": {
      +                  "const": "reviewed_source_vendored",
      +                  "type": "string"
      +                },
      +                "commit": {
      +                  "const": "f4c6cff982f662ccfe65171b2ebb03b74cf4a986",
      +                  "type": "string"
      +                },
      +                "license": {
      +                  "const": "MIT",
      +                  "type": "string"
      +                },
      +                "merge": {
      +                  "const": "670ce6e926dc5543d29c5a8afb2c9025846b46d6",
      +                  "type": "string"
      +                },
      +                "pullRequest": {
      +                  "const": 28,
      +                  "type": "number"
      +                },
      +                "source": {
      +                  "const": "examples/customer-x402/src/page-change/vendor/change-digest",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "commit",
      +                "merge",
      +                "pullRequest",
      +                "source",
      +                "license",
      +                "acceptance"
      +              ],
      +              "type": "object"
      +            },
      +            "comparedWithClock": {
      +              "type": "null"
      +            },
      +            "digestSha256": {
      +              "pattern": "^[a-f0-9]{64}$",
      +              "type": "string"
      +            },
      +            "elapsedMs": {
      +              "minimum": 0,
      +              "type": "number"
      +            },
      +            "merchant": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "acceptance": {
      +                  "const": "in_repo_public_batch_schema",
      +                  "type": "string"
      +                },
      +                "commit": {
      +                  "const": "d7ceb857de7c25a0113e5b6914ff73a1c8afd760",
      +                  "type": "string"
      +                },
      +                "files": {
      +                  "items": [
      +                    {
      +                      "const": "extract-batch.mjs",
      +                      "type": "string"
      +                    },
      +                    {
      +                      "const": "extract-batch-config.mjs",
      +                      "type": "string"
      +                    }
      +                  ],
      +                  "maxItems": 2,
      +                  "minItems": 2,
      +                  "type": "array"
      +                }
      +              },
      +              "required": [
      +                "commit",
      +                "files",
      +                "acceptance"
      +              ],
      +              "type": "object"
      +            }
      +          },
      +          "required": [
      +            "c1",
      +            "c2",
      +            "merchant",
      +            "comparedWithClock",
      +            "beforeSha256",
      +            "afterSha256",
      +            "elapsedMs",
      +            "digestSha256"
      +          ],
      +          "type": "object"
      +        },
      +        "rows": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "duplicates": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "afterIds": {
      +                    "items": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "type": "array"
      +                  },
      +                  "beforeIds": {
      +                    "items": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "type": "array"
      +                  },
      +                  "reason": {
      +                    "const": "duplicate_source_identity",
      +                    "type": "string"
      +                  },
      +                  "sourceKey": {
      +                    "minLength": 1,
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "sourceKey",
      +                  "beforeIds",
      +                  "afterIds",
      +                  "reason"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "failed": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "after": {
      +                    "$ref": "#/properties/report/properties/rows/properties/failed/items/properties/before"
      +                  },
      +                  "before": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "error": {},
      +                      "id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "status": {
      +                        "enum": [
      +                          "pending",
      +                          "success",
      +                          "partial",
      +                          "failure",
      +                          "unknown",
      +                          "skipped_duplicate"
      +                        ],
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "id",
      +                      "status"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "sourceKey": {
      +                    "minLength": 1,
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "sourceKey",
      +                  "before",
      +                  "after"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "matched": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "after": {
      +                    "$ref": "#/properties/report/properties/rows/properties/matched/items/properties/before"
      +                  },
      +                  "before": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "status": {
      +                        "enum": [
      +                          "pending",
      +                          "success",
      +                          "partial",
      +                          "failure",
      +                          "unknown",
      +                          "skipped_duplicate"
      +                        ],
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "id",
      +                      "status"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "source": {
      +                    "type": "string"
      +                  },
      +                  "sourceKey": {
      +                    "minLength": 1,
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "sourceKey",
      +                  "source",
      +                  "before",
      +                  "after"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "missing": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "id": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "missingSide": {
      +                    "enum": [
      +                      "before",
      +                      "after"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "source": {
      +                    "type": "string"
      +                  },
      +                  "sourceKey": {
      +                    "minLength": 1,
      +                    "type": "string"
      +                  },
      +                  "status": {
      +                    "enum": [
      +                      "pending",
      +                      "success",
      +                      "partial",
      +                      "failure",
      +                      "unknown",
      +                      "skipped_duplicate"
      +                    ],
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "sourceKey",
      +                  "missingSide",
      +                  "status",
      +                  "source",
      +                  "id"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "unknown": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "after": {
      +                    "$ref": "#/properties/report/properties/rows/properties/failed/items/properties/before"
      +                  },
      +                  "before": {
      +                    "$ref": "#/properties/report/properties/rows/properties/failed/items/properties/before"
      +                  },
      +                  "sourceKey": {
      +                    "minLength": 1,
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "sourceKey",
      +                  "before",
      +                  "after"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "matched",
      +            "missing",
      +            "failed",
      +            "unknown",
      +            "duplicates"
      +          ],
      +          "type": "object"
      +        },
      +        "schema": {
      +          "const": "pilot/page-change-brief/v1",
      +          "type": "string"
      +        },
      +        "snapshot": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "after": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "byteLength": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "issues": {
      +                  "items": {
      +                    "minLength": 1,
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                "mediaType": {
      +                  "anyOf": [
      +                    {
      +                      "const": "application/json",
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "observedAt": {
      +                  "anyOf": [
      +                    {
      +                      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$",
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "sha256": {
      +                  "$ref": "#/properties/report/properties/snapshot/properties/before/properties/sha256"
      +                },
      +                "source": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "kind": {
      +                      "const": "supplied",
      +                      "type": "string"
      +                    },
      +                    "path": {
      +                      "type": "null"
      +                    },
      +                    "role": {
      +                      "const": "after",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "kind",
      +                    "path",
      +                    "role"
      +                  ],
      +                  "type": "object"
      +                },
      +                "status": {
      +                  "enum": [
      +                    "present",
      +                    "missing",
      +                    "invalid"
      +                  ],
      +                  "type": "string"
      +                },
      +                "truncated": {
      +                  "type": "boolean"
      +                }
      +              },
      +              "required": [
      +                "status",
      +                "mediaType",
      +                "observedAt",
      +                "truncated",
      +                "byteLength",
      +                "sha256",
      +                "source",
      +                "issues"
      +              ],
      +              "type": "object"
      +            },
      +            "before": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "byteLength": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "issues": {
      +                  "items": {
      +                    "minLength": 1,
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                "mediaType": {
      +                  "anyOf": [
      +                    {
      +                      "const": "application/json",
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "observedAt": {
      +                  "anyOf": [
      +                    {
      +                      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$",
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "sha256": {
      +                  "anyOf": [
      +                    {
      +                      "pattern": "^[a-f0-9]{64}$",
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "source": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "kind": {
      +                      "const": "supplied",
      +                      "type": "string"
      +                    },
      +                    "path": {
      +                      "type": "null"
      +                    },
      +                    "role": {
      +                      "const": "before",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "kind",
      +                    "path",
      +                    "role"
      +                  ],
      +                  "type": "object"
      +                },
      +                "status": {
      +                  "enum": [
      +                    "present",
      +                    "missing",
      +                    "invalid"
      +                  ],
      +                  "type": "string"
      +                },
      +                "truncated": {
      +                  "type": "boolean"
      +                }
      +              },
      +              "required": [
      +                "status",
      +                "mediaType",
      +                "observedAt",
      +                "truncated",
      +                "byteLength",
      +                "sha256",
      +                "source",
      +                "issues"
      +              ],
      +              "type": "object"
      +            },
      +            "claims": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "comparable": {
      +                  "type": "boolean"
      +                },
      +                "current": {
      +                  "const": false,
      +                  "type": "boolean"
      +                },
      +                "fresh": {
      +                  "const": false,
      +                  "type": "boolean"
      +                },
      +                "noChangeProven": {
      +                  "type": "boolean"
      +                }
      +              },
      +              "required": [
      +                "noChangeProven",
      +                "current",
      +                "comparable",
      +                "fresh"
      +              ],
      +              "type": "object"
      +            },
      +            "freshness": {
      +              "enum": [
      +                "unknown",
      +                "inverted"
      +              ],
      +              "type": "string"
      +            },
      +            "limitsHit": {
      +              "items": {
      +                "enum": [
      +                  "maxBytes",
      +                  "maxJsonNodes",
      +                  "maxJsonDepth",
      +                  "maxChanges",
      +                  "maxSequenceLength"
      +                ],
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "schema": {
      +              "const": "pilot/change-digest/v1",
      +              "type": "string"
      +            },
      +            "verdict": {
      +              "enum": [
      +                "changed",
      +                "unchanged",
      +                "reordered",
      +                "incomplete",
      +                "incomparable"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "schema",
      +            "verdict",
      +            "claims",
      +            "freshness",
      +            "before",
      +            "after",
      +            "limitsHit"
      +          ],
      +          "type": "object"
      +        },
      +        "summary": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "coverageUnknown": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "duplicates": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "failed": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "matched": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "missing": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "order": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "semantic": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "unknown": {
      +              "minimum": 0,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "matched",
      +            "missing",
      +            "failed",
      +            "unknown",
      +            "duplicates",
      +            "coverageUnknown",
      +            "semantic",
      +            "order"
      +          ],
      +          "type": "object"
      +        },
      +        "verdict": {
      +          "enum": [
      +            "changed",
      +            "unchanged",
      +            "reordered",
      +            "incomplete",
      +            "ambiguous",
      +            "incomparable"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "schema",
      +        "kind",
      +        "verdict",
      +        "fields",
      +        "claims",
      +        "freshness",
      +        "snapshot",
      +        "summary",
      +        "rows",
      +        "coverageUnknown",
      +        "changes",
      +        "observations",
      +        "provenance"
      +      ],
      +      "type": "object"
      +    },
      +    "schemaVersion": {
      +      "const": "samedaydesk.page-change-http.v0",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "ok",
      +    "product",
      +    "schemaVersion",
      +    "charged",
      +    "report"
      +  ],
      +  "type": "object"
      +}
  2. 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 readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds genuinely useful behavioral context beyond that: no network fetch, no payment, no freshness attestation, and the rule that missing keys mean unknown coverage rather than deletion while explicit null counts as a present value. This is real added value, though it is repeated verbatim many times rather than stated once.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is well front-loaded, but the body is dominated by a fully inlined request example and the same synthetic-data disclaimer repeated a dozen times inside it. Substantive rules (missing keys, null semantics, no payment) are drowned in duplication, making the definition much longer than needed to convey its content.

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 not be described, and the description covers the comparison semantics, coverage-unknown handling, and the no-fetch/no-payment boundary. What it lacks is guidance on failure or ambiguous-match handling beyond a brief mention of duplicate identities, but overall it is sufficient for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 83%, so the baseline is 3, and the description does add meaning beyond the schema: it defines what the fields selection means for comparison, explains that unselected metadata is not a content delta, and reinforces that clock and allowFreshClaim cannot attest freshness. It stops short of explaining how before/after rows are matched beyond the schema's own source-identity text.

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 opening sentence states a specific verb and resource: compare two already-held extract-batch JSON artifacts. It is unambiguous about the operation, though the purpose is buried under a large volume of disclaimer text that follows. With no sibling tools, no differentiation is required.

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 clarifies scope boundaries (does not fetch, pay, or schedule a second observation) and how to interpret results, but it never states the situation in which an agent should pick this tool or what to do instead when artifacts are unavailable. Guidance is implied through constraints rather than stated as when-to-use rules.

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.