Skip to main content
Glama
MAG-Cie

MCP for Microsoft To Do

list_checklist_items

Read-only

Retrieve all checklist items from a specified task in Microsoft To Do. Returns detailed JSON or compact text format based on preference.

Instructions

List the sub-items (checklist) of a task.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
list_idYes
task_idYes
verboseNoIf true: returns full JSON. Otherwise: compact text format (default, saves tokens).
paginateNoIf true: follows @odata.nextLink up to 20 pages (≈2000 items max). Default false. Use sparingly — large result sets may exhaust the LLM context window.

Implementation Reference

  • The actual implementation of listChecklistItems — makes a GET request to the Microsoft Graph /checklistItems endpoint, optionally supporting pagination. Calls graphFetch to retrieve ChecklistItem objects from the API.
    export async function listChecklistItems(
      listId: string,
      taskId: string,
      opts: { select?: string; paginate?: boolean } = {}
    ): Promise<ChecklistItem[]> {
      const select = opts.select ?? DEFAULT_CHECKLIST_SELECT;
      const path = `/me/todo/lists/${enc(listId)}/tasks/${enc(taskId)}/checklistItems?$select=${encodeODataValue(select)}`;
      if (opts.paginate) return paginateAll<ChecklistItem>(path);
      const data = await graphFetch<GraphCollection<ChecklistItem>>(path);
      return data.value;
    }
  • Zod schema defining the input arguments for list_checklist_items: list_id (string), task_id (string), plus optional verbose and paginate fields.
    list_checklist_items: z.object({
      list_id: z.string(),
      task_id: z.string(),
      ...verboseField,
      ...paginateField,
    }),
  • TypeScript interface for the ChecklistItem type returned by listChecklistItems. Contains id, displayName, isChecked, createdDateTime, and optional checkedDateTime.
    export interface ChecklistItem {
      id: string;
      displayName: string;
      isChecked: boolean;
      createdDateTime: string;
      checkedDateTime?: string;
    }
  • src/index.ts:659-672 (registration)
    Tool registration with name 'list_checklist_items', description 'List the sub-items (checklist) of a task.', and JSON Schema input requiring list_id and task_id.
    {
      name: "list_checklist_items",
      description: "List the sub-items (checklist) of a task.",
      inputSchema: {
        type: "object",
        properties: {
          list_id: { type: "string" },
          task_id: { type: "string" },
          ...verboseJsonProp,
          ...paginateJsonProp,
        },
        required: ["list_id", "task_id"],
      },
    },
  • Compact formatter used to display a single checklist item as a text line (id, checked status, and displayName).
    export function formatChecklistCompact(c: ChecklistItem): string {
      return `${c.id} ${c.isChecked ? "[v]" : "[ ]"} ${JSON.stringify(c.displayName)}`;
    }
Behavior1/5

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

Annotations already indicate readOnlyHint and openWorldHint. The description adds no additional behavioral context such as rate limits, result format, or dependencies. It relies solely on annotations.

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

Conciseness4/5

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

The description is a single, front-loaded sentence that efficiently states the tool's purpose. No unnecessary words.

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?

Despite having no output schema, the description does not explain the return format. It omits details about pagination behavior and verbose output, which are only hinted in schema descriptions. For a listing tool with multiple parameters, the description is incomplete.

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?

Only 50% of parameters have schema descriptions; the tool description does not explain the undocumented parameters (list_id, task_id). It implicitly ties task_id to the parent task but offers no clarity on list_id. The schema descriptions for verbose and paginate are present but not reinforced.

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?

The description uses specific verb 'list' and resource 'sub-items (checklist) of a task', clearly distinguishing from sibling tools like create/delete/update checklist items or list tasks.

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 alternative listing tools (e.g., list_tasks, list_all_tasks). No exclusions or context are given.

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/MAG-Cie/mcp-microsoft-todo'

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