Skip to main content
Glama
kunwarVivek

mcp-github-project-manager

delete_project_view

Remove a view from a GitHub project to declutter your workspace and maintain organized project boards.

Instructions

Delete a view from a GitHub project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdYes
viewIdYes

Implementation Reference

  • Main handler implementation for delete_project_view tool. Calls the project repository to delete the specified view.
    async deleteProjectView(data: {
      projectId: string;
      viewId: string;
    }): Promise<{ success: boolean; message: string }> {
      try {
        await this.projectRepo.deleteView(data.projectId, data.viewId);
    
        return {
          success: true,
          message: `View ${data.viewId} deleted successfully from project ${data.projectId}`
        };
      } catch (error) {
        throw this.mapErrorToMCPError(error);
      }
    }
  • Tool definition including schema, description, and examples for delete_project_view.
    export const deleteProjectViewTool: ToolDefinition<DeleteProjectViewArgs> = {
      name: "delete_project_view",
      description: "Delete a view from a GitHub project",
      schema: deleteProjectViewSchema as unknown as ToolSchema<DeleteProjectViewArgs>,
      examples: [
        {
          name: "Delete project view",
          description: "Delete a specific view from a project",
          args: {
            projectId: "PVT_kwDOLhQ7gc4AOEbH",
            viewId: "PVV_lADOLhQ7gc4AOEbHzM4AOAL9"
          }
        }
      ]
    };
  • Registers the deleteProjectViewTool in the central tool registry.
    this.registerTool(deleteProjectViewTool);
  • MCP server dispatch handler that routes call_tool requests for delete_project_view to the service implementation.
    case "delete_project_view":
      return await this.service.deleteProjectView(args);
  • Import declaration for deleteProjectViewTool used in registration.
    deleteProjectViewTool,
Behavior2/5

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

With no annotations provided, the description carries full burden but lacks behavioral details. It states the action ('Delete') which implies a destructive operation, but doesn't specify if deletion is permanent, requires specific permissions, has confirmation steps, or what happens on success/failure. This leaves critical behavioral aspects unclear for a mutation tool.

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, clear sentence with no wasted words. It's appropriately sized for a simple operation and front-loads the essential action and resource, making it easy to parse quickly.

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 destructive mutation tool with 2 parameters, 0% schema coverage, no annotations, and no output schema, the description is insufficient. It lacks behavioral context, parameter details, usage guidance, and expected outcomes, leaving too many gaps for effective tool invocation.

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%, so the description must compensate but adds no parameter information. It doesn't explain what 'projectId' and 'viewId' represent, their format (e.g., numeric IDs, names), or how to obtain them (e.g., from 'list_project_views'). This leaves both parameters semantically undefined.

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 ('Delete') and resource ('a view from a GitHub project'), making the purpose immediately understandable. It doesn't distinguish from sibling tools like 'delete_project' or 'delete_automation_rule', but the specificity of 'view' provides adequate differentiation for a basic understanding.

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. It doesn't mention prerequisites (e.g., needing an existing view), exclusions, or related tools like 'list_project_views' for selection or 'update_project_view' for modification instead of deletion.

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/kunwarVivek/mcp-github-project-manager'

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