Skip to main content
Glama

Bubble to Cloudflare App & Data Migrator

Convert privacy rules to an access policy (paid)

nc_access
Idempotent

Converts the app's privacy rules into policy.ts (per-table read and write rules, default deny) and a generated test file with allow and deny cases. Rules it cannot translate with certainty are listed as MANUAL with their original text, never guessed. Reads the rules saved by nc_audit when it was given an app_spec; pass app_spec here to use a newer one. 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_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
inlineNoReturn the file contents in the reply as well as writing them to R2.
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.
app_specNoapp-spec.json from the nocode-migration-audit plugin. Default: the one given to nc_audit.
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.
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.
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.

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
Behavior4/5

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

Annotations declare readOnlyHint=false, idempotent=true, destructive=false, but the description adds genuinely useful behavior beyond them: it writes files, it never guesses untranslatable rules and lists them as MANUAL with original text, and it requires a pass or trial. It stops short of describing failure modes or how the MANUAL list is surfaced.

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?

Three front-loaded sentences: capability and outputs first, source-of-truth second, pricing third. Some pricing detail is restated in the go_ahead/upgrade schema descriptions, but the description itself stays tight.

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 an 11-parameter, paid, file-writing tool with no output schema, the definition covers what gets produced, where the input rules come from, the credential path, and the charge gate. It does not address error behavior or how the MANUAL list is returned, a minor gap given the rich schema.

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 description coverage is 91%, so parameter meaning is largely carried by the schema itself. The description only reinforces two defaults (app_spec backing off to nc_audit, and the cost conditions behind go_ahead/upgrade) without adding syntax or format detail beyond what is already documented.

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 first sentence names a specific verb and resource (converts privacy rules into policy.ts) and enumerates the concrete outputs: per-table read/write rules, default deny, plus a generated test file with allow and deny cases. An agent can distinguish this from nc_audit or nc_plan 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 the relationship to nc_audit (reads the rules saved there, pass app_spec for a newer one), gives a when-not path for credentials ('Prefer nc_connect with job_id ... only pass it here if nc_connect is not available'), and states when go_ahead is and is not required. The paid conditions and the upgrade path give explicit gating conditions.

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.