Skip to main content
Glama

What changed since a version

what_changed
Read-onlyIdempotent

What changed in a file between the version you have and the newest one (or any two saved versions): how many versions sit between them, the grade before and after, which fixed checks the newer version newly trips or clears (with the text that tripped each one), lines added and removed, and the changed lines themselves. Pass since as a sha256 (or its first 7+ characters, the form mdr.lock records) or a version label. Use it before you update a pinned skill, so the change is read before your agent runs it.

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": {
      "ref": "<ref>",
      "since": "<since>"
    },
    "name": "what_changed"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoOptional: compare to this version instead of the newest.
refYesowner/repo/name for a skill (anthropics/skills/pdf), owner/repo/path for any other file (vercel/next.js/AGENTS.md), or an art_ id from find_files.
sinceYesThe version you have: sha256, a sha256 prefix of 7+ characters, or a label like git:20260913.ab12cd3.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare the operation as read-only, idempotent, non-destructive, and not open-world. Beyond that, the description usefully discloses what the result includes: version counts, grade before and after, newly tripped or cleared fixed checks with text, line counts, and changed lines.

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 description is dense but front-loaded, starting with what changed and then listing the concrete comparison output. It is somewhat run-on in the first sentence, but most details earn their place by explaining return content and usage.

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?

There is no output schema, so the description appropriately explains the comparison result in detail. Combined with rich annotations and a fully documented input schema, it gives an agent enough context to select and invoke the tool correctly.

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%, so the schema already fully documents the ref, since, and to parameters. The description reinforces the accepted since formats and hints at comparing any two saved versions, but adds only marginal meaning beyond the schema.

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 states a specific operation on a specific resource: comparing a file between the caller's version and the newest version, or any two saved versions. It clearly describes the comparison scope and reported contents, but it does not explicitly distinguish this from sibling tools such as file_history or get_file.

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?

It gives one concrete usage context: use before updating a pinned skill so the change is reviewed before the agent runs it. It does not state when not to use the tool or name alternatives for related tasks like inspecting history.

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.

Resources