Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
QU4ZR_SCOPESNoOAuth scopes for the server. Set to "flows:read flows:write" to make the assistant build-only with no deploy/run access.flows:read flows:write flows:deploy flows:execute
QU4ZR_BASE_URLNoThe qu4zr Management API base URLhttps://api.management.qu4zr.io
QU4ZR_CLIENT_IDYesYour qu4zr API client ID
NODE_USE_SYSTEM_CANoGenerated as 1 for every Windows client; recent Node versions then trust Windows' trusted root certificate store.1
NODE_EXTRA_CA_CERTSNoPath to the root certificate of a proxy that re-signs your traffic.
QU4ZR_CLIENT_SECRETYesYour qu4zr API client secret

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_block_modelA

Returns the qu4zr workspace/block/link schema, the JS runtime notes, this client's version and the platform features it knows about, plus an example. Read this before building.

list_workspacesA

Lists the workspaces the authenticated user can access. Optionally filter by name.

get_workspace_contentC

Returns a workspace's current blocks and links.

list_vault_secretsA

Lists the vault name and secret names available to a workspace's Process blocks — NAMES and metadata (kind, db provider) only, never values. Reference a connection in code as ., e.g. sql.query(MyVault.prodDb, ...). If it's empty, create the vault with create_vault and add secrets with set_vault_secret — no UI step needed.

create_vaultA

Creates the workspace's secret vault, or renames an existing one. The name is the IDENTIFIER block code uses: with name "MyVault", a secret "prodDb" is referenced as MyVault.prodDb. Do this once, then add secrets with set_vault_secret. Renaming an existing vault BREAKS code that references the old name, so it requires confirm=true. Only the workspace OWNER can.

set_vault_secretA

Stores a secret in the workspace's vault. WRITE-ONLY: the value is encrypted server-side and can never be read back — not by this tool, not by block code, not by you. Block code gets an opaque handle . that the server dereferences at the point of use (sql.query, a fetch header, a {{Vault.secret}} URL placeholder, crypto.hmacSha256), and logs show ***. kind:"string" for a token/password/API key; kind:"connection" for a database connection string, which also needs provider (postgres|sqlserver|oracle|mysql|sqlite). Requires confirm=true. NEVER invent a secret value — ask the user for it. Create the vault first with create_vault. Only the workspace OWNER can.

get_workspace_dataA

Reads the per-workspace key-value store — the same data blocks read/write via the store global. Give a key to fetch one entry, or omit it to LIST entries (optionally filtered by prefix, paged with limit + after). Values are JSON. Read-only. Pass keysOnly:true when you are deciding WHICH keys to act on — you get key, size and timestamps without the values, which is usually a fraction of the reply and tells you everything a cleanup or an audit needs.

set_workspace_dataB

Creates or replaces one entry in the per-workspace key-value store. value is any JSON. Optional ttlSeconds expires it. This is live runtime data — NOT versioned with the workspace's grid commits.

delete_workspace_dataA

Permanently deletes from the per-workspace key-value store. Pass exactly ONE of: key (one entry), keys (a NAMED list — up to 100 in a single call, and the right tool for cleaning up your own entries while leaving everything else alone), or prefix (EVERY entry under it, e.g. prefix:"chunk:" clears chunk:0…chunk:99 — for a dataset you own outright). Prefer keys over prefix whenever the store also holds entries you did not create: a prefix that looks like yours can match somebody else's. An empty prefix is refused. Requires confirm=true — call without confirm first to preview.

describe_databaseA

Whether this workspace has its own SQL database, and how much of its allowance is used. Ask before building anything that needs one. included:false means the owner's plan has no database — that is an answer, not an error and not something to retry: say so and use the key-value store (get/set_workspace_data) instead. exists:false with included:true just means nothing has been written yet.

query_databaseA

Runs a READ against the workspace's own SQLite database — the same one blocks reach as db.query(...). The connection cannot write, so a statement that turns out to change something is refused rather than run; use execute_sql for that.

To see what exists: SELECT name FROM sqlite_master WHERE type = 'table' SELECT name, type, pk FROM pragma_table_info('tasks')

Note the second one: PRAGMA table_info(...) counts as a write on this connection, while the pragma_table_info(...) function is an ordinary read and answers the same question. Parameters are @name or :name — never concatenate a value into SQL.

execute_sqlA

Changes the workspace's own SQLite database: CREATE TABLE, ALTER, INSERT, UPDATE, DELETE, CREATE INDEX. Use query_database for anything that only reads.

There is no undo. A restore point reverts blocks, links and files — never rows — so a DROP or a DELETE here is permanent. Requires confirm:true; call without it first to preview.

Schema meant for a block should be idempotent, because the block runs before anybody has set anything up and a FORK of the workspace starts with an EMPTY database (the code is copied, the rows never are): CREATE TABLE IF NOT EXISTS tasks (id INTEGER PRIMARY KEY, title TEXT NOT NULL).

LOADING MANY ROWS: one statement per batch, the rows passed as ONE JSON parameter and unpacked by json_each — never one INSERT per row. Measured 2026-10-24: 36 262 rows in batches of 4 000 at ~2 s a batch. sql: INSERT INTO place (code, name, lat, lon) SELECT j.value->>'$.code', j.value->>'$.name', j.value->>'$.lat', j.value->>'$.lon' FROM json_each(@rows) AS j params: { rows: "[{"code":"75056","name":"Paris","lat":48.86,"lon":2.35}, …]" } (a JSON STRING) Make a reload idempotent (INSERT OR REPLACE, or DELETE then INSERT) so a batch that failed can simply be sent again.

create_workspaceB

Creates a new, empty workspace with the given name. Returns the new workspace (incl. its id).

set_workspace_contentA

REPLACES a workspace's blocks and links (it is not an append). This is how you build it. Call get_block_model first. To ADD to a workspace that already has content, you MUST first get_workspace_content, then send back the existing blocks+links PLUS your new ones (re-use the existing ids and signalRGuid/handlerCode it returns — they round-trip losslessly) so you don't wipe the user's existing flows. Omit block ids to have the server assign them; leave positions at 0 for auto-layout. Returns the canonical stored content. files are workspace code files a Process block can import "utils.js"; — OMIT to keep existing files, send an array (even []) to REPLACE them (get_workspace_content returns them for a lossless round-trip). zones are the named areas drawn behind the blocks; same rule (omit=keep, []=clear). See ZONES in get_block_model.

add_to_workspaceA

APPENDS a self-contained flow (new blocks + links among them) to a workspace WITHOUT touching its existing blocks — the SAFE way to add to a workspace that already has content. Unlike set_workspace_content it cannot wipe existing flows and needs no read-modify-write: the server assigns fresh non-colliding ids and lays the new flow out below the existing blocks. Links here may only connect your NEW blocks to each other; to wire INTO an existing block, use get_workspace_content + set_workspace_content instead. Returns the added blocks with their assigned ids + signalRGuid. zones adds new canvas areas alongside the flow; an id that already exists is kept as it is, so appending cannot redefine somebody else's zone either.

infer_zonesA

Reads a workspace's paths, static files and block types, groups its flows into labelled areas and LAYS THE BLOCKS OUT inside them. For a workspace built before zones existed — otherwise the biggest applications, the ones with the most to gain, stay the ones that look the most disorganised. It MOVES blocks, which is the point; nothing else changes (no block is created, deleted or edited, the links and code files are untouched), and every zone it produces is an ordinary one the user can rename, recolour or delete. Requires confirm=true — call without it first to see what it proposes. For a workspace you are BUILDING, pass zones to set_workspace_content/add_to_workspace instead: you know what the areas are, this has to guess.

update_blockA

Changes ONE block in place. THIS is how you fix a block — do NOT re-send the whole workspace with set_workspace_content to edit one field, and do NOT append a 'v2' block next to a broken one. Send only the fields you're changing: everything else on the block, all other blocks, the links, the code files, the camera and the hand-placed layout are untouched. Send "" to clear a field. Get the blockId from get_workspace_content. Returns the block as it now stands.

delete_blockA

Permanently deletes ONE block and every link touching it, leaving the rest of the workspace alone — use it to clean up orphaned or superseded blocks. Requires confirm=true; call without confirm first to preview. A deployed endpoint bound to this block is NOT removed (delete it with delete_endpoint), and an on-prem runner behind a SignalR block is left provisioned.

list_schedulesA

Shows every schedule on a workspace: what it fires, its cron and timezone, when it next runs, how the last run went, and why it is paused if it is. Check here before creating one — a second schedule on the same block is two jobs, not an edit.

READ canvasAheadOfPin FIRST when a schedule looks broken. A schedule runs the COMMITTED version it was pinned to, while deployed endpoints serve the live canvas — so one block can answer new code over HTTP while the cron beside it still runs the old one. When canvasAheadOfPin is true, canvasDrift lists exactly what differs; the symptom is reported as "the cron does nothing" about a cron that is firing perfectly. The fix is commit_workspace_version and then a schedule pinned to the new version — editing the block changes nothing on its own.

lastStatus is ONE outcome, not a history. Use list_schedule_runs before concluding anything about whether a schedule fires.

list_schedule_runsA

Every recent firing of one schedule, newest first: when it started, how long it took, whether it succeeded, and what HTTP status the execution returned.

THIS is how you answer "did the cron actually run". list_schedules carries only the LAST outcome, and block execution logs exist only for blocks with logging switched on — so a healthy schedule with logging off leaves no trace anywhere else and looks exactly like one that never fired. Check here before touching the cron, the block or the version: the usual finding is that it ran fine every time and the real problem is elsewhere (start with canvasAheadOfPin on list_schedules).

httpStatus separates the failures a user can act on: 429 is a quota they can raise, 503 is the platform's problem, 500 is their code.

create_scheduleA

Starts firing a Schedule block on a cron, unattended. THIS is what makes a schedule real — setting schedule on the block only records the cadence in the workspace's content. Requires confirm=true; call without confirm first to preview. It pins the latest COMMITTED version (commit first if there isn't one — the error says so), and the plan decides the fastest allowed cadence: a free workspace is one schedule, hourly. On a free plan the firing time is offset by a fixed number of seconds so every workspace doesn't fire at once — the reply reports it, so quote the real time back to the user.

PINNING IS FROZEN, and that is the opposite of how deploy_endpoint behaves: an endpoint serves the live auto-save and picks up every edit at once, a schedule keeps running its commit. So editing a block the schedule fires changes nothing about tonight's run — that takes a new commit and a schedule pinned to it. Say this to the user when you create one; list_schedules reports canvasAheadOfPin once the two have parted company.

pause_scheduleA

Stops a schedule firing, keeping it and its history. No confirmation needed: stopping a runaway job should never be the harder thing to do. Use resume_schedule to start it again.

resume_scheduleA

Starts a paused schedule again and clears its failure count. Requires confirm=true — this is the moment code begins running unattended again. If it was auto-paused (five consecutive failures, or an exhausted quota), fix the cause first: resuming a broken job just burns the quota again and re-pauses it.

update_scheduleA

A schedule runs the COMMIT it was created on, not the canvas — so after you change and commit the workflow, the schedule keeps running the old code. This repins it onto another commit (the latest one when versionId is omitted) without touching its cron, jitter, run history or whether it is enabled: no more delete-and-recreate. The auto-save cannot be pinned (commit first). Requires confirm=true: it changes which code runs unattended.

delete_scheduleA

Permanently removes a schedule and its history. The block stays; only the firing goes. Requires confirm=true; call without confirm first to preview. To stop it temporarily, pause_schedule keeps the history.

list_filesA

Lists the workspace's code files with their sizes — names only, no content. Use it to see what exists before reading or writing one, instead of pulling the whole workspace to find out.

read_fileA

Returns ONE code file's content. Names are case-sensitive. Cheaper and safer than get_workspace_content when you only need a file — and you must read a file before rewriting it, since write_file replaces the whole thing.

write_fileA

THIS is how you edit a workspace code file — a page, a stylesheet, a helper library. Creates it if it doesn't exist. Do NOT re-send the whole workspace with set_workspace_content to change one file: everything else (blocks, links, other files, the camera, the layout) stays untouched here, and re-emitting files you didn't mean to change is how one of them gets silently corrupted. content is the FULL new content, so this is the tool for CREATING a file or replacing one outright — to change part of a file that already exists, use edit_file instead. Names are case-sensitive; a name differing only in case from an existing file is rejected (rename = write the new name, then delete_file the old one). Writing an HTML PAGE also returns what a findable page is still missing (title, description, canonical, lang…) — advisory only, the file is written either way; see get_block_model's PUBLISHING A SITE.

edit_fileA

Replaces ONE passage inside a file that already exists, leaving every other byte alone — the tool to reach for whenever you are modifying rather than creating. write_file takes the FULL content, so using it to change a heading on an 80 KB page means reproducing 80 KB exactly, and one character wrong in that reproduction is a corruption that surfaces when a visitor loads the page, not when the tool returns. oldString must match the file exactly (whitespace included) and appear ONCE — include a line above and below to make it unique, or pass replaceAll. newString may be empty to delete the passage. The read-modify-write happens server-side in one request, so two edits cannot interleave. Nothing is saved if the result would not parse. The reply carries the file's sha256, so you can prove what the server now holds.

sync_filesA

Writes MANY code files in ONE request — a whole site, from a list or straight from a folder on this machine (localDir; fonts and images are read as base64, hidden and build folders skipped). Use it instead of a write_file per file: one save, all or nothing, and every file carries a sha256 computed here that the server checks before storing anything, so a corrupted transfer stores none. Byte-identical files are reported unchanged and not rewritten. prefix puts local files under a workspace folder ("public" → public/index.html). deleteMissing removes workspace files the batch does not contain — only under prefix when one is given — and needs confirm:true.

delete_fileA

Permanently deletes ONE code file. Requires confirm=true; call without confirm first to preview. The reply lists the blocks and files that still import it — those are now broken references, which is not cascaded for you: only the author can decide what should replace them.

validate_blocksA

Parses block code and code files and reports syntax errors WITHOUT touching any workspace — no workspaceId, nothing written, nothing to undo if it fails. Use it freely while drafting or fixing a block instead of discovering a typo from a rejected write. Returns { valid, checkedBlocks, checkedFiles, diagnostics[] } with the line and column of each problem. Note import "utils.js"; / import "zod@4.4.3"; lines are valid and are NOT errors.

audit_seoA

Reads HTML pages for what decides whether anyone finds them — title, meta description, canonical, lang, viewport, Open Graph, one , alt text, JSON-LD — WITHOUT touching any workspace. This is the server's audit, so it is the authority: the note attached to write_file is a local subset of the same rules. Pass baseUrl — the domain's own baseUrl from list_domains (e.g. https://marceau.qu4zr.com/), the same base the pages' canonicals use — to also get the checks a single page cannot make about itself — a canonical pointing outside the site, a hand-written sitemap listing URLs it does not own. Auditing several pages at once adds the cross-page ones: two pages sharing a title or a description. Returns { ready, checkedPages, errors, warnings, findings[] } where each finding has a stable code. ready means no error-level findings — warnings are advice, not breakage. Read it after building a site, and re-run it after fixing.

get_app_analyticsA

Reads the product events a workspace's app records with analytics.track — as aggregates only: totals and distinct actors per event, per-day counts, actors who did something N+ times, counts by a property value, and retention cohorts (day 1/7/30). Never a list of who did what. The request has the same shape as analytics.report() in a block. Use it to answer 'how many people arrived / signed up / came back after 7 days' without writing a dashboard first.

get_site_visitorsA

Real people on the caller's own hosted sites, per day — the platform's visitor count, with crawlers, cloud servers and the operator left out (a visitor is a browser that ran one of the site's scripts). For each day: visitors, returning visitors (seen in the 30 days before), where they came from (google, search, social, ai assistants, qu4zr sites, other links, direct), and every request vs. bot requests. Also the totals for the window and for the same-length window just before it. Without domainId: every site of the caller, busiest first, totals and a per-day trend — the place to start a traffic report. With domainId: that site day by day. Works whether or not the app records analytics.track events. Counted per site and per day (one person on three days = three); refreshed every few hours, so today is marked partial. Days default 30, up to 400.

get_site_trafficA

Every request to one of the caller's sites over the last days, summed from the platform's request journal: per day requests, bot requests, 4xx and 5xx; the crawlers by name (Googlebot, Amazonbot, GPTBot, SemrushBot, scripts…) with their request counts; the busiest endpoints (offre/{slug}) and the busiest exact paths, each with its bot share and errors; status codes; cache hits and average duration. Use it to see which robots cost the most, which pages they crawl, and whether a block (robots.txt, a 403 by user agent) took effect. Bots = flagged when recorded, no browser user agent, or one naming a crawler or a tool. Aggregates only: no address, account or full user agent. Days default 7, up to 30.

set_app_listingA

Asks for a domain's site to appear at qu4zr.com/apps (with its own page at qu4zr.com/apps/{slug}). The listing starts PENDING: an operator approves it, and any later edit sends it back for review. Only for a real, working site the user wants strangers to find — confirm with them first, and write the title/tagline as a user would search for it. Categories: developer-tools, productivity, business, education, health-fitness, lifestyle, entertainment, utilities. Pass withdraw:true to take it out. Omit everything but domainId to read the current listing.

commit_workspace_versionC

Snapshots the workspace's current content as a named version.

delete_workspaceA

Permanently deletes a workspace and its content. Requires confirm=true — first call WITHOUT confirm to preview, show the user, then call again with confirm:true.

list_endpointsA

Lists the HTTP endpoints currently deployed for a workspace's current version. includeArchived:true adds pathVersions to each: every version of that path on its domain, including the disabled copies each commit archives (ids, labels, isMain) — what blocks deleting a main endpoint. Domain owner only (null otherwise).

toggle_endpointA

Flips a deployed endpoint's enabled/disabled state (list_endpoints shows the current isEnabled). A disabled endpoint stops serving live traffic but keeps its configuration, so toggling it back on restores it. Powerful: requires confirm=true — first call WITHOUT confirm to preview, then again with confirm:true.

update_endpointA

Updates a deployed endpoint's config in place — isMain, isEnabled, allowedVerbs, detailedOutput, isAnonymous, authMode, requiredScopes and/or notes — without a full redeploy. Only the fields you pass are changed; omit the rest. authMode decides who may call it: anonymous, apiKey, user (a visitor signed in to the site), jwt (a token from one of the domain's API clients — create_domain_client — or a trusted issuer — set_trusted_issuer), apiKeyOrJwt. Powerful (can change security posture, e.g. isAnonymous, or take live traffic down via allowedVerbs/isEnabled): requires confirm=true — first call WITHOUT confirm to preview the exact changes, then again with confirm:true.

delete_endpointA

Permanently un-deploys an endpoint — its URL stops resolving and its configuration is removed (unlike toggle_endpoint, this cannot be undone by re-enabling it; deploy_endpoint would be needed to publish it again). Requires confirm=true — first call WITHOUT confirm to preview, then again with confirm:true. A MAIN endpoint whose path still has other versions (the archived, disabled copies each commit leaves — list_endpoints includeArchived shows them) is refused unless withArchived:true, which removes the whole path on that domain in one call (domain owner only). That is how a site moves to another domain: delete withArchived, redeploy.

list_domainsA

Lists the API domains you can deploy endpoints into (id, name, slug, baseUrl). Use the returned id as deploy_endpoint's domainId. Pass workspaceId to list the domains usable for a specific workspace (e.g. a shared one — the owner's domains). If empty, create one with create_domain — no UI step needed.

create_domainA

Creates an API domain — the namespace your deployed endpoints live under. Its slug becomes the first path segment of every endpoint in it: https://api.qu4zr.io/{slug}/{path} — and, where site hosts are enabled, the HOSTNAME a site is served at (https://{slug}.{zone}/), so it is a public, permanent, brandable name and not an internal id. The reply carries the domain's baseUrl; use that as the canonical base for its pages rather than assembling a URL. Do this BEFORE deploy_endpoint, then pass the returned id as deploy_endpoint's domainId. The slug is GLOBALLY unique across all users and is effectively permanent once endpoints are deployed and callers depend on the URL, so it requires confirm=true — call without confirm first to preview, and let the user pick the slug rather than choosing a memorable one yourself. Omit slug to derive it from name.

list_domain_api_keysA

Lists the API keys on a domain (id, name, MASKED key, createdAt, expiresAt, isActive, lastUsedAt) — the plaintext key is never shown here, only at create/rotate time. Use create_domain_api_key to get one a caller can actually use against a non-anonymous endpoint.

create_domain_api_keyA

Mints a new API key on a domain — the credential callers pass as Authorization: Bearer (or ?code=) to call a non-anonymous endpoint deployed in that domain. The response's plaintext apiKey is shown EXACTLY ONCE and can never be retrieved again — surface it to the user immediately and tell them to copy it now. Powerful: requires confirm=true — first call WITHOUT confirm to preview, then again with confirm:true.

update_domain_api_keyA

Updates a domain API key's name, active state, and/or expiry in place — never changes the key value itself (use rotate_domain_api_key for that). Only the fields you pass are changed. Requires confirm=true — first call WITHOUT confirm to preview the exact changes, then again with confirm:true.

delete_domain_api_keyA

Permanently deletes a domain API key — any caller using it starts getting 401s immediately. This cannot be undone (unlike update_domain_api_key's isActive:false, which is reversible). Requires confirm=true — first call WITHOUT confirm to preview, then again with confirm:true.

rotate_domain_api_keyA

Issues a brand-new key value for an existing domain API key slot and retires the old value — use this for a compromised or routinely-expiring key without having to update every caller's key id. By default the old key is deactivated immediately; pass keepOldKeyActive:true (with an optional gracePeriodMinutes) to let both work for a transition window. The response's new plaintext apiKey is shown EXACTLY ONCE — surface it to the user immediately. Requires confirm=true — first call WITHOUT confirm to preview, then again with confirm:true.

list_domain_clientsA

Lists the API clients of a domain — machine callers that exchange a client id + secret for a short-lived token (OAuth 2 client_credentials) accepted by the domain's jwt / apiKeyOrJwt endpoints — with the token URL, the JWKS and discovery URLs, the limits and the signing keys. Never a secret.

create_domain_clientA

Creates an API client on a domain. The reply's clientSecret is shown EXACTLY ONCE — surface it to the user immediately — with the token URL and a ready-to-run curl. A caller then POSTs grant_type=client_credentials to that URL and sends the token as Authorization: Bearer to an endpoint whose authMode is jwt or apiKeyOrJwt (update_endpoint). Requires confirm=true — call WITHOUT confirm first to preview.

update_domain_clientA

Changes a client's name, scopes, token lifetime, rate limit or active state. active:false refuses its tokens from the next request and is reversible. Never changes the secret (rotate_domain_client_secret). Requires confirm=true.

rotate_domain_client_secretA

Issues a new secret; the old one and every token it bought stop working at once. The new clientSecret is shown EXACTLY ONCE. For a leaked secret. Requires confirm=true.

revoke_domain_client_tokensA

Refuses every token issued so far to a client, from the next request. The secret keeps working. Requires confirm=true.

delete_domain_clientA

Permanently deletes a client; its tokens are refused from the next request. update_domain_client active:false is the reversible way. Requires confirm=true.

rotate_domain_signing_keyA

Creates a new key for signing the domain's tokens. The previous key keeps verifying until the tokens it signed expire, so nothing valid is cut off. For a key believed stolen: rotate, then revoke each client's tokens. Requires confirm=true.

list_trusted_issuersA

Lists the external identity providers (Auth0, Okta, Entra, Cognito, Firebase, Keycloak…) whose tokens the domain's jwt / apiKeyOrJwt endpoints accept, with the accepted scope claims and algorithms.

set_trusted_issuerA

Makes the domain's jwt / apiKeyOrJwt endpoints accept tokens from an identity provider, or replaces the issuer of that name. issuer must be the exact iss the provider puts in tokens (Auth0's ends with "/", Entra's does not). audience is REQUIRED — the provider signs every app's tokens with the same keys. kind "jwks" (default) verifies RS/PS/ES against published keys; kind "hs256" verifies HS256 against a shared secret (Supabase's JWT secret, aud "authenticated") passed as secret — write-only, omit it to keep the stored one. The block then sees request.auth.issuer (the name) and request.auth.subject. Check it with check_trusted_issuer. Requires confirm=true.

delete_trusted_issuerA

Removes a trusted issuer; its tokens are refused from the next request. Requires confirm=true.

check_trusted_issuerA

Without a token: fetches the issuer's keys now and says whether it is reachable and how many usable keys it publishes. With a token: runs it through exactly the gateway's check and says which check fails (token.audience_mismatch, token.expired…) or what a block would see as request.auth. The caller of an endpoint is only ever told invalid_token; this is where the reason is.

deploy_endpointA

Publishes a workspace's block as a live HTTP API endpoint — or a page of a site — in the given domain. Powerful: requires confirm=true — first call WITHOUT confirm to preview, then again with confirm:true. Anything meant to be publicly reachable needs isAnonymous:true.

An endpoint serves the workspace AUTO-SAVE — the canvas, live — under the version label "head". Editing a block changes what the URL answers immediately: no redeploy, and committing does not freeze it. That is the OPPOSITE of create_schedule, which pins a committed version and keeps running it, so one block can serve new code over HTTP while a cron on the same block still runs the old one. Name which of the two you mean whenever a user asks why a change "did not take". (commit_workspace_version does archive a copy of each deployed path at its own version label, but those copies are created disabled — nothing changes at the live URL.)

call_endpointA

Makes a REAL HTTP request to a deployed endpoint — the same request a browser or a customer makes — and reports the status, content type and body. This is the ONLY check that goes through the live URL: the deployment, the path, the allowed verbs and the API key are all exercised, and none of them are visible to test_block or execute_workspace, which talk to the sandbox directly. Run it as the last step of anything with a URL in it, and FIRST when a page's own calls are failing: a 404 here means nothing is deployed at that path (setting endpointPath on a block publishes nothing — deploy_endpoint does), while a 500 means the block behind it threw. Name the domain and the path; the URL is built from that domain's own baseUrl, so there is no address to pass and no way to test a URL that is not the one your users were given. The request really runs the block and counts as one API call.

execute_workspaceA

Executes a workspace starting at the given block (server-side). Powerful: requires confirm=true — first call WITHOUT confirm to preview, then again with confirm:true.

test_blockA

Runs ONE saved block in isolation with sample input (the rest of the flow does NOT run) and returns its output — or, on error, a 400 whose details carry the JS/sandbox error. Use it to test a Process block and self-correct BEFORE deploying. input is the upstream value the block reads as input; request simulates an API Endpoint flow's request global. The block's code really runs (may make HTTP/SQL calls), so it needs flows:execute. Save the block first (set_workspace_content), then test by its blockId. PASS dryRun:true WHILE ITERATING: the block still runs on the real engine, but fetch and sql.query are answered from stubs and reach NOTHING — no third-party API calls burned, no writes to a real database. The reply's dryRun report lists every URL and query the block would have hit, which is also how you discover what it actually talks to. Supply dryRunHttp/dryRunSql to control the canned answers; unstubbed calls get an empty 200 / no rows. Drop dryRun for a final real test before deploying. The reply carries a usage block (statements, limitStatements, durationMs, fetches, storeOps) — SIZE YOUR BATCHES FROM IT instead of guessing: if a run uses a small fraction of the statement budget, do more work per call rather than paying for extra round-trips.

test_runner_handlerA

Pushes a SignalR (on-prem) block's C# handler + sample input to the user's runner — which must be running in TEST MODE (dotnet run -- --test) — and returns its output. The on-prem twin of test_block: use it to iterate on a handler before the user bakes it into a download. signalRBlockId is the block's guid (the signalRGuid from get_workspace_content). Omit handlerCode to run the saved handler. Times out if the runner isn't in test mode — if so, tell the user to start it with --test.

setup_runnerA

Stands the on-prem runner up ON THIS MACHINE for a SignalR block, end-to-end: downloads the ready-to-run project (the handler baked in), validates its integrity manifest, preserves machine-local settings, writes it to ~/.qu4zr/runners//, builds it with dotnet, then onboards + launches it in TEST MODE in the background. Failures identify integrity, local config, SDK, generated plumbing, handler, or generic build stages. Once it's up, call test_runner_handler to verify/iterate, then deploy_endpoint to publish. REQUIRES confirm:true — it runs UNSANDBOXED AI-written C# on the user's machine. Needs the .NET SDK ('dotnet') installed. Show the user Handler.cs (returned) so they can review what will run. Pass installService:true to instead install it as an always-on OS service (survives reboots) — this triggers an admin/UAC prompt the USER must approve; suggest it once the endpoint is verified + deployed.

list_runner_devicesB

Lists independently enrolled devices, with connected=true/false for live presence or null when the Executor is unavailable, plus revoked and last-connected state.

list_runner_clientsB

Lists the dashboard-owned Developer Runner separately from Consumer App Runners. Use this instead of inferring runner kind from a missing or present device id.

get_consumer_runner_downloadA

Returns the direct HTTPS .exe URL an application must show to its end users. The executable contains no credential: downloading creates no device, and identity is created only after the application authenticates the user and claims pairing. When building a consumer application, put this URL in its UI and verify the artifact is available before calling the app complete. If the reply carries unsignedWarning, that warning belongs on the page beside the link.

release_runner_handlerA

Compiles the block's CURRENT handler into the executable its end users download, and makes that the published installer. This is what gives a consumer application a working download link: without a release there is no artifact and no link. The build runs out of process and takes a few minutes — poll get_runner_release_status, or get_consumer_runner_download, until it reports published. Requires confirm:true: it distributes an executable to other people.

get_runner_release_statusB

Reports the published release, any build in flight, the last failure and whether the block's handler has been edited since it was released (drift). A failed build reports the author's own compiler error. drift: null means nothing has ever been released, which is not the same as being up to date.

get_runner_artifact_statusA

Checks whether an immutable consumer runner is published for a SignalR block and platform, including its version and signature level. This does not build, publish, or download anything.

claim_runner_pairingA

Claims a short-lived pairingId created by a generic consumer runner and binds it to one SignalR block. Use this for integration testing or an explicitly requested manual pairing. In production the application's authenticated BACKEND must call the same Management API route after mapping its own user to the device; never put the Management credential in browser code. The pairingId expires and is single-claim.

execute_runner_deviceC

Targets exactly one device. The application backend must resolve deviceId from its authenticated user mapping; never accept an arbitrary browser-supplied device id as authorization.

rename_runner_deviceB

Changes the owner-visible name of one enrolled device without changing its identity, credentials, or connection.

revoke_runner_deviceB

Revokes only the selected device. Requires confirm:true and does not affect other users' runners.

revoke_all_consumer_runnersA

Revokes and disconnects every Consumer App Runner enrolled on the block. The Developer Runner is deliberately unaffected. Requires confirm:true.

revoke_developer_runnerA

Revokes the dashboard-owned Developer Runner and disconnects it immediately. Consumer App Runners are deliberately unaffected. Requires confirm:true.

get_logsB

Returns recent execution (call) logs for a block in a workspace. Each entry carries a usage block (statements, durationMs, fetches, storeOps) for the execution it belongs to — so you can see what a real gateway hit cost, not just your own test runs, and size batching from production behaviour. Entries logged before usage tracking existed simply have no usage.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 80 tools

Disambiguation3/5

Runner tools and analytics tools also have close boundaries (list_schedules vs list_schedule_runs, get_site_visitors vs get_site_traffic vs get_app_analytics), but these are mostly clarified in the text.

Naming Consistency4/5

Almost all tools use snake_case verb_noun patterns (get_workspace_content, create_schedule, delete_endpoint, rotate_domain_api_key). A few are noun-heavy or less predictable (release_runner_handler, test_runner_handler, setup_runner, claim_runner_pairing), but the convention remains readable and consistent overall.

Tool Count1/5

80 tools is far beyond a reasonable set for any single MCP server; it forces agents to choose among many similarly named tools and increases the chance of misselection. While the platform covers many subdomains, this surface is extreme and should be split or narrowed.

Completeness4/5

Coverage is broad: workspaces, blocks, schedules, endpoints, files, vault, key-value store, SQL database, domains, API keys/clients, trusted issuers, runners, analytics, SEO, and listing. Minor gaps exist (e.g. no explicit delete/rotate for vault secrets, though create/list/set are present).