Skip to main content
Glama

get_recent_changes

Retrieve recent changelog entries from the MCP Memory Server to track coding session modifications and project updates.

Instructions

Get recent changelog entries

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoNumber of days to look back (default: 7)

Implementation Reference

  • The core handler function implementing the tool logic: fetches full changelog and filters entries from the last N days (default: 7).
    async getRecentChanges(days: number = 7): Promise<ChangelogEntry[]> { const changelog = await this.getChangelog(); const cutoffDate = new Date(); cutoffDate.setDate(cutoffDate.getDate() - days); return changelog.filter(entry => new Date(entry.date) > cutoffDate ); }
  • src/index.ts:713-722 (registration)
    Tool registration in the MCP server's listTools handler, defining name, description, and input schema.
    { name: 'get_recent_changes', description: 'Get recent changelog entries', inputSchema: { type: 'object', properties: { days: { type: 'number', description: 'Number of days to look back (default: 7)' } } } },
  • MCP server tool dispatch handler: parses arguments, calls ChangelogManager.getRecentChanges, and formats response.
    case 'get_recent_changes': { const days = (args.days as number) || 7; const recentChanges = await this.changelogManager.getRecentChanges(days); return { content: [{ type: 'text', text: JSON.stringify(recentChanges, null, 2) }] }; }

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/keleshteri/mcp-memory'

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