Skip to main content
Glama

create_backend

Give this project a real Python backend, served at /app on its own site -- so it can have a genuine LOGIN and admin area.

Reach for this when the user wants something a static page cannot do: a password-protected page, an admin panel listing their form submissions, per-visitor state, anything needing a session. A client-side password is not a login and must never be offered as one.

You get a working starter app (login + an admin page listing the project's submissions) and an admin password to hand the owner. Tell them to save it -- but it is NOT lost if they do not: calling create_backend again on the same project returns the SAME password and does not reset the app or its data, so never tell an owner to delete a backend to regain access. From there, edit it with write_backend_file, inspect it with read_backend_file / list_backend_files, and debug it with read_backend_logs.

/app is served on the SITE's own hostname, so it exists only on the PUBLISHED site (and any custom domain) -- the editor preview origin resolves projects differently and has no /app. A fetch to /app/... that fails on a preview URL is not a broken backend; publish and try there before reporting a fault.

The backend is Python/Flask ONLY, runs sandboxed with no internet access, and reaches this project's submissions through the provided helper (from orivox import collections, state_path). Requires a plan that includes backends; if it does not, say so plainly and offer the data-collection form instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
collectionNosignups
project_guidYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden and delivers extensively: re-calling returns the SAME password and does not reset data, /app exists only on the published site and not the preview origin, the backend is Python/Flask ONLY and sandboxed with no internet, and it requires a plan that includes backends. These are precisely the behavioral traits that prevent an agent from giving users destructive or false advice.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is long, but nearly every sentence earns its place: purpose, trigger conditions, idempotency warning, deployment quirk, tech constraints, and plan gating are all decision-relevant. It loses a point for being a single dense wall of text rather than structured sections, which would improve scannability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a high-complexity tool with no annotations, the description covers all operational dimensions an agent needs before calling: outcome, prerequisites (plan requirement), failure handling ('say so plainly and offer the data-collection form'), environment behavior (published vs preview), and follow-up tool routing. An output schema exists so return-value documentation is already covered.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate. It contextualizes both parameters implicitly — project_guid via 'same project' in the idempotency note, and collection via the 'from orivox import collections' helper and the mention of the admin page listing submissions — but never explicitly defines what the `collection` parameter controls or what values it accepts. The context helps an agent guess correctly, but the mapping is left implicit.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb-resource statement: 'Give this project a real Python backend, served at /app on its own site — so it can have a genuine LOGIN and admin area.' It clearly distinguishes the tool from siblings like create_database and build_site by anchoring on authentication and admin capabilities a static page cannot provide.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit trigger conditions are given: 'Reach for this when the user wants something a static page cannot do: a password-protected page, an admin panel... anything needing a session.' It also names an exclusion ('A client-side password is not a login and must never be offered as one') and routes to related siblings for follow-up work (write_backend_file, read_backend_file, list_backend_files, read_backend_logs).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.8/5.0
Disambiguation4/5

Most tools pair a distinct action with a distinct resource and long descriptions make intent clear. Still, `search_domains` already provides exact-domain checks, overlapping with `check_domain`, and the `create_project` vs `create_new_site` vs `create_page` cluster takes careful reading.

Naming Consistency5/5

The vast majority are snake_case verb_noun: list_projects, create_project, delete_page, get_preview_url, write_asset, query_database, publish_website. The only visible outlier is whoami, but it is standard enough that it does not disrupt predictability.

Tool Count2/5

At 36 tools this is meaningfully heavier than the rubric's 'too many' threshold, even though the scope spans websites, backends, domains, gallery images, and databases. It makes selection harder and a sizeable portion of the surface is niche or lifecycle internal.

Completeness4/5

The core site lifecycle is well covered: project, htmlmanag, assets, preview/publish, validation, deletion, uploaded images, backend files/logs, database reading, domain search and purchase linking. Workable non-critical gaps exist, e.g. no separate project metadata rename and no direct way to delete database rows or a database outside of deleting the project.

Resources