Skip to main content
Glama

Bubble to Cloudflare App & Data Migrator

Verify the target against the source (paid)

nc_verify
Idempotent

Checks the loaded data and says pass or fail: row counts per type against the source's count now, a checksum sample (default 500 records per type, sha256 of the canonical JSON of the mapped columns, read back from D1), broken foreign keys, and that every copied file exists in R2. Writes verification.md to the customer's R2. Reads the source and the target; changes nothing. Each call does a bounded part and returns partial until done. nc_cutover refuses to run unless the last verification passed and nothing changed after it. Paid: needs a pass for the app, or the free trial for plans up to 1,000 records.

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": {
      "job_id": "<job_id>"
    },
    "name": "nc_verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
typesNoData type keys to verify. Default: all.
job_idYes
sampleNoRecords to checksum per type. Default 500.
restartNoStart a new verification instead of continuing the open one.
upgradeNoSet true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit.
go_aheadNoSet true only when a charge applies, once the owner has seen the estimate and agreed to it. Not needed under the free trial or a pass that already covers the app. Needed again after a pass has expired.
max_costNoWork per call. Default 120.
r2_bucketNoAn R2 bucket in that account, for staging and schema files.
job_secretNoThe job_secret returned when this job was made (or the job's signed editor link). Required with job_id when no API key is sent: the job_id alone does not open a job.
skip_sourceNoDo not count the source's records (no token). Counts are then compared with what the export reported.
cf_api_tokenNoA Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.
cf_account_idNoThe customer's Cloudflare account id.
data_api_tokenNoThe source app's Data API token, if it is not held for this job any more. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.
r2_access_key_idNoAccess key id of an R2 API token that can read and write that bucket. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.
r2_secret_access_keyNoIts secret. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.
accept_unmapped_filesNoAccept that some rows keep a source file URL with no copy (links to other hosts, files that could not be copied). Without it they fail the verification.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / job_secret
      Added value: +{
      +  "description": "The job_secret returned when this job was made (or the job's signed editor link). Required with job_id when no API key is sent: the job_id alone does not open a job.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations it discloses the important behaviors: it reads both source and target and 'changes nothing' to them while writing verification.md to the customer's R2, each call does a bounded part of the work and returns partial until finished, and calls are resumable via restart. It also surfaces the paywall mechanics (upgrade, go_ahead needed only when a charge applies) and that job_id alone will not open a job without job_secret or an API key, which is exactly the kind of non-obvious gate an agent would otherwise trip over.

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?

The four checks are front-loaded and each sentence carries new information; the payment and cutover-prerequisite facts follow in logical order. It is dense rather than padded, though the final 'Paid:' sentence compresses several distinct conditions into one long clause that takes a reread.

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 16-parameter, partially-chunked paid operation with no output schema, the description covers the checks performed, the partial-return/resume model, the credential model, and the cost gating. What is missing is the shape of a result — whether pass/fail and per-check detail come back in the response or only in verification.md — which an agent needs to know before deciding how to read the outcome.

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 94%, so the schema already carries nearly all parameter meaning and the baseline of 3 applies. The description adds some value by explaining what the checksum sample measures (sha256 of the canonical JSON of the mapped columns, read back from D1) and links skip_source to the no-token case only implicitly. It says nothing about types, max_cost, or accept_unmapped_files beyond what the schema states.

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?

The description gives a specific verb and resource ('checks the loaded data and says pass or fail') and then enumerates the concrete checks: row counts per type against the source's live count, a sha256 checksum sample read back from D1, broken foreign keys, and R2 file existence. It also distinguishes itself from the sibling it gates, noting 'nc_cutover refuses to run unless the last verification passed', so an agent can place it in the workflow without inspecting other schemas.

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?

It states the sequencing constraint clearly (verification must pass and nothing may change before nc_cutover will run) and gives the payment precondition (a pass for the app, or the free trial up to 1,000 records). It does not name alternative tools or say when a narrower check would be preferable, so it falls short of full when/when-not guidance, but the operational context 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.