Skip to main content
Glama

Get changes

get_changes
Read-only

What changed in the file since a version or a date, to spot the screens that evolved between two passes on a design: the screens (and notes, sections, pages) modified, added or removed, each modified screen with a count of its element changes, and who edited meanwhile. With frameId, that screen element by element: each element added, removed or changed, with what changed (text before → after, classes added and removed, attributes, template rows, moves). Compares with the file as it is now (edits not yet in a version included), or with another version (to). get_html {versionId} reads a screen as it was.

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

Input Schema

NameRequiredDescriptionDefault
toNoA later version id to compare with, instead of the file as it is now.
sinceNoA version id (list_versions) or a date-time ("2026-11-30T09:00", ISO): the file as it was then. Default: the latest version, i.e. what changed since it was saved.
fileIdYes
frameIdNoA screen: its changes element by element.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), and the description goes well beyond by explaining the comparison base (edits not yet in a version are included), what the result contains (modified/added/removed screens, per-screen element change counts, who edited), and the per-element payload (text before → after, classes added/removed, attributes, template rows, moves).

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 and default behavior are front-loaded, and every clause carries information about output or comparison semantics. It is a long, run-on block with nested parenthetical lists, which slightly hurts scanability, but there is little true 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?

With no output schema, the description does the work of describing the return shape at both screen and element level, and clarifies default comparison behavior — enough to call it correctly. Missing only peripheral details such as result limits or ordering, which are not essential for a read-only diff.

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 75% and already documents 'to', 'since' and 'frameId', but the description adds the interaction semantics: 'since' may be a version or ISO date-time defaulting to the latest version, 'to' selects a later version instead of the live file, and frameId switches granularity rather than just filtering. fileId is left to the schema/required list.

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 opens with a specific verb-and-resource framing (what changed in the file) and immediately names the two operating modes: a file-level diff of screens/notes/sections/pages, and, with frameId, an element-by-element diff. It also distinguishes itself from the read-as-it-was sibling by pointing at get_html {versionId}.

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?

It gives a clear use case ('to spot the screens that evolved between two passes on a design') and states the comparison choice: current file (including unversioned edits) by default, or another version via 'to'. It also states when to add frameId for drill-down and routes to get_html for historical reads, though it does not explicitly exclude other diff-like workflows.

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.