Skip to main content
Glama

Dayze — Life Context

Merge Moments

merge_moments
Destructive

Preview first, 30-day undo. Preview with preview_destructive_change({tool:"merge_moments",arguments:{canonical_id,retired_ids}}). Conflicting story, date, place or event links stop the merge. Union people, tags and media. Reviewed and reversible: first call preview_destructive_change({ tool: "merge_moments", arguments: { canonical_id, retired_ids } }), which stores the exact change without applying it. After the user confirms, call merge_moments with preview_id, restore_window_acknowledged: true and request_id; the reviewed preview is applied exactly and a changed record is refused. Returns restore_id; restore_change({ restore_id }) undoes it for 30 days unless the record was edited since. ($0.10; API key required)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
preview_idYespreview_id returned by preview_destructive_change for this tool.
request_idYesRequired idempotency key; retries return the original receipt.
retired_idsYes
canonical_idYes
idempotency_keyNoAlias for request_id.
restore_window_acknowledgedYesMust be true after reviewing the preview and its 30-day restore window.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNoThe Dayze account this data belongs to. With more than one Dayze connection, name it in the answer.
retiredNo
canonicalNo
conflictsNo
preview_idNo
provenanceNoWhich connector wrote the record and which connected Dayze account received it.
restore_idNoPass to restore_change to undo within restore_window_days.
reversibleNo
retired_idsNo
canonical_idNo
idempotent_replayNo
restore_expires_atNo
restore_window_daysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the destructiveHint=true annotation, the description discloses the 30-day restore window, that the reviewed preview is applied exactly, that a changed record is refused, idempotency/retry behavior via request_id, the $0.10 cost, and API-key auth requirement. This is unusually rich behavioral context.

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?

Front-loaded with the two key constraints ('Preview first, 30-day undo'), but the preview_destructive_change call and its arguments are described almost twice, which is redundant. Still, every section carries useful information.

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 destructive, multi-step, costed operation, the description covers the full lifecycle (preview, confirm, apply, restore) plus auth and pricing, and an output schema exists to carry return values like restore_id. Nothing critical is missing.

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?

With 67% schema coverage, the schema already documents preview_id, request_id, and restore_window_acknowledged. The description reinforces these (preview_id must come from preview_destructive_change, restore_window_acknowledged must be true after review) and references canonical_id/retired_ids through the preview-call example, adding meaning but not fully covering every parameter.

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?

States a specific verb and resource ('merge moments') and specifies the exact effect: conflicting story, date, place or event links stop the merge, and people/tags/media are unioned. This is enough for an agent to distinguish it from siblings like merge_people, update_moment, or delete_moment.

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 a clear mandatory workflow: preview via preview_destructive_change first, obtain user confirmation, then call with preview_id and restore_window_acknowledged. It does not explicitly compare against alternative merge/dedup siblings, but the when-to-use flow is 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.