Productivity & Projects · Developer Tools · Databases & Storage

Glide MCP

Build, manage, and operate Glide apps, projects, data, and workflows through Glide's hosted MCP server.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Db compute

    Read 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 execute

    Run any SQL statement against the project's Postgres database — SELECT, INSERT, UPDATE, DELETE, or DDL. When creating or materially changing a table or view, also add/update a Postgres relation comment with COMMENT ON TABLE or COMMENT ON VIEW explaining what it stores or queries. The tool is marked destructive because the caller can mutate state; use `dryRun: true` to get the planner output via EXPLAIN without executing. Result sets are capped at 1,000 rows / 256 KB — add a LIMIT or aggregate if a statement returns more.

  • Db get

    Get details for a single project database by name. Returns engine, provisioning state, and Neon project ID. Does not return the connection string — that stays inside the worker.

  • Db health

    Health check for the project database, read-only: compute size and suspend timeout, data size, largest tables, tables read by full scans, dead-row bloat, open connections against the limit, the slowest statements when statistics are available, and every route in this project's apps that has recently failed against the database with its classification and reading. Returns ordered findings; the first ones are what to fix. Call it whenever a database error appears in runtime context or app_runtime_errors, whenever the user reports the app slow or failing, and before saying a database problem is transient.

  • Db ingest data source

    Bulk-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 list

    List the databases provisioned for this project. Each project currently has at most one Neon Postgres database (`project-db`), auto-provisioned on first deploy; the return shape is an array to stay forward-compatible with multi-DB projects.

  • Db list tables

    List all public tables and SQL views in the project's Postgres database (if provisioned), including relation comments plus column schemas or view definitions. Prefer relevant views over raw tables when building read-only screens.

  • Db restore from backup

    Restore the live project database from a G3-managed backup branch. The current state is first preserved as a backup branch.

  • Db restore to point

    Restore the live project database to a timestamp or LSN. The current state is first preserved as a backup branch.

  • Db select

    Run a single read-only statement (`SELECT …` or `WITH … SELECT …`) against the project's Postgres database, inside a `SET TRANSACTION READ ONLY` envelope. Use this for dashboard questions, summaries, comparisons, charts, and analysis that need existing project data. For writes, DDL, or multi-statement SQL, use db_execute. Results are capped at 1,000 rows / 256 KB — add a LIMIT/WHERE, select fewer columns, or aggregate (COUNT/SUM/GROUP BY) to narrow large reads.

  • Delete trigger

    Permanently remove a live integration trigger — the external event stops starting the workflow. The toolkit CONNECTION is untouched (other triggers and action calls keep working). Get the `triggerId` from list_active_triggers. This cannot be undone; to pause temporarily use set_trigger_enabled instead.

  • Delete workflow app trigger

    Delete an app trigger by id (from list_workflow_app_triggers). The app's `workflows(env).start()` call then refuses with trigger_not_found until the app is registered for that workflow again. To only pause it, use set_workflow_app_trigger_enabled with enabled:false instead.

  • Delete workflow data trigger

    Delete a data trigger by id (from list_workflow_data_triggers). Changes to its table stop starting the workflow. To only pause it, use set_workflow_data_trigger_enabled with enabled:false instead.

  • Delete workflow webhook

    Permanently delete a webhook by id (from list_workflow_webhooks). The URL stops working. To only temporarily pause it (keeping the URL), use set_workflow_webhook_enabled with enabled:false instead.

  • Enable trigger

    Make 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(...).

  • File copy

    Copy a file in the project workspace from `source` to `destination` without removing the original.

  • File delete

    Delete a file from the project workspace.

  • File edit

    In-place edit of a workspace file: apply one or more exact replacement entries in a single call. Prefer one file_edit invocation with multiple edits[] entries over several separate file_edit calls when changing the same file. Every edits[] old_string is matched against the original file contents, must identify exactly one non-overlapping region, and is replaced with new_string. Supports multiline edits plus whitespace-tolerant matching when indentation or trailing spaces drift. Fails if the file is missing, if no match is found, if any match is ambiguous, or if edits overlap, and returns structured retry guidance so the caller can recover. Provide a short human-readable label (8 words max) describing what's changing for the chat transcript UI — e.g. "Update navigation labels", "Fix validation bugs". MUST start with a capitalized verb; never a lowercase word or noun-first phrase.

  • File history

    List the mutation history of workspace files — every write, edit, delete, move, and copy, newest first, with a ledger id per entry. Pass `path` for one file's history, `prefix` for a directory subtree, or neither for the whole workspace. Use the returned ids with file_restore (one file) or workspace_restore (point-in-time). Content is never lost on this platform: any prior state listed here can be restored.

  • File inspect

    Inspect a file from the workspace. For images (PNG/JPG/GIF/WEBP/AVIF/HEIC), returns the visual content. For PDFs and text files, returns the extracted text (truncated at 32 KB; when the result is truncated, use `file_read` for a specific line range or `file_search` to grep for the rest instead of re-inspecting). For spreadsheets (XLSX), CSV, or JSON, returns structured data. For ZIP archives, returns the entry listing (names + sizes) only. Other binary files (audio, video, archives, executables, fonts, databases) return `{type: "binary"}` metadata — size and sniffed media type — rather than failing. Use this before working with any attachment — logos, screenshots, mockups, reference photos, PDFs, data files, etc. The tool automatically optimizes images for vision (downscaling, JPEG re-encoding) and detects file types automatically.

PreviousPage 3 / 7Next