Skip to main content
Glama

get_lists

Retrieve all lists from a specified Trello board to organize and manage tasks efficiently. Simplifies board management by providing structured data for better workflow planning.

Instructions

Retrieve all lists from the specified board

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP CallToolRequest handler case for 'get_lists': fetches lists using TrelloClient and returns JSON-formatted response.
    case 'get_lists': { const lists = await this.trelloClient.getLists(); return { content: [{ type: 'text', text: JSON.stringify(lists, null, 2) }], }; }
  • src/index.ts:76-83 (registration)
    Tool registration in ListTools response, including name, description, and empty input schema.
    name: 'get_lists', description: 'Retrieve all lists from the specified board', inputSchema: { type: 'object', properties: {}, required: [], }, },
  • TrelloClient.getLists() method: makes API request to fetch lists from the board and handles errors/rate limiting.
    async getLists(): Promise<TrelloList[]> { console.error(`[TrelloClient] Getting lists for board: ${this.config.boardId}`); return this.handleRequest(async () => { const response = await this.axiosInstance.get(`/boards/${this.config.boardId}/lists`); return response.data; }); }

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/diegofornalha/mcp-server-trello'

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