Skip to main content
Glama

Bubble to Cloudflare App & Data Migrator

Export records to R2 staging (paid)

nc_export

Pages through the source app's records (read only) into NDJSON objects in the customer's R2 bucket. Resumable: progress is saved after every page, so a stopped run continues where it stopped. Each call does a bounded slice and returns status partial until every type is done; call it again. Pass since for a delta run that exports only records modified after that time. 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_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNoISO date. Only records modified after it (a delta run). Starts a new run once the previous one is done.
typesNoData type keys to export. Default: every type not skipped in the plan.
job_idYes
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.
reexportNoExport everything again even though a finished run exists.
max_pagesNoPages of up to 100 records per call. Default 20.
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.
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. Needed on the first call; sealed in the job. 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.
max_requests_per_minuteNoThrottle for the source app. Default 60.

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

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false, so safety is covered. The description adds genuine context beyond that: resumability with progress saved after every page, the partial status return, and the paid/trial gating. It does not contradict the annotations, because the '(read only)' note refers to the source app reads, while the write side effect is the R2 export.

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?

Five tight sentences with no padding, front-loaded on what the tool does before the resumability and payment details. The 'call it again' instruction sits right after the partial-status rule, so it reads in a logical order. Minor awkwardness in phrasing ('call it again') but nothing wasteful.

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 15-parameter tool with 93% schema coverage and no output schema, the description covers purpose, paging behavior, the partial status return, and the credential/payment model well. It leaves gaps around error behavior and what a finished status or produced schema files look like. Those gaps are small given the rich schema and annotations.

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 93%, so the schema already documents nearly every parameter, including since, types, max_pages, upgrade, go_ahead and the token fields. The description only restates the since delta-run meaning and the payment condition, adding little beyond what the schema provides. A baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource: it pages the source app's records into NDJSON objects in the customer's R2 bucket. That is far more precise than the title alone. It never names a sibling it is not, though, so the agent has to infer how it differs from tools like nc_connect or nc_files.

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 gives concrete operating instructions: each call does a bounded slice, the return status stays partial until every type is done, and you call it again. It also explains when to pass since (a delta run) and states the paid prerequisite. What is missing is any explicit when-not or an alternative tool for related work.

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.