Skip to main content
Glama

Reread every source of a live table

resync_table

Rereads every source of a live table as one progressive full run of its current recipe, the deliberate escape hatch when a source cannot advance incrementally (refresh_table answered incremental_unavailable, or the person asked to rebuild from the sources). It costs a full build. Example: {"table_id": "…", "expected_version": 4}. request_id is the idempotency key: the same request_id returns the same resync, even after it ended; leave it out for a new one. reuse_saved_answers: false reads every per-row answer fresh. discard_snapshot_history: true is the consent a resync refused snapshot_history_would_be_discarded waits for: pass it only when the person agreed to replace the table's snapshot history with one day. Only call it when the person asked for a full reread. Returns {table_id, status, run_id, run_status, request_id, dashboard_url}. A held resync carries projected_bytes and projected_runtime_seconds for confirm_run; a sample-first one also names sample_run_id, the sample to check before approve_full_run releases run_id. If the answer could not be confirmed, ask again with the same request_id.

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": {
      "table_id": "<table_id>"
    },
    "name": "resync_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
table_idYes
request_idNo
expected_versionNo
reuse_saved_answersNo
discard_snapshot_historyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

It discloses cost ("It costs a full build"), retry semantics via request_id (same key returns the same resync, even after it ended; omit for a new one, and re-ask with the same key when confirmation failed), and the consent gate for discard_snapshot_history. It resolves the tension in idempotentHint=false by explaining that retries are keyed rather than naturally idempotent, which is exactly the context annotations cannot carry.

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?

Purpose, cost, and the when-to-call constraint are front-loaded, and the parameter semantics follow in a logical order before the return-shape paragraph. A few clauses are dense to the point of being hard to parse ("the consent a resync refused snapshot_history_would_be_discarded waits for"), which costs it the top mark.

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 multi-parameter mutation with no output schema and no annotation depth, the description covers invocation, cost, retry, consent, and the full return shape plus the downstream confirm_run/approve_full_run/sample_run_id flow. An agent knows how to call it, how to retry it, and what to do with a held or sample-first result.

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 0% schema description coverage, the description has to carry all five parameters and mostly does: request_id idempotency, reuse_saved_answers:false meaning fresh per-row reads, and discard_snapshot_history:true meaning replacing snapshot history with one day. The only gap is expected_version, which appears in the example but is never explained as an optimistic-concurrency guard.

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?

"Rereads every source of a live table as one progressive full run of its current recipe" names a specific verb and resource plus the scope (all sources, full rebuild), and it explicitly contrasts with refresh_table's incremental path. An agent can tell it apart from refresh_table and approve_full_run without opening any schema.

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?

It states both the trigger (refresh_table answered incremental_unavailable, or the person asked to rebuild) and a hard exclusion ("Only call it when the person asked for a full reread"). The alternative for the incremental case is named directly, so nothing is left to inference.

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