Skip to main content
Glama

CMO Studio: deploy and host AI-built apps

Deploy a public GitHub repo

deploy_from_github

Deploy the default branch of a public GitHub repo into a project as a new version (no GitHub app needed). For a starter template: read_template, create_project with its runtime and startup, create_database and link it if it needs one, then this. For the user's own private repo use connect_github instead, so every push deploys.

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": {
      "slug": "<slug>",
      "repo": "<repo>"
    },
    "name": "deploy_from_github"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesPublic GitHub address, https://github.com/owner/repo
slugYesProject slug

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Adds real context beyond the annotations: the deployment targets the default branch, produces a new version, and requires no GitHub app installation. It does not say whether the deploy is synchronous, whether build failures are surfaced, or what happens to an existing version, which are the remaining behavioral unknowns for a deploy 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 compact sentences: the capability statement leads, followed by the prerequisite sequence and the alternative. No filler, and the most decision-relevant facts come first.

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 two-parameter tool with no output schema, the definition covers prerequisites, ordering, and routing to the private-repo alternative. Only the post-call state (how to check deploy status, expected failure modes) is left unstated.

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%, so both parameters are already documented with formats and the required 'slug' means the target project must pre-exist. The description adds no syntax or constraint detail beyond the schema, so the baseline 3 applies.

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 ('Deploy the default branch of a public GitHub repo into a project as a new version') and immediately distinguishes itself from the sibling connect_github. An agent can pick between the two without opening either 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 an explicit ordered workflow for the starter-template case (read_template, create_project, create_database + link, then this) and an explicit exclusion rule: private repos go to connect_github instead. Both when-to-use and when-not-to-use are stated.

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.