Skip to main content
Glama

Local first sync design — Atom

Local-first sync design

local_first_sync_design
Read-onlyIdempotent

Submits a local-first sync design record (local truth and data model, sync protocol, encryption and keys, conflicts and state UI, testing and quality gates) and returns a deterministic LOCAL_FIRST_SYNC_SOUND / LOCAL_FIRST_SYNC_NOT_SOUND / INSUFFICIENT_EVIDENCE verdict across five sections, including computed per-entity merge-semantics and silent-last-write-wins checks, with per-check evidence. Audits the declared design; it syncs nothing.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "local_first_sync_design"
  }
}

Input Schema

NameRequiredDescriptionDefault
appNoApplication the sync design covers.
testingNoTesting and quality-gate evidence.
entitiesNoDeclared entities: {name, per_field_merge_semantics_declared, stable_id_declared, is_user_prose, silent_last_write_wins_present}.
state_uiNoState UI evidence.
conflictsNoConflicts evidence.
data_modelNoData model evidence.
encryptionNoEncryption and keys evidence.
local_truthNoLocal truth evidence.
sync_protocolNoSync protocol evidence.
personal_data_syncNoPersonal-data sync evidence (gates the encryption checks).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Adds real context beyond the annotations: deterministic output, the exact verdict vocabulary, five-section coverage, and computed per-entity merge-semantics and silent-last-write-wins checks with per-check evidence. The annotations already declare readOnlyHint and idempotentHint, so those are not extra credit, and the word 'Submits' sits slightly awkwardly against readOnlyHint even though the closing clause clarifies nothing is written or synced.

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?

Two sentences, front-loaded with the action and then the return contract, with the disambiguating clause last. Dense but every clause carries information; only mild cost is the long parenthetical list of sections.

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?

With no output schema, the description appropriately names the verdict values and the per-check evidence returned. It is nearly complete for a pure evaluation tool, with the notable gap that 0 of 10 parameters are required yet nothing explains the minimal viable manifest or when INSUFFICIENT_EVIDENCE is returned instead of a sound/not-sound verdict.

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 baseline is 3. The description's parenthetical enumeration (local truth and data model, sync protocol, encryption and keys, conflicts and state UI, testing and quality gates) loosely maps to the parameter groups and confirms the five-section framing, but adds no field-level meaning such as required rows or how personal_data_sync gates the encryption checks.

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?

Uses a specific verb and resource ('Submits a local-first sync design record') and then states precisely what comes back: a deterministic LOCAL_FIRST_SYNC_SOUND / NOT_SOUND / INSUFFICIENT_EVIDENCE verdict across five sections. The closing clause 'Audits the declared design; it syncs nothing' preempts the most likely misreading of a sync-named tool.

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 'audits the declared design; it syncs nothing' line makes the when-to-use boundary explicit (submit a design for evaluation, not to perform synchronization). No sibling tools exist, so there is no alternative to route away from; what is missing is any signal about when NOT to submit, e.g. incomplete manifests or the fact that nothing is required.

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.