Skip to main content
Glama

Create upstream

create_upstream

Creates an upstream: the app that custom domains forward traffic to. Requires an active subscription.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "host": "<host>"
    },
    "name": "create_upstream"
  }
}

Input Schema

NameRequiredDescriptionDefault
tlsNoWhether the proxy connects to your app over TLS. Defaults to true. Set false with port 80 for plain HTTP.
hostYesHost of your app, for example `app.mysaas.com`. Can't be a wildcard or used by another upstream.
portNoPort your app listens on. Defaults to 443.
accountNoAccount name or UUID. Can be left out when you only have one account.
bubble_ioNoWhether the app is a Bubble.io app. Defaults to false.
geocoding_enabledNoAdd geolocation headers (`X-SaaS-GeoIp-*`) to forwarded requests. Defaults to false.
compression_enabledNoCompress responses over 512 bytes with gzip or zstd. Defaults to true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-idempotent, non-destructive, closed-world write, so the safety profile is covered. The description adds the subscription prerequisite, but says nothing about conflicting hosts, failure modes, or repeat-call behavior — gaps that matter for a non-idempotent creation tool.

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

Conciseness5/5

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

Two short sentences, zero filler, with the core identity of the resource front-loaded before the prerequisite. Nothing could be removed without losing information.

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?

With all seven parameters fully documented in the schema and annotations covering the safety profile, the description's remaining burden is small and mostly met by the concept definition plus the subscription prerequisite. Only conflict handling and return shape are unaddressed, and no output schema exists to cover the latter.

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 description coverage is 100%, with defaults and constraints (port range, host uniqueness) documented inline, so the schema does the heavy lifting. The description adds no meaning beyond it. Baseline 3 applies.

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

Purpose4/5

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

The description gives a specific verb plus resource ("Creates an upstream") and goes further by defining what an upstream is conceptually — the app that custom domains forward traffic to. The resource type is clearly distinct from siblings like create_redirect or create_rule, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

It supplies one real usage precondition ("Requires an active subscription"), which is genuinely useful before calling. However, there is no statement of when to prefer this over alternatives or what to do if the upstream already exists, leaving usage mostly implied by the resource name.

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.

Resources