Skip to main content
Glama

create_github_repo

Creates a GitHub repository from a project folder and pushes only when it is already configured as origin; includes visibility, description, and confirmation options.

Instructions

Gated. Create the GitHub repo from the folder and push (only push if it is already origin).

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": {
      "dir": "<dir>",
      "name": "<name>"
    },
    "name": "create_github_repo"
  }
}

Input Schema

NameRequiredDescriptionDefault
dirYes
nameYes
confirmNo
allowDirtyNo
visibilityNopublic
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.5.0
    • addedInput schema / properties / allowDirty
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / confirm
      Added value: +{
      +  "type": "boolean"
      +}
  2. Changed3 schema fields changedv0.4.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / properties / dir / description
      Removed value: -"Project folder (absolute path, or relative to the server's working directory)."
    • removedInput schema / properties / name / description
      Removed value: -"Repo name (without owner)."
  3. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

The only annotation is destructiveHint=false, so the description carries the full burden for a tool that creates a remote resource and pushes commits. 'Gated' is never defined, and behaviorally significant parameters like confirm and allowDirty (which imply a confirmation step and a dirty-working-tree policy) are not explained — the agent cannot tell whether the push is forced, whether uncommitted changes block it, or what happens on failure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and front-loaded with the action, so nothing is padded, but the brevity comes at the cost of clarity: the 'Gated.' sentence fragment and the ambiguous parenthetical are wasted words that raise questions rather than answer them.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a mutating, remote-side-effecting tool with 6 parameters, no output schema, and minimal annotations, so the description should be doing substantial work. Instead it omits the gate conditions, the confirm/allowDirty semantics, and any notion of what is returned or what state the tool leaves behind.

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

Parameters2/5

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

Schema description coverage is 0% across 6 parameters, so the description must compensate and largely does not. 'From the folder' loosely implies dir, and 'push' loosely relates to the remote/push behavior, but name, confirm, allowDirty, visibility, and description are given no meaning beyond their bare schema names.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The core verb+resource is identifiable: create a GitHub repo from a local folder and push. But the leading fragment 'Gated.' is unexplained and the parenthetical '(only push if it is already origin)' is cryptic — it is unclear whether 'origin' means an existing remote, a branch, or a precondition to be checked. No sibling is named, though no sibling in the list appears to create repos.

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

Usage Guidelines2/5

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

The word 'Gated' signals some precondition exists but never says what the gate is, when the tool should be used instead of scaffold_project/git_commit, or what to do if the folder is not already a git repo. No when-not guidance at all.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.