Skip to main content
Glama

Read a change

get_change
Read-onlyIdempotent

Reads one change in full: what was asked, its edits to each file, what the checks found, its comments, and its page, where editors review and apply it. Use it after list_changes, to see what a change would do, or where it stands, before asking for something like it. A change waits in OKForest until an editor applies it; what has already reached the repository is get_history's. A change ID that isn't the tree's is an error saying so.

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": {
      "id": "<id>"
    },
    "name": "get_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe change's ID, as list_changes gives it.
treeNoThe tree's slug, as list_trees gives it (not its name). Required unless the Forest has one tree.

Output Schema

NameRequiredDescriptionDefault
byYesWho asked for it, by name.
idYesThe change's ID: pass it to get_change.
urlYesIts page in OKForest, where editors review and apply it.
mineYesWhether the person asking made it: only they revise it (propose_change with `change`) or withdraw it (withdraw_change).
aboutNoThe page it was asked about, when it was asked from one.
askedYesWhen it was asked for (ISO 8601).
editsYesIts edits, one per file.
pathsYesThe files it creates, edits, moves, or deletes.
stateYesWhere it is: `requested` (asked for, waiting for an editor), `drafting` (accepted, an editor writing its edits), `in-review` (edits written, waiting for an editor to apply them), or done: `applied` (committed), `declined`, or `withdrawn` by whoever asked.
titleYesWhat it does, in a few words: its commit's first line.
appliedNoWho applied it, when, and in which commit.
decidedNoThe editor who accepted or declined it, and when.
updatedYesWhen it last changed (ISO 8601).
commentsYesIts comments, oldest first.
findingsYesWhat the checks found on its pages when it was last saved.
instructionNoWhat was asked for, in the asker's words, when it was asked rather than edited.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / mine
      Added value: +{
      +  "description": "Whether the person asking made it: only they revise it (propose_change with `change`) or withdraw it (withdraw_change).",
      +  "type": "boolean"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "id",
      -  "title",
      -  "state",
      -  "by",
      -  "asked",
      -  "updated",
      -  "paths",
      -  "url",
      -  "edits",
      -  "findings",
      -  "comments"
      -]New value: +[
      +  "id",
      +  "title",
      +  "state",
      +  "by",
      +  "asked",
      +  "updated",
      +  "mine",
      +  "paths",
      +  "url",
      +  "edits",
      +  "findings",
      +  "comments"
      +]
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior. The description adds lifecycle context (a change waits in OKForest until applied) and an explicit error when the change ID doesn't belong to the tree. It does not discuss auth or rate limits, but those are less relevant for a read-only tool.

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 three sentences and front-loads the core read operation before moving to usage and lifecycle. The list of returned content is specific rather than padded, though 'before asking for something like it' is slightly vague.

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?

For a read-one tool with an output schema and full annotations, the description covers what is returned, when to use it, the pending-vs-applied lifecycle, and the invalid-ID error. Nothing essential for correct invocation 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 coverage is 100%, so the id and tree parameters are already documented in the schema. The description adds only the validation rule that an ID from another tree is an error, without elaborating ID format or tree fallback behavior. That modest addition supports a baseline 3.

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 uses a specific verb ('Reads') and resource ('one change in full') and enumerates the contents: what was asked, edits, checks, comments, and the page. It also distinguishes this tool from get_history and list_changes by contrasting pending changes with repository history.

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?

It explicitly says to use it after list_changes and to see what a change would do or where it stands. It also routes already-applied changes to get_history, giving a clear when-not condition.

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