Skip to main content
Glama

Export Tasks to CSV

clickup_export_tasks_to_csv
Read-onlyIdempotent

Export ClickUp tasks from a list to CSV with pagination, status filters, and custom field selection, so you can download filtered task data for reporting or import.

Instructions

Export tasks from a list to CSV format.

This tool handles pagination, status filtering, and custom field extraction automatically. It fetches detailed task information to include all custom fields in the export.

Args:

  • list_id (string): The list to export from

  • statuses (string[], optional): Filter by specific status names. If omitted, exports all tasks

  • archived (boolean): Include archived tasks (default: false)

  • include_closed (boolean): Include closed tasks (default: false)

  • custom_fields (string[], optional): Specific custom field names to include. If omitted, includes all custom fields found

  • include_standard_fields (boolean): Include standard fields like ID, name, status, etc. (default: true)

  • add_phone_number_column (boolean): Automatically create a combined 'phone_number' column from phone fields (for ElevenLabs compatibility) (default: false)

Returns: CSV content as text (can be saved to file by client). Includes headers as first row.

Examples:

  • Use when: "Export all tasks from list 123456 to CSV"

  • Use when: "Export tasks with status '#1 - phone call' from list 123456"

  • Use when: "Export leads with specific custom fields to CSV"

Error Handling:

  • Returns "Error: Resource not found" if list_id is invalid (404)

  • Returns empty CSV if no tasks match the criteria

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": {
      "list_id": "<list_id>"
    },
    "name": "clickup_export_tasks_to_csv"
  }
}

Input Schema

NameRequiredDescriptionDefault
list_idYesList ID
archivedNoInclude archived tasks
statusesNoFilter by specific status names. If omitted, exports all tasks
custom_fieldsNoSpecific custom field names to include. If omitted, includes all custom fields found
include_closedNoInclude closed tasks
add_phone_number_columnNoAutomatically create a combined 'phone_number' column from phone fields (for ElevenLabs compatibility)
include_standard_fieldsNoInclude standard fields like ID, name, status, etc.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.6

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description still adds real behavior: automatic pagination, detail fetching for custom fields, CSV returned as text with a header row, and concrete error semantics ('Error: Resource not found' on 404, empty CSV on no match). This is well beyond what the structured fields convey.

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?

Front-loaded with purpose, then behavior, then params, returns, examples, and errors — a predictable structure. The Args section largely duplicates the schema and could be trimmed, but the Returns, Examples, and Error Handling sections each earn their space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Seven parameters with no output schema, yet the description explains the exact return shape (CSV text, headers first row, saveable by client), pagination handling, and error outcomes. An agent has everything needed to call and interpret results.

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%, so every parameter is already documented with defaults in the schema. The Args block restates them almost verbatim, adding only the parenthetical framing that omitting statuses/custom_fields means 'all', which the schema already states. Baseline 3 applies.

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 opens with a specific verb plus resource plus output format: 'Export tasks from a list to CSV format.' That combination is not shared by any sibling (get_tasks, search_tasks, count_tasks_by_status all return structured task data), so an agent can distinguish it without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Three concrete 'Use when' examples give clear trigger conditions, and the statuses/custom_fields notes clarify scoping. There is no explicit 'do not use this when you just want JSON task data' pointer back to siblings like get_tasks, so the guidance is clear but not fully routing.

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