Skip to main content
Glama

changes

Check whether a design changed in the editor since your last revision, list newer edits with diff notes, and find the correct parent revision before making your next edit.

Instructions

Check whether the user changed a design in the browser editor since you last touched it.

Pass the revision you believe is current — normally the one your last edit returned. The reply says whether it is still the design head and lists what was written since, oldest first, with each revision's diff note and whether it came from the editor (origin: "editor") or from your own edit.

Call this before your first edit of a design whenever the user may have had the view page open: edit REJECTS a parent whose path to the head contains one of the user's editor saves, so this is how you find the parent to build on.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
revisionYesRevision you believe is current — normally the one your last `edit` returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden. It explains the reply: whether the revision is still the design head, what was written since, ordering oldest first, diff notes, and the `origin` field. It does not explicitly state it is non-mutating, but 'check' and the described reply imply a read-only operation.

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?

The description is front-loaded with the purpose, followed by the reply structure and the critical call timing. Each paragraph earns its place, and the mention of `edit` rejection is essential context rather than filler.

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?

Given a single required parameter and no output schema or annotations, the description covers everything needed: what the tool checks, what to pass, what the reply contains, and when it should be called. Nothing essential is missing.

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

Parameters3/5

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

Schema description coverage is 100%, and the schema already says 'Revision you believe is current — normally the one your last `edit` returned.' The description repeats this guidance and adds workflow context, but it does not convey substantially new parameter semantics beyond the schema.

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 first sentence states a specific verb and resource: 'Check whether the user changed a design in the browser editor since you last touched it.' It also names the workflow relationship to `edit` and `view`, distinguishing it from sibling tools like `history` or `inspect`.

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?

The description gives an explicit trigger: 'Call this before your first `edit` of a design whenever the user may have had the `view` page open.' It explains the consequence of not doing so by noting that `edit` rejects a parent containing editor saves. It does not name an alternative tool, but the condition is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.