Skip to main content
Glama

get_card

Retrieve detailed information about a specific task card using its unique ID to access content, status, and properties in Focalboard.

Instructions

Get detailed information about a specific card by its ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cardIdYesThe ID of the card to retrieve

Implementation Reference

  • The main execution handler for the 'get_card' MCP tool. It validates the cardId input, calls FocalboardClient.getCard(), and formats the response as MCP content.
    case 'get_card': { const cardId = args?.cardId as string; if (!cardId) { throw new Error('cardId is required'); } const card = await focalboard.getCard(cardId); return { content: [ { type: 'text', text: JSON.stringify(card, null, 2) } ] }; }
  • src/index.ts:132-145 (registration)
    Tool registration definition for 'get_card' including name, description, and input schema used by MCP server for listing and validation.
    { name: 'get_card', description: 'Get detailed information about a specific card by its ID.', inputSchema: { type: 'object', properties: { cardId: { type: 'string', description: 'The ID of the card to retrieve' } }, required: ['cardId'] } },
  • Core helper method in FocalboardClient that performs the HTTP API request to fetch the specific card by ID.
    async getCard(cardId: string): Promise<Card> { return this.makeRequest<Card>(`/cards/${cardId}`); }

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/gmjuhasz/focalboard-mcp-server'

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