Skip to main content
Glama

Compare restore points

get_restore_point_diff
Read-only

Get Version Diff

When to use: 두 체크포인트 사이(또는 한 체크포인트와 그 직전 ACTIVE 체크포인트) 에 무엇이 added/removed/modified 됐는지 git diff 처럼 비교할 때.

Limitations: base_version_id 생략 시 직전 ACTIVE 체크포인트와 비교한다. limit 1~1000(기본 100). 휘발성 컬럼(created_at/updated_at 등 스코프마다 지정된 컬럼)은 비교 대상에서 제외된다.

Examples:

  • Q: 이 복원 지점을 직전 복원 지점과 비교해줘 params: {'path': {'version_id': 123}}

  • Q: 복원 지점 두 개를 서로 비교해줘 params: {'path': {'version_id': 200}, 'query': {'base_version_id': 150}}

Output shape: VersionDiffRes: columns/compare_columns + rows(added/removed/modified) + summary + base/target 체크포인트 메타

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": {
      "version_id": "<version_id>"
    },
    "name": "get_restore_point_diff"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
project-idNo
version_idYes
base_version_idNo비교 기준. 없으면 직전 ACTIVE 체크포인트

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and closed-world, so the safety profile is covered. The description still adds non-obvious behavior: base_version_id omission falls back to the previous ACTIVE checkpoint, and volatile columns (created_at/updated_at per scope) are excluded from comparison. It does not discuss pagination behavior of the diff or auth requirements.

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?

Well front-loaded: usage condition first, then limitations, then examples. The "Output shape" line duplicates information the output schema already carries, and the mixed Korean/English phrasing adds friction, but every other sentence earns its place.

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?

For a five-parameter diff tool with an output schema and full annotations, the definition covers when-to-use, defaults, exclusions, and examples. The remaining gap is that two optional parameters (offset, project-id) are undocumented anywhere, which an agent may need for paginated or multi-project calls.

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 only 20%, so the description has to compensate. It explains base_version_id's fallback and the limit bounds, and the examples implicitly identify version_id as the target checkpoint, but offset, project-id, and the target/target-vs-base relationship of version_id are never spelled out.

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 concrete verb and resource: it compares what was added/removed/modified between two checkpoints, explicitly likened to `git diff`. That behavioral framing distinguishes it from snapshot/list siblings even though no sibling is named outright. The heading "Get Version Diff" differs slightly from the title "Compare restore points," a minor terminology inconsistency.

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?

A dedicated "When to use" clause names the exact condition: between two checkpoints, or one checkpoint versus its immediately preceding ACTIVE checkpoint. Limitations and two worked examples (single-path default comparison vs. explicit base_version_id) make the selection unambiguous.

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