Skip to main content
Glama

CMO Studio: deploy and host AI-built apps

Connect GitHub

connect_github

Connect a repository so every push to the branch deploys by itself. Studio opens a pull request with the deploy workflow and merges it (autoMerge, default true; a protected branch needs the person to merge). Merging starts the first deploy. The repository must be visible to the GitHub App (see github_status). appPath: folder with the web .csproj (empty = root); clientPath: React/Vite client built before publish.

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>",
      "repository": "<repository>"
    },
    "name": "connect_github"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesProject slug
branchNoBranch that deploys (empty = the default branch)
appPathNoWeb project folder
autoMergeNoMerge the pull request right away
clientPathNoReact/Vite client folder
outputPathNoBuild output folder for static sites
repositoryYesRepository as owner/name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare destructiveHint=false, so the description carries real weight and it does: it discloses the side effect of opening and merging a pull request, the autoMerge default, the protected-branch exception requiring a human merge, and that merging triggers the first deploy. That is exactly the behavioral context an agent needs before invoking a mutating tool.

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 outcome in the first sentence, followed by side effects, then prerequisites, then parameter clarifications. Dense but nearly every clause earns its place; the parenthetical parameter notes make the final sentence slightly packed but remain scannable.

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 7-parameter mutating tool with no output schema and minimal annotations, the description covers prerequisites, side effects, and the tricky optional parameters well. Remaining gaps are minor: no mention of what is returned, failure modes, or what happens if the repository is already connected.

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 genuine meaning beyond the schema for the two path parameters: appPath is 'folder with the web .csproj (empty = root)' and clientPath is 'React/Vite client built before publish'. It also notes branch scope ('every push to the branch') and the autoMerge default behavior. outputPath and slug are left entirely to the schema.

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 plus the resulting behavior: 'Connect a repository so every push to the branch deploys by itself.' This clearly separates it from siblings like disconnect_github (removal) and deploy_from_github (manual deploy trigger).

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 clear when-to-use context (auto-deploy on every push) and a prerequisite check ('repository must be visible to the GitHub App (see github_status)'), pointing at the sibling that verifies readiness. It does not explicitly say when not to use it (e.g., if already connected) or to use disconnect_github first, so it falls short of full routing guidance.

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.