Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Add app assets
GLIDE_MCP_ADD_APP_ASSETSPromote user attachments into the project's public app-asset storage and return an app-local path — `/assets/<sha256>/<filename>` — for each. Use that value as-is in `src` / `href`: it resolves on the app's own origin, so it survives a clone or a change of asset origin untouched. To read one from SERVER code, `import { assets } from "./assets"` (server-only — importing it from client code fails the build) and call `assets(env).fetch(<that same app-local path>)` — never construct or fetch the canonical app-assets URL, which is refused without the helper's capability. Pass an `assets` array; a single upload is just an array of one, and a 93-image batch is a single call. Each path is content-addressed, immutable, and cached for a year. 100 MB each. Images, audio and video whose bytes match a known container (PNG/JPEG/WEBP/GIF, MP3/WAV/FLAC/OGG/M4A, MP4/MOV/WebM) are served under their real content type; anything else is served as generic binary, which a browser will download rather than play. Every asset is stored with a visibility class — see `visibility`, which defaults to `private`; only mark bytes `public` when they are meant to be world-readable forever. Returns `{ results }` — one entry per input asset, in order: a success is `{ path, id, url, sha256, bytes, alreadyExisted }` (`url` is that app-local path), a failure is `{ path, error }`. One bad file does NOT fail the rest of the batch. WIRING ASSETS TO DATA ROWS: when each asset belongs to a record in a table (one asset per record), set `writeUrlsToTable` and give each asset a `row: { key, column }`. The worker then writes every resulting app-local path straight into the table — do NOT, and do not need to, follow up with a `db_execute` UPDATE to store them. Emitting dozens of long content-addressed references as inline SQL is slow and burns output tokens; let this tool bind them server-side instead. What lands in the column is a PATH, not an absolute URL, so it resolves only on the app's own origin — anything reading those columns from outside the app (an export, a webhook payload) must join it to the app's origin itself.
App authenticated link
GLIDE_MCP_APP_AUTHENTICATED_LINKCreate a pre-authenticated link to an app. Use this to test/verify/screenshot.
App bind custom domain
GLIDE_MCP_APP_BIND_CUSTOM_DOMAINBind a custom domain to a published app (e.g. `mycoolapp.dev` or `app.example.com`). Platform subdomains (*.glideapps.dev, *.glideos.app, etc.) are not allowed — use app_claim_vanity_slug instead. Registers the hostname with Cloudflare for SaaS, writes the KV routing pointer, and stores the domain on the app. The customer must point a CNAME at the platform's custom hostname target for SSL to provision. BEFORE the first bind of a domain, the customer must also PROVE they control it by publishing a TXT record at `_glide-verify.<hostname>` (the required value is derived per organization). Without it the bind is refused with `code: "ownership_unverified"` and a `verification` object naming the exact record — relay those values to the user and wait for them to publish the record; do NOT retry blindly, retries cannot succeed until the record is live. `code: "ownership_check_unavailable"` means DNS could not be reached and IS worth retrying.
App claim vanity slug
GLIDE_MCP_APP_CLAIM_VANITY_SLUGClaim a globally unique vanity subdomain for an app (e.g. `myapp.glideapps.dev`). The slug must follow DNS naming rules and be unique across all organizations.
App promote
GLIDE_MCP_APP_PROMOTEPromote a specific version of an app to production. Verifies the target version script exists in the dispatch namespace, updates the production KV pointer, and updates the app's production URL.
App publish
GLIDE_MCP_APP_PUBLISHPromote a version of an app to production. After update_preview succeeds, pass its returned publishable content hash as this tool's `version`. Only available when Workers for Platforms is configured.
App release vanity slug
GLIDE_MCP_APP_RELEASE_VANITY_SLUGRelease a vanity subdomain so it can be claimed by another app. The app's long-form production URL continues to work.
App rollback
GLIDE_MCP_APP_ROLLBACKRoll an app back to a previous version. The target version must already exist in the app's version history. Updates the app record + production KV pointer so the public URL serves the older build. IMPORTANT: this changes ONLY what production serves — workspace source files and the preview are NOT restored, so after a rollback the preview and future edits still reflect the current (newer) source. If the user wants the source rolled back too, restore the relevant files (see file_history / file_restore) — and always tell the user about this divergence when rolling back.
App set access
GLIDE_MCP_APP_SET_ACCESSSet the app's access level — the same setting the user sees in the Share dialog. When you describe org access to the user, always call it their "Glide org" / "Glide organization", never a bare "org". Three options: `org-member` = "Members with project access" (default; must sign in AND belong to the owning Glide org AND be able to view the app's project — project permissions can exclude a member from one project, and Glide enforces that before the app's code runs); `authenticated` = "Public with sign in" (must sign in; the app does its own authorization); `public` = "Public for anyone with the link" (no sign-in — exposes all the app's data to anyone with the URL). Access is the user's call and ALWAYS needs explicit confirmation: first call `suggest_answers` to confirm the exact change with the human, THEN call this tool with `confirmAccessChange: true`. Never set `confirmAccessChange` without a fresh suggest_answers confirmation for this specific change. Take extra care with `public` — it drops sign-in entirely. Note: some plans don't include externally-shared access (`public`, and on newer plans `authenticated` too) — the call then returns a `public_access_not_allowed_on_plan` denial and an upgrade card is shown to the user. Entitlements decide, not plan names: never refuse pre-emptively — attempt the call and relay the denial. Changes apply to the live app within about a minute of a successful call — no republish is needed; if a check within that first minute still shows the old behavior, wait and re-check before diagnosing. Builder preview URLs always require sign-in regardless of this setting — only the published URL reflects it.
App set icon
GLIDE_MCP_APP_SET_ICONSet the icon for one of the project's apps. Provide `name` (the app to retint) and EITHER a short `description` of what the icon should evoke — e.g. 'task tracker', 'expense reports', 'rocket' — OR `path` (the `attachments/...` path of an image the user uploaded). With `description`, the shared icon library picks a matching glyph, rendered on demand in the project's current accent color, so a later `project_set_accent_color` call retints it automatically. With `path`, the uploaded image is center-cropped to a square PNG, stored at a public URL, and set as a custom icon — custom icons are NOT accent-retinted. Always overwrites the existing icon; the previous stored value is returned in `previousIcon` so the change can be talked about or undone. When the user asks to change the icon without giving a direction (no attached image, no desired look), don't pick one silently: use `suggest_answers` to propose a few concrete icon ideas that fit the app as options and say they can also upload an image to use instead. Skip the question when the request already carries a direction (an attached image, or a concrete description like 'make it a rocket'). If the app is published, follow with `update_preview` so the new icon lands in a publishable version.
App set name
GLIDE_MCP_APP_SET_NAMERename an app's user-facing name when the user explicitly asks to rename it. This does not change the app slug, dispatch script names, or production URLs.
App set presentation
GLIDE_MCP_APP_SET_PRESENTATIONSet how one of the project's apps presents itself when installed, shared, or indexed: the web-manifest and <head> fields the platform otherwise fills with defaults. Pass `name` (the app) and `presentation`, a partial object — only the fields given are written, `null` clears one, everything else is left as it was; `presentation: null` clears every field. Fields: `shortName` (home-screen label, ≤12 chars), `lang` (BCP-47 tag for the page), `display` (standalone / fullscreen / minimal-ui / browser), `orientation`, `themeColor` and `backgroundColor` (`#rrggbb`; the status-bar / splash colours), `socialTitle` and `socialDescription` (the link-preview / search-result title and description — the only source of the description metas; the app's internal description is never published), and `metaTags` (a small allowlisted set of <meta name> tags such as robots or author). Only call this when the user explicitly asks for one of these changes; never adjust presentation on your own initiative. To create or replace the icon image use `app_set_icon`; to rename the app use `app_set_name`. The change lands on the app's next `update_preview`, and on the published app after its next publish.
App unbind custom domain
GLIDE_MCP_APP_UNBIND_CUSTOM_DOMAINUnbind a custom domain from an app. Removes the CF for SaaS hostname registration, deletes the KV routing pointer, and clears the domain from the app. The app's production URL and any vanity URL continue to work.
Cancel workflow run
GLIDE_MCP_CANCEL_WORKFLOW_RUNStop an in-flight workflow run (running / paused / waiting) by its run id — the same Stop the dashboard offers. Terminates execution at the current step; completed steps are NOT rolled back, and a finished run (complete / errored / stopped) can't be cancelled. This stops ONE run only — the workflow stays enabled and future triggers still fire (use set_workflow_enabled to turn the workflow itself off). Get the run id from list_workflow_runs or the run_workflow result.
Create workflow app trigger
GLIDE_MCP_CREATE_WORKFLOW_APP_TRIGGERRegister that a deployed app in this project may start a workflow from its own server code — the way a button in the app kicks off a run. Then the app's server route calls `workflows(c.env).start("<workflow slug>", { data })` from the injected `./workflows` helper. Do this BEFORE writing the route; calling it again for the same app + workflow only refreshes the label. Returns the exact code to paste.
Db compute
GLIDE_MCP_DB_COMPUTERead or change the project database's compute ceiling. With no input it reports the current autoscaling range (min and max CU), the suspend timeout, the compute state, and the largest ceiling this organization's plan allows. With maxCu it raises or lowers the ceiling to that size (one of 0.25, 0.5, 1, 2, 4, 8 CU), clamped to the plan's allowance; a value above the allowance is refused with the plan code and nothing changes. Raising costs the organization more per hour of active compute, so it needs the human's confirmation on each call, and it is not a fix for a query that runs the compute out of memory: run db_health first and fix the failing route; raise only for genuine load. Lowering is always allowed.
Db ingest data source
GLIDE_MCP_DB_INGEST_DATA_SOURCEBulk-load a CSV/JSON/XLSX attachment into a Postgres table in one step. The destination table must already exist — create it first with db_execute. `columns` is REQUIRED and acts as the inclusion list: only source columns named as keys in the map are loaded; any other source column in the file is silently dropped. Hard cap of 100k rows per call.
Db restore from backup
GLIDE_MCP_DB_RESTORE_FROM_BACKUPRestore the live project database from a G3-managed backup branch. The current state is first preserved as a backup branch.
Db restore to point
GLIDE_MCP_DB_RESTORE_TO_POINTRestore the live project database to a timestamp or LSN. The current state is first preserved as a backup branch.
Enable trigger
GLIDE_MCP_ENABLE_TRIGGERMake an external event START A WORKFLOW (e.g. "when a new inbound message arrives, run the triage workflow"). A trigger is just another source that kicks off a workflow run — the integration counterpart to a cron schedule. In order: (1) build the workflow first with update_preview({ kind: "workflow" }) so it exists and is deployed; its `run(event, step, env)` receives the trigger payload as `event.payload = { triggerSlug, toolkit, data }` (branch on `event.payload.triggerSlug`; `event.payload.data` is the provider's raw event, so log it once to learn its shape). (2) connect the toolkit with connect_integration. (3) call this with the toolkit you connected, a trigger slug from list_triggers, the workflow's slug, the `config` filters from the trigger's config schema (elicit values from the user — filter upstream, not inside the workflow), and a user-facing `title`. Re-enabling the same workflow+slug REPLACES the existing trigger (it's an edit — pass keepExisting only to deliberately add a second instance). The run is durable with full run history — there is NO publish step and NO onEvent handler in a server file; the trigger fires on the DEPLOYED workflow. Act on the event inside the workflow via integrations(env).execute(...).