Skip to main content
Glama

sync_now

Sync Notion pages and databases into a local SQLite FTS5 cache so searches work offline. Runs incrementally by default; enable full rescan when older pages are missing.

Instructions

Synchronize Notion workspace pages and databases into the local SQLite WAL + FTS5 cache immediately. Streams every search batch into the cache; returns fetched_count, complete and full. Cost: one Notion search request per 100 objects. Incremental by default and usually 1-2 requests; full:true rescans the whole workspace and can take minutes on large workspaces.

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

Input Schema

NameRequiredDescriptionDefault
fullNoRescan the whole workspace, ignoring the incremental watermark. Slow on large workspaces; use only when a page shared long ago is missing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the streaming batch behavior, the returned fields (fetched_count, complete, full), the cost model (one Notion search request per 100 objects), and the typical 1-2 request incremental cost versus a multi-minute full rescan. It leaves out what happens on interruption or whether the call blocks, though the 'complete' flag hints at partial sync.

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

Conciseness5/5

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

Three tight sentences: purpose first, cost/return second, mode guidance third. No filler, and the most decision-relevant fact (incremental is cheap, full is expensive) is front-loaded.

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 one-parameter tool with no output schema, the description supplies the return shape (fetched_count, complete, full), cost expectations, and the full-vs-incremental tradeoff. An agent has everything needed to decide whether and how to call it.

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 adds real value by quantifying the cost of full=true (whole-workspace rescan, minutes on large workspaces) and contrasting it with the incremental default's 1-2 requests. That goes beyond the schema's vaguer 'Slow on large workspaces'.

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?

Names a specific verb (Synchronize) and both source (Notion workspace pages and databases) and destination (local SQLite WAL + FTS5 cache), plus the immediacy semantics. No sibling tool in the list does workspace-wide cache sync, so the agent can route to it without ambiguity.

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?

Explicitly states the default mode (incremental) and the condition that selects the alternative (full:true only when a page shared long ago is missing, per the schema; description adds that it is slow on large workspaces). It does not name other sibling tools as alternatives, but this tool's role is not substitutable with any of them.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.