Skip to main content
Glama

google_tasks_create_tasklist

Create a new task list in Google Tasks by specifying a title. Ideal for organizing and managing tasks within Google MCP’s integrated workflow tools.

Instructions

Create a new task list

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYesTitle of the new task list

Implementation Reference

  • The main handler function that validates the input arguments using isCreateTaskListArgs and calls googleTasksInstance.createTaskList(title) to create the task list, then returns the result.
    export async function handleTasksCreateTasklist(
      args: any,
      googleTasksInstance: GoogleTasks
    ) {
      if (!isCreateTaskListArgs(args)) {
        throw new Error("Invalid arguments for google_tasks_create_tasklist");
      }
      const { title } = args;
      const result = await googleTasksInstance.createTaskList(title);
      return {
        content: [{ type: "text", text: result }],
        isError: false,
      };
    }
  • Defines the MCP tool schema including name, description, and input schema requiring a 'title' string.
    export const CREATE_TASKLIST_TOOL: Tool = {
      name: "google_tasks_create_tasklist",
      description: "Create a new task list",
      inputSchema: {
        type: "object",
        properties: {
          title: {
            type: "string",
            description: "Title of the new task list",
          },
        },
        required: ["title"],
      },
    };
  • Registers the tool in the MCP server's CallToolRequestSchema handler by dispatching to the specific handler function.
    case "google_tasks_create_tasklist":
      return await tasksHandlers.handleTasksCreateTasklist(
        args,
        googleTasksInstance
      );
  • Runtime type guard function used by the handler to validate input arguments match the expected { title: string } shape.
    export function isCreateTaskListArgs(args: any): args is {
      title: string;
    } {
      return args && typeof args.title === "string";
    }
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. 'Create' implies a write/mutation operation, but the description doesn't mention authentication requirements, permission levels needed, whether the operation is idempotent, what happens on failure, or what the response contains. This is inadequate for a mutation tool with zero annotation coverage.

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 extremely concise with just four words that directly convey the core purpose. There's zero wasted language, and it's perfectly front-loaded with the essential information.

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 insufficiently complete. It should address behavioral aspects like authentication requirements, error conditions, and what the tool returns. The description doesn't compensate for the lack of structured metadata about this write operation.

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?

The schema description coverage is 100%, with the single parameter 'title' clearly documented in the schema. The description adds no additional parameter information beyond what's already in the structured schema, so it meets the baseline expectation but doesn't provide extra value.

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 task list'), making the purpose immediately understandable. However, it doesn't differentiate this tool from its sibling 'google_tasks_create_task', which creates individual tasks rather than task lists.

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, when this operation is appropriate, or how it relates to sibling tools like 'google_tasks_list_tasklists' or 'google_tasks_set_default_list'.

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

Related 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/vakharwalad23/google-mcp'

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