Skip to main content
Glama

No-code app data migrator

Build the old-to-new redirect map (paid)

nc_redirects
Idempotent

Builds redirects.json (301s from old Bubble® paths and query forms to the new routes), a redirects.ts module for the new Worker, an _redirects file for exact paths, and a curl script that tests every URL. Old URLs come from a sitemap (a sitemap index is followed) or url_list. A URL whose route does not change is not redirected: it is listed as unchanged and expected to answer 200. A URL it cannot place is listed as unmapped with the reason, never guessed. Give new routes with page_routes, for example { "listing_detail": "/rooms/:slug" }. 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_redirects"
  }
}

Input Schema

NameRequiredDescriptionDefault
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, for the page list. 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.
new_baseNoOrigin of the new app for the expected Location, for example https://www.example.com. Default: the old URL's own origin.
url_listNoOld URLs, absolute or paths.
r2_bucketNoAn R2 bucket in that account, for staging and schema files.
page_typesNoOld page key to the data type it shows, when the name does not say.
id_slug_mapNo{ type: { bubble id: slug } }. Default: read from the loaded slug columns.
page_routesNoOld page key to its new route. A route with :slug or :id takes one thing, for example /rooms/:slug.
sitemap_urlNoThe old app's sitemap.xml (a sitemap index is followed).
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. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.