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.
Ai models list
GLIDE_MCP_AI_MODELS_LISTList the AI models available to deployed apps that declare an `ai` binding. Each entry returns an `id`, a provider, and a tier. Pass the `id` verbatim — the compound `provider/model` form (e.g. anthropic/claude-haiku-4-5). Default to anthropic/claude-sonnet-4-6 unless you have a reason otherwise. Load the `ai` skill for the call patterns (`complete()`, `stream().toResponse()`), the server-side-only boundary, and the build-fail anti-patterns.
Ai query usage
GLIDE_MCP_AI_QUERY_USAGEQuery AI Gateway request logs for this project's deployed apps. Returns recent calls made through the `ai` binding — model, provider, success, tokens, cost, duration — with per-app attribution via metadata. Useful for diagnosing customer AI binding issues (401s, rate limits, unexpected models, quota consumption). Results are scoped to this project by filtering on metadata.projectId, so it never leaks other projects' usage. Requires CF_API_TOKEN to have the 'AI Gateway Read' permission.
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 custom domain status
GLIDE_MCP_APP_CUSTOM_DOMAIN_STATUSCheck the status of an app's custom domain: whether the SSL cert is active, still provisioning, or blocked. When blocked, returns the exact issue (commonly the customer's DNS CAA records not permitting the issuing CA — the message says which authority to allow). Use this to answer "is my domain live yet?" or to diagnose why a bound custom domain isn't working.
App delete
GLIDE_MCP_APP_DELETEDelete an app. Soft-deletes the app record, removes the deployed worker (or dispatch-namespace script), and clears the production KV route. Best-effort cleanup — missing CF resources are ignored.
App get
GLIDE_MCP_APP_GETGet details of a specific app by slug. Returns user-facing name, latest deploy description, URL, status, version, script name, bindings, and timestamps.
App list
GLIDE_MCP_APP_LISTList all apps for the project (deployed, pending, or errored — excludes deleted). Each app includes app slug, user-facing name, latest deploy description, deployed URL, status, version, script name, and bindings.
App list versions
GLIDE_MCP_APP_LIST_VERSIONSGet version history for a deployed app. Shows all past deploys with version numbers, titles/descriptions, and URLs.
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 request read
GLIDE_MCP_APP_REQUEST_READMake an authenticated HTTP request to THIS project's own app backend (the routes you write in server.ts) and get the response back — use it to verify an endpoint returns what you expect, walk a multi-step flow, or build a test suite against the app you just built. Defaults to the PREVIEW deployment (safe to hammer) and to calling as the current user. Only app-relative paths are allowed (e.g. "/api/invoices"); external URLs are refused. The response body is capped and returned as parsed JSON when possible. Pass `expect` to assert a status and/or a partial body shape in one call. This is for probing/testing — to change behavior, edit server.ts and redeploy. This is the read-only variant: methods GET, HEAD, and OPTIONS only, and it takes no request body.
App request write
GLIDE_MCP_APP_REQUEST_WRITEMake an authenticated HTTP request to THIS project's own app backend (the routes you write in server.ts) and get the response back — use it to verify an endpoint returns what you expect, walk a multi-step flow, or build a test suite against the app you just built. Defaults to the PREVIEW deployment (safe to hammer) and to calling as the current user. Only app-relative paths are allowed (e.g. "/api/invoices"); external URLs are refused. The response body is capped and returned as parsed JSON when possible. Pass `expect` to assert a status and/or a partial body shape in one call. This is for probing/testing — to change behavior, edit server.ts and redeploy. This is the mutating variant: methods POST, PUT, PATCH, and DELETE, with an optional request body.
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 runtime errors
GLIDE_MCP_APP_RUNTIME_ERRORSRead build, client-runtime, and retained server-error history for this project. Read the top-level `verificationStatus` first: it is the canonical, server-authored interpretation of the current preview's build, reachability, and exact-version initial browser mount. `unverified` is inconclusive even when `runtime.text` is empty; `failed` has an actionable current build/runtime failure; `initial_runtime_passed` covers only this bounded initial-runtime scope and does not verify later interactions, visual correctness, or requested UI behavior; `not_applicable` is reserved for correlated checks of headless workflows. `verificationReasons` explains the status. The legacy nested build, deploy, and runtime fields remain as diagnostics. `server.scope` is `recorded_history`; each server row's `versionStatus` says only whether its recorded version is live, superseded, or unknown. A live version does not mean the error is ongoing, and an unchanged `lastSeenMs` and `count` do not prove recurrence. `runtime.stale` and `verificationStatus` do not classify server history. Each server row carries `trigger` — how the platform invoked the app (`fetch`, `rpc:<method>`, `scheduled`, `queue`, `alarm`). Any non-`fetch` trigger means there was no HTTP request: `route` is null for that reason rather than because a path could not be attributed, and the app's `fetch` handler is not on that code path, so changing it cannot affect the error. A `trigger: rpc:run` entry whose message is the runtime's "code had hung" abort is the platform's known false positive for workflow apps (the run() session is flagged after run() has returned); confirm with list_workflow_runs and treat it as actionable only when the matching run is errored. Read-only. Takes no input; runtime context and correlation metadata are supplied server-side. Errors from later user interactions still arrive asynchronously and surface in the next turn's automatic runtime-context block.
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.