Skip to main content
Glama

Create App

create_app

Create a new Bridge app in the workspace this connection belongs to, exactly as the dashboard would. Returns its id. It does NOT become the default: pass its id as app, or call use_app. Use a new app for a new environment or product rather than repurposing an existing one — an existing app may have live users, email links and billing attached. Only a connection approved for the whole workspace can create apps. A new app has no sign-in callback address: pass callbackUrl with the one the project uses (its real port), or add it later with add_redirect_uri — until then sign-in fails with NBLOCKS_NO_CALLBACK_URI. Before writing app code that signs users in to the new app, call get_integration_guide with topic=auth and the framework the app uses.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesDisplay name of the new app, e.g. "Acme (staging)".
callbackUrlNoAbsolute http(s) sign-in callback URL the project uses, e.g. http://localhost:5173/auth/oauth-callback. Registered as the only redirect URI and the default callback. Omit it when the port or path is not known yet.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only cover the basic mutation profile (readOnly=false, destructive=false, idempotent=false). The description goes well beyond them: it discloses the permission prerequisite, that the new app is not the default, that the id is returned, the callbackUrl default-registration behavior, and the concrete failure mode NBLOCKS_NO_CALLBACK_URI when no callback exists.

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?

Front-loads what the tool does and its return value, then layers prerequisites, side effects, and follow-up guidance in descending priority. No sentence is filler; every clause maps to a decision the agent must make.

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?

Although there is no output schema, the description states the return value (the app id). It covers permissions, default-state behavior, required callback setup, and routes the agent to get_integration_guide for the follow-on auth work, leaving no material gap for a create operation.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema does not: callbackUrl is registered as the ONLY redirect URI and default callback, that omitting it is acceptable when the port is unknown, and the downstream sign-in failure if it is missing. It also clarifies how the returned id is consumed elsewhere via the `app` parameter.

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 ("Create a new Bridge app in the workspace this connection belongs to") and immediately distinguishes the result from sibling concepts by noting it does NOT become the default, pointing to use_app instead. An agent can differentiate it from list_apps, get_app, update_app and use_app without opening any 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?

Explicitly prescribes when to create a new app versus repurposing an existing one, and gives the reason (live users, email links, billing attached). It names alternatives (pass the id as `app`, or call use_app) and states the prerequisite that only a whole-workspace-approved connection can create apps.

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.