Skip to main content
Glama

create_custom_app

Register a custom application definition from the user's own Docker images (and/or public images) so it can be deployed with create_app. Push images first: get_registry_credentials, then tag/push as /:, and verify with list_custom_images. Container 'image' is 'repo:tag' when is_custom is true (an image in the user's registry, the default), or a fully-qualified public image including its registry domain, like 'docker.io/library/postgres:16', when is_custom is false. Publish exactly one port on the container that serves traffic; volumes persist data at container_path; env_vars function defaults to TEXT for literal values.

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": {
      "name": "<name>",
      "containers": "<containers>"
    },
    "name": "create_custom_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
containersYes
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / containers / items / properties / ports / items / properties / host_port
      Removed value: -{
      -  "type": "integer"
      -}
    • changedInput schema / properties / containers / items / properties / ports / items / required
      Previous value: -[
      -  "host_port",
      -  "container_port"
      -]New value: +[
      +  "container_port"
      +]
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does substantial work: it discloses the is_custom branching rule for image references, the single-published-port constraint, volume persistence at container_path, and the env_vars TEXT default. It does not state permissions/ownership requirements, duplicate-name behavior, or whether registration alone triggers any deployment activity.

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?

Front-loaded with the prerequisites and then the field semantics, which is the right order for an agent that must prepare artifacts before calling. It is dense rather than padded, though the long compound final sentences and the repetition of image-format rules already present in the nested schema cost it a point.

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 no annotations, no output schema, and no schema description coverage, a 3-parameter nested tool needs a lot from prose, and the description delivers prerequisites, image addressing, port and volume rules. Gaps remain around failure modes and identity/uniqueness of 'name', which an agent would need in practice.

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 description coverage is reported at 0%, so the description must compensate and largely does: it decodes the 'image' format for both is_custom=true and is_custom=false, constrains ports to exactly one traffic-serving port, and explains volumes and env_vars function semantics. The top-level 'name' and 'description' parameters and multi-container composition are never discussed, leaving part of the surface unexplained.

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: "Register a custom application definition from the user's own Docker images ... so it can be deployed with create_app." That scope line immediately separates it from create_app (deploys) and list_custom_images (verifies images), so an agent can route without opening a schema.

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

Usage Guidelines4/5

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

Gives a clear ordered prerequisite chain (get_registry_credentials, then tag/push as <registry>/<app-name>:<tag>, then verify with list_custom_images) and names the follow-on tool create_app. What is missing is a when-not: nothing says what to do if the app name already exists, or when to skip registration and use a prebuilt catalog app instead.

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