Skip to main content
Glama

changeset_get

Read-onlyIdempotent

A change-set as it stands: status (applied, or pending_review for an associate's held proposal), reviewState (awaiting | approved | rejected — a rejected change that had landed names the revert in review.revertedBy), the review decision if a person has made one, its verification as a verdict (each scenario's status, the failing checks, the lint counts and errors), and its ops a page at a time: ops from opsFrom (default 0), opCount in all, and nextOpsFrom while there are more; an op larger than a page is outlined in its place — what it is about and the size of each part — and read with op (its index), field (a dotted path into it) and from, a page at a time, from the change-set itself. Poll this to learn whether the person has reviewed your work; pass ops: false when that is all you want. A pending change-set the head has moved under also carries rebase: what applying it would now land, and whether it would land at all.

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": "changeset_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe change-set id, `cs_…`.
opNoRead one op's contents instead: its index. With `field` (a dotted path into it, such as `ledger.entries`) and `from`, a page at a time.
opsNoInclude a page of ops. Default true.
fromNoWith `op`: the first item of the part to read, from the last answer's `next`.
fieldNoWith `op`: the part of the op to read, a dotted path. Absent, the op's outline.
opsFromNoThe index of the first op on this page, from the last answer's `nextOpsFrom`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/non-destructive, so the description's job is to add beyond that — and it does: polling cadence for review outcomes, the two-level pagination contract (`nextOpsFrom`, outline-then-`op`/`field`/`from` reads), and the extra `rebase` block on a pending change-set whose head moved. It does not discuss error behavior for an unknown id, which keeps it below 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The return-shape inventory is front-loaded, which is right, but the opening is a long verbless list joined by commas and nested parentheses that requires re-reading to parse the outline-versus-`op` distinction. Almost every clause carries information, but the sentence structure hides some of it.

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 must carry the return contract itself, and it does: field meanings, pagination cursors, the large-op outline pattern, and the pending/rebase case. For a read tool of this complexity, an agent has enough to call it correctly on the first attempt.

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; the description earns a 4 by explaining how parameters interact — `op`+`field`+`from` read a single op's part a page at a time, `ops: false` suppresses the ops page, and `opsFrom` defaults to 0 while values come from the prior answer's `nextOpsFrom`. That is genuine semantics beyond the per-parameter schema text.

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 enumerates concretely what is returned — status, reviewState, the review decision, verification verdict, and paginated ops — rather than restating the name. That enumeration also implicitly separates it from changeset_review and changeset_apply: this is the read/inspect side of the change-set lifecycle.

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?

"Poll this to learn whether the person has reviewed your work; pass `ops: false` when that is all you want" gives a concrete trigger and a cheap-call variant. It stops short of naming an alternative for adjacent needs (e.g. listing pending change-sets via changes_pending), but the primary usage context is clear.

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