Skip to main content
Glama

update_card

Modify Trello card details such as title, description, or labels by specifying card ID and updates. Part of Multi-MCPs, a server integrating APIs like GitHub, Notion, and Spotify for multi-service automation.

Instructions

Update a Trello card

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
card_idYes
updatesYes

Implementation Reference

  • Handler function that validates config and arguments, then calls the Trello client to update the card.
    async update_card(args: Record<string, unknown>) { if (!cfg.trelloKey || !cfg.trelloToken) throw new Error("TRELLO_KEY/TRELLO_TOKEN are not configured"); const cardId = String(args.card_id || ""); if (!cardId) throw new Error("card_id is required"); const updates = (args.updates as Record<string, unknown>) || {}; return client.updateCard(cardId, updates); },
  • Tool registration object defining name, description, and input schema for the update_card tool.
    { name: "update_card", description: "Update a Trello card", inputSchema: { type: "object", properties: { card_id: { type: "string" }, updates: { type: "object" }, }, required: ["card_id", "updates"], }, }, {
  • Input schema defining required card_id (string) and updates (object) for the update_card tool.
    inputSchema: { type: "object", properties: { card_id: { type: "string" }, updates: { type: "object" }, }, required: ["card_id", "updates"], },
  • TrelloClient helper method that performs the API request to update a card.
    updateCard(cardId: string, updates: Record<string, unknown>) { return this.request(`/cards/${cardId}`, { method: "PUT", query: this.authQuery(updates as any) }); }

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/TaylorChen/muti-mcps'

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