Skip to main content
Glama

get_recent_changes

Retrieve recent changelog entries from the MCP Memory Server to monitor coding session updates and track modifications over a specified number of days.

Instructions

Get recent changelog entries

Input Schema

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

Implementation Reference

  • Core handler function that retrieves recent changelog entries by filtering the full changelog for entries within 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)
    Registers the 'get_recent_changes' tool with the MCP server in the listTools response, including input schema definition.
    { 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 dispatcher case that handles the tool call by extracting parameters and delegating to ChangelogManager.getRecentChanges.
    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) }] }; }
  • Input schema definition for the get_recent_changes tool, specifying optional 'days' parameter.
    inputSchema: { type: 'object', properties: { days: { type: 'number', description: 'Number of days to look back (default: 7)' } } }

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