Skip to main content
Glama

create_project_column

Add a new column to organize tasks in GitHub projects by specifying project ID and column name.

Instructions

Create a new column for a project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesThe ID of the project
nameYesThe name of the column

Implementation Reference

  • Core handler function that executes the GitHub API POST request to create a project column and parses the response with Zod.
    export async function createProjectColumn(
      github_pat: string,
      project_id: number,
      name: string
    ): Promise<z.infer<typeof ProjectColumnSchema>> {
      const response = await githubRequest(
        github_pat,
        `https://api.github.com/projects/${project_id}/columns`,
        {
          method: "POST",
          body: {
            name,
          },
          headers: {
            "Accept": "application/vnd.github.inertia-preview+json",
          },
        }
      );
      return ProjectColumnSchema.parse(response);
    }
  • Zod schemas for input validation: public schema (project_id, name) and internal schema including github_pat.
    export const CreateProjectColumnSchema = z.object({
      project_id: z.number().describe("The ID of the project"),
      name: z.string().describe("The name of the column"),
    });
    
    export const _CreateProjectColumnSchema = CreateProjectColumnSchema.extend({
      github_pat: z.string().describe("GitHub Personal Access Token"),
    });
  • src/index.ts:264-268 (registration)
    Tool registration in the MCP listTools handler, defining name, description, and input schema.
    {
      name: "create_project_column",
      description: "Create a new column for a project",
      inputSchema: zodToJsonSchema(projects.CreateProjectColumnSchema),
    },
  • MCP CallToolRequest handler case that validates arguments, invokes the core createProjectColumn function, and returns formatted response.
    case "create_project_column": {
      const args = projects._CreateProjectColumnSchema.parse(params.arguments);
      const { github_pat, project_id, name } = args;
      const result = await projects.createProjectColumn(github_pat, project_id, name);
      return {
        content: [{ type: "text", text: JSON.stringify(result, null, 2) }],
      };
    }
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It states 'Create' which implies a write/mutation operation, but doesn't address permissions needed, whether the operation is idempotent, what happens on duplicate names, or what the response contains. For a mutation tool with zero annotation coverage, this is insufficient behavioral context.

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?

The description is a single, efficient sentence that gets straight to the point with zero wasted words. It's appropriately sized for a simple creation tool and front-loads the essential information without unnecessary elaboration.

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?

For a mutation tool with no annotations and no output schema, the description is incomplete. It doesn't explain what happens after creation (e.g., returns the new column object), error conditions, or behavioral nuances. Given the complexity of a write operation and lack of structured metadata, more context is needed for the agent to use this tool effectively.

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%, with both parameters ('project_id' and 'name') clearly documented in the schema. The description doesn't add any additional parameter context beyond what's already in the schema (e.g., format constraints, examples, or relationships between parameters). Baseline 3 is appropriate when the schema does the heavy lifting.

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

Purpose4/5

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

The description clearly states the action ('Create') and resource ('new column for a project'), making the purpose immediately understandable. However, it doesn't differentiate from sibling tools like 'create_project' or 'create_project_card', which would require specifying it's specifically for project columns rather than general project creation or card creation within columns.

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 description provides no guidance on when to use this tool versus alternatives. There's no mention of prerequisites (e.g., needing an existing project), exclusions, or comparisons to related tools like 'list_project_columns' for viewing existing columns. This leaves the agent without context for appropriate tool selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MissionSquad/mcp-github'

If you have feedback or need assistance with the MCP directory API, please join our Discord server