Skip to main content
Glama
GitHub MCP Server

GitHub MCP Server

by rominababiel

create_repository

Creates a new GitHub repository in your personal account or an organization, with options for private visibility, description, and README initialization. Use it only when the repository does not yet exist.

Instructions

Crea un repositorio nuevo en GitHub, en la cuenta personal o en una organización. Usar solo cuando se pide crear un repositorio que todavía no existe; para ver los existentes usar list_repositories.

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

Input Schema

NameRequiredDescriptionDefault
nameYesNombre del repositorio a crear: entre 3 y 100 caracteres, solo letras, números y guiones.
privateNoCrear el repositorio como privado.
autoInitNoCrear un README inicial, necesario para poder crear ramas de inmediato.
descriptionNoDescripción corta del repositorio, de hasta 350 caracteres y en una sola línea.
organizationNoOrganización donde crearlo. Omitir para crearlo en la cuenta personal.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior3/5

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

The readOnlyHint=false annotation already signals a write operation, consistent with 'Crea'. The description adds useful scoping context (only for non-existent repos, personal vs organization), but does not disclose permission requirements, behavior when the repo already exists, or error conditions.

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 short sentences with the creation scope front-loaded and the routing/alternative guidance second; no filler or redundancy.

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 5-parameter creation tool with minimal annotations and no output schema, the description covers purpose, scope, and routing adequately. It could note what happens if the repository already exists, but nothing essential for invoking it correctly is missing.

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 each parameter (name pattern/length, private, autoInit, description, organization) is already documented in the schema. The description's mention of personal vs organization duplicates what the organization parameter description already states, adding no new semantics.

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 ('Crea un repositorio nuevo en GitHub') plus the scope (personal account or organization), which lets an agent distinguish it immediately from sibling tools like list_repositories.

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?

Explicitly says to use it only when asked to create a repository that doesn't yet exist and names the alternative (list_repositories) for viewing existing ones, covering both the when and the when-not.

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