Skip to main content
Glama

utils_get_colors

Retrieve available color options for customizing Todoist projects, labels, and filters to organize tasks visually.

Instructions

Get available colors for projects, labels, filters in Todoist

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function that returns a formatted string list of available Todoist colors including ID, name, and hex code.
    async () => { const colors = [ { id: 30, name: 'berry_red', hex: '#B8255F' }, { id: 31, name: 'red', hex: '#DC4C3E' }, { id: 32, name: 'orange', hex: '#C77100' }, { id: 33, name: 'yellow', hex: '#B29104' }, { id: 34, name: 'olive_green', hex: '#949C31' }, { id: 35, name: 'lime_green', hex: '#65A33A' }, { id: 36, name: 'green', hex: '#369307' }, { id: 37, name: 'mint_green', hex: '#42A393' }, { id: 38, name: 'teal', hex: '#148FAD' }, { id: 39, name: 'sky_blue', hex: '#319DC0' }, ]; return colors.map(color => `ID: ${color.id}, ${color.name}, (${color.hex})`).join('. '); }
  • Registration of the utils_get_colors tool using createHandler from '../utils/handlers.js', with empty input schema.
    createHandler( 'utils_get_colors', 'Get available colors for projects, labels, filters in Todoist', {}, async () => { const colors = [ { id: 30, name: 'berry_red', hex: '#B8255F' }, { id: 31, name: 'red', hex: '#DC4C3E' }, { id: 32, name: 'orange', hex: '#C77100' }, { id: 33, name: 'yellow', hex: '#B29104' }, { id: 34, name: 'olive_green', hex: '#949C31' }, { id: 35, name: 'lime_green', hex: '#65A33A' }, { id: 36, name: 'green', hex: '#369307' }, { id: 37, name: 'mint_green', hex: '#42A393' }, { id: 38, name: 'teal', hex: '#148FAD' }, { id: 39, name: 'sky_blue', hex: '#319DC0' }, ]; return colors.map(color => `ID: ${color.id}, ${color.name}, (${color.hex})`).join('. '); } );
  • Empty input schema for the utils_get_colors tool.
    {},

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/stanislavlysenko0912/todoist-mcp-server'

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