Skip to main content
Glama

Create project from repository

create_project

Create a new kad.dev project from a git repository URL and trigger its first build. Tracks the repo's default branch (or a given ref) and auto-detects the framework when not specified. Returns the new project_id plus the first build's job_id. When the plan has no free permanent slot the project is created as a temporary 72h one, and the reply then carries expires_at and a notice stating the deadline and how the project is kept. If the first build fails to start, the project_id is still returned (the project exists) — retry with deploy_project; whole-project deletion is dashboard/API only, not available over MCP. Requires a read-write token.

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": {
      "repository_url": "<repository_url>"
    },
    "name": "create_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNobranch or tag to track; defaults to the repo's default branch
envsNoinitial environment variables (name/value)
nameNoproject name; defaults to the repo name
portNocontainer port the app listens on; framework default when omitted
sub_pathNosub-directory within the repo to build (monorepos)
build_cmdNooverride the build command
frameworkNoframework preset (e.g. nextjs, astro, go); auto-detected when omitted
start_cmdNooverride the command that starts the app (presets fastapi, flask, django, node). A shell command run as /bin/sh -c with PORT set, e.g. 'cd app && exec uvicorn main:app --host 0.0.0.0 --port ${PORT:-8000}'. Leave empty to use the preset's own command. Auto-detected from the code when omitted.
repository_urlYesthe git repository URL (e.g. https://github.com/owner/repo)
provision_needsNobackend kinds to provision before the first build: postgres, storage
runtime_versionNoruntime version (e.g. node 20)
dependencies_cmdNooverride the install-dependencies command
output_directoryNobuild output directory for static frameworks

Output Schema

NameRequiredDescriptionDefault
refYes
portNo
commitYes
job_idNo
noticeNo
messageYes
sub_pathNo
warningsNo
frameworkYes
start_cmdNo
attempt_idNo
expires_atNo
project_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / start_cmd
      Added value: +{
      +  "description": "override the command that starts the app (presets fastapi, flask, django, node). A shell command run as /bin/sh -c with PORT set, e.g. 'cd app && exec uvicorn main:app --host 0.0.0.0 --port ${PORT:-8000}'. Leave empty to use the preset's own command. Auto-detected from the code when omitted.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / port
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / start_cmd
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / sub_path
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / warnings
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": [
      +    "null",
      +    "array"
      +  ]
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnly=false, openWorld=true, idempotent=false) by disclosing the fallback to a temporary 72h project when no permanent slot exists, the resulting expires_at field and notice, and that project_id is still returned when the first build fails. The auth requirement and the deliberate absence of deletion over MCP are exactly the kind of context annotations cannot convey.

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 core action and side effect, then layered with failure-mode and quota details. Dense but every sentence carries distinct information; slightly long for a single paragraph but no filler.

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?

For a 13-parameter creation tool with a read-write token requirement, the description covers the happy path, quota fallback, partial-failure semantics, and the return identifiers. With an output schema present, nothing material is left unexplained.

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%, so every one of the 13 parameters is already documented. The description only reinforces two defaults (tracking the repo's default branch or a given ref, auto-detecting the framework when unspecified), leaving the baseline of 3 appropriate.

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+resource (create a kad.dev project from a git repository URL) plus the side effect of triggering the first build. It clearly distinguishes itself from siblings like deploy_project (retry path) and delete_project (not available over MCP).

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 explicit operational context: read-write token required, retry the first build with deploy_project if it fails to start, and whole-project deletion must go through the dashboard/API rather than MCP. It doesn't spell out a when-to-use-vs-alternative comparison, but no sibling creates projects, so the gap is minor.

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