Skip to main content
Glama

set_backend

Idempotent

(needs account token) Link an HTTPS backend (Railway, Render, Fly, anywhere) behind a DropTheHassle name. With uploaded files the path rules (default /api/*) reverse-proxy to the backend and the rest stays static; without uploaded files the WHOLE site serves from the backend. WITHOUT site_id it creates a fresh FREE site first: a backend-only project goes live on its own link in one call. Perfect for a deploy script: call this with the new URL after every backend deploy. Pass url="" (with site_id) to unlink. No money. Never buy anything without asking me. Never buy a domain, email or subscription for me without asking first. When something costs money, give me the payment link and let me pay.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe HTTPS origin of the backend, e.g. "https://myapp.up.railway.app". Empty string (with site_id) unlinks.
slugNoOptional address label for a NEW site, e.g. "myapp" -> myapp.dropthehassle.app. Errors when taken.
pathsNoOptional path rules for split mode, e.g. ["/api/*", "/webhooks/*"]. Default ["/api/*"].
site_idNoOptional: an existing site to link (from list_sites). Omit to create a new free site served fully from the backend.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only cover the safety profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false, openWorldHint=true). The description adds real state semantics beyond them: with uploaded files only /api/* (or supplied paths) is proxied and the rest stays static; without uploaded files the whole site serves from the backend; omitting site_id creates a new site. The trailing money warnings are off-topic for this tool but do not contradict the annotations.

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

Conciseness3/5

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

The first sentences are well front-loaded around the core behavior, but the block is dense and ends with four sentences of generic payment policy that have nothing to do with this tool and dilute the signal.

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

Completeness4/5

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

For a tool that can either create or link a site and switch between split and full serving, the description covers the decision-relevant modes and the unlink path; the only gap is what is returned (e.g. the new link), which is partially implied by 'goes live on its own link in one call' and there is no output schema requiring it.

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 100% and the schema descriptions already state the url="" unlink behavior, the slug format, the paths default, and the site_id omission semantics, so the description mostly repeats structured data. Baseline 3 applies when the schema does the heavy lifting.

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?

States a specific verb and resource (link an HTTPS backend behind a DropTheHassle name) and enumerates the two serving modes, which clearly separates it from siblings like deploy_site and point_domain. An agent can tell what this does without opening the schema.

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?

Gives explicit when-to-use guidance: call it with the new URL after every backend deploy, omit site_id to create a fresh free site, and pass url="" with site_id to unlink. Includes an explicit when-not/alternative condition (unlink vs link) rather than leaving it to inference.

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.