Skip to main content
Glama

Get what changed in a run

get_changes
Read-onlyIdempotent

Report what changed in a project run against the run just before it, or against any run you name: pages added, modified and removed, field changes, and coverage. Use it to answer 'what changed on the site', or 'since last month' with against. list_pages shows every page whether or not it changed, and list_pages with url one page's text and versions. Inputs: project_id from list_projects. run_id from list_runs picks the run; empty means the latest finished full run -- a newer start_run re-crawl of listed pages is not the default, and is named as newerPartialRun with the id to pass as run_id. against, another run's id from list_runs, compares the two directly instead of with the run just before. A run still going answers 409. A picked pair: with against the comparison is computed on the spot (adHoc true). When the two runs were read under different extraction rules, crossVersion names the two, and pages can differ without the site changing. An API that sends note says so itself, lists such pages as read differently (readDifferentlyCount) rather than as modified, and gives a page whose words were not counted counted=false and null word counts, never 0. From an older API, which sends neither note nor counted, this tool adds a note of its own, saying also that a modified page's 0 words there means not counted. Pass note on to the person. Safeguards: removals are withheld when a run reached under 90% of the site, so a blocked crawl never reports pages as gone. A project's first run is a baseline with nothing to compare. Read-only and free: it reads stored data and never fetches.

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": {
      "project_id": "<project_id>"
    },
    "name": "get_changes"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idNoA run's id, from list_runs; empty means the project's latest finished run.
againstNoAnother run's id, from list_runs, to compare with directly; omit to compare with the run just before.
project_idYesThe project's 32-character hex id, from list_projects.

Output Schema

NameRequiredDescriptionDefault
codeNoOnly on a failure: a machine-readable reason, e.g. read_only, validation, plan_limit or not_found.
runsNoThe finished runs a record exists for, newest first, for picking another run_id.
errorNoOnly when the call failed: what went wrong, in words an assistant can act on.
changeNo{runId, prevRunId, baseline, rebaselined, adHoc, crossVersion, note, coverage, degraded, counts {added, modified, removed}, readDifferentlyCount, summary, feed, fields, withheld}. adHoc: true for a pair picked with against, computed now and stored nowhere. crossVersion: [before, after] when the two runs were read under different extraction rules (a settings change, or an update to how MeshArc reads pages), so pages can differ without the site changing; null otherwise. note: what such a comparison means, in plain words, from the API when it sends one and otherwise added by this tool (an older API's 0 words on a picked pair's modified page means not counted); tell the person. readDifferentlyCount: pages read differently in the two runs, so not judged changed. feed: each changed page as {url, path, kind (added, modified or removed), added and removed (words, e.g. '+12'), addedN and removedN (the same as numbers), wordsBefore, wordsAfter}, and counted when the API sends it: counted false with addedN and removedN null means the words were not counted, which is not 0. fields: head and extracted field changes as {url, field, before, after}. withheld: removals held back because coverage was under 90%, and, from an API that sends counted, pages read differently, each with its reason. Each list holds up to 200.
detailNoOnly on a failure: the API's own wording, when the error was rephrased.
statusNoOnly on a failure: the HTTP status code.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / change / description
      Previous value: -"{runId, prevRunId, baseline, rebaselined, coverage, degraded, counts {added, modified, removed}, summary, feed, fields, withheld}. feed: each changed page as {url, path, kind (added, modified or removed), added and removed (words, e.g. '+12'), wordsBefore, wordsAfter}. fields: head and extracted field changes as {url, field, before, after}. withheld: removals held back because coverage was under 90%. Each list holds up to 200."New value: +"{runId, prevRunId, baseline, rebaselined, adHoc, crossVersion, note, coverage, degraded, counts {added, modified, removed}, readDifferentlyCount, summary, feed, fields, withheld}. adHoc: true for a pair picked with against, computed now and stored nowhere. crossVersion: [before, after] when the two runs were read under different extraction rules (a settings change, or an update to how MeshArc reads pages), so pages can differ without the site changing; null otherwise. note: what such a comparison means, in plain words, from the API when it sends one and otherwise added by this tool (an older API's 0 words on a picked pair's modified page means not counted); tell the person. readDifferentlyCount: pages read differently in the two runs, so not judged changed. feed: each changed page as {url, path, kind (added, modified or removed), added and removed (words, e.g. '+12'), addedN and removedN (the same as numbers), wordsBefore, wordsAfter}, and counted when the API sends it: counted false with addedN and removedN null means the words were not counted, which is not 0. fields: head and extracted field changes as {url, field, before, after}. withheld: removals held back because coverage was under 90%, and, from an API that sends counted, pages read differently, each with its reason. Each list holds up to 200."
  2. Changed2 schema fields changed
    • addedInput schema / properties / against
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Another run's id, from list_runs, to compare with directly; omit to compare with the run just before.",
      +  "title": "Against"
      +}
    • changedOutput schema / description
      Previous value: -"A run's change record against the run before it."New value: +"A run's change record against the run before it, or against the run named in `against`."
  3. Changed3 schema fields changed
    • changedInput schema / properties / project_id / description
      Previous value: -"The project's id, as list_projects or create_project returns it."New value: +"The project's 32-character hex id, from list_projects."
    • changedInput schema / properties / run_id / description
      Previous value: -"A run's id, from list_runs, start_run or the runId a list_pages answer carries; leave empty for the last finished run."New value: +"A run's id, from list_runs; empty means the project's latest finished run."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "description": "A run's change record against the run before it.",
      +  "properties": {
      +    "change": {
      +      "description": "{runId, prevRunId, baseline, rebaselined, coverage, degraded, counts {added, modified, removed}, summary, feed, fields, withheld}. feed: each changed page as {url, path, kind (added, modified or removed), added and removed (words, e.g. '+12'), wordsBefore, wordsAfter}. fields: head and extracted field changes as {url, field, before, after}. withheld: removals held back because coverage was under 90%. Each list holds up to 200.",
      +      "title": "Change"
      +    },
      +    "code": {
      +      "description": "Only on a failure: a machine-readable reason, e.g. read_only, validation, plan_limit or not_found.",
      +      "title": "Code"
      +    },
      +    "detail": {
      +      "description": "Only on a failure: the API's own wording, when the error was rephrased.",
      +      "title": "Detail"
      +    },
      +    "error": {
      +      "description": "Only when the call failed: what went wrong, in words an assistant can act on.",
      +      "title": "Error"
      +    },
      +    "runs": {
      +      "description": "The finished runs a record exists for, newest first, for picking another run_id.",
      +      "title": "Runs"
      +    },
      +    "status": {
      +      "description": "Only on a failure: the HTTP status code.",
      +      "title": "Status"
      +    }
      +  },
      +  "title": "ChangesOut",
      +  "type": "object"
      +}
  4. Changed1 schema field changed
    • changedInput schema / properties / run_id / description
      Previous value: -"A run's id, from start_run or the runId a list_pages answer carries; leave empty for the last finished run."New value: +"A run's id, from list_runs, start_run or the runId a list_pages answer carries; leave empty for the last finished run."
  5. Changed2 schema fields changed
    • addedInput schema / properties / project_id / description
      Added value: +"The project's id, as list_projects or create_project returns it."
    • addedInput schema / properties / run_id / description
      Added value: +"A run's id, from start_run or the runId a list_pages answer carries; leave empty for the last finished run."
  6. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world, but the description goes well beyond that: crossVersion when extraction rules differ, adHoc computation for picked pairs, note-passing behavior, readDifferentlyCount, counted=false with null (never 0) word counts, and the 90%-coverage safeguard that withholds removals. These are real behavioral traits an agent could not infer from structured fields.

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?

The purpose is front-loaded in the first sentence, then organized into Inputs, picked-pair semantics, and Safeguards, and nearly every sentence carries substantive meaning. It is dense and a few clauses are cryptic, but little is wasted and the structure is purposeful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 shape needn't be spelled out, yet the description still explains the important return semantics (readDifferentlyCount, counted=false/null word counts). Combined with error handling (409), the baseline caveat, cross-version caveats, and the removal safeguard, an agent has everything needed to call it correctly and interpret results.

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 100%, so the baseline is 3, but the text adds genuine meaning: it clarifies that empty run_id means the latest finished FULL run, that a newer start_run partial re-crawl is not the default and surfaces as newerPartialRun with an id to pass, and that against computes the comparison on the spot rather than against the immediately preceding run. A couple of phrases (e.g. 'A picked pair') are terse, but the parameter behavior is meaningfully enriched.

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 and resource (report what changed in a project run against a prior/other run) and enumerates the exact payload: pages added, modified, removed, field changes, coverage. It explicitly distinguishes itself from list_pages (shows every page whether or not it changed) and list_pages with url (one page's text and versions), so an agent can pick without opening sibling schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives concrete trigger phrasings ('what changed on the site', 'since last month' via against) and names the alternatives plus when each applies. It also states exclusions and edge conditions — a run still going answers 409, first run is a baseline with nothing to compare — so the agent knows both when and when not to call it.

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.