Skip to main content
Glama

get_recent_activity

Track and retrieve recent actions on a Trello board to monitor updates, manage tasks, and stay informed with customizable activity limits using the MCP Server Trello integration.

Instructions

Fetch recent activity on the Trello board

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of activities to fetch (default: 10)

Implementation Reference

  • MCP tool handler for get_recent_activity that validates input and delegates to TrelloClient.
    case 'get_recent_activity': { const validArgs = validateGetRecentActivityRequest(args); const activity = await this.trelloClient.getRecentActivity(validArgs.limit); return { content: [{ type: 'text', text: JSON.stringify(activity, null, 2) }], }; }
  • Validation function for get_recent_activity input parameters.
    export function validateGetRecentActivityRequest(args: Record<string, unknown>): { limit?: number } { return { limit: validateOptionalNumber(args.limit), }; }
  • src/index.ts:84-97 (registration)
    Registration of the get_recent_activity tool with name, description, and input schema.
    { name: 'get_recent_activity', description: 'Fetch recent activity on the Trello board', inputSchema: { type: 'object', properties: { limit: { type: 'number', description: 'Number of activities to fetch (default: 10)', }, }, required: [], }, },
  • Implementation of getRecentActivity method in TrelloClient that fetches recent actions from the Trello API.
    async getRecentActivity(limit: number = 10): Promise<TrelloAction[]> { console.error(`[TrelloClient] Getting recent activity for board: ${this.config.boardId} (limit: ${limit})`); return this.handleRequest(async () => { const response = await this.axiosInstance.get(`/boards/${this.config.boardId}/actions`, { params: { limit }, }); 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