Skip to main content
Glama

log_accomplishment

Track progress and reinforce achievements by recording completed tasks, helping users monitor accomplishments and maintain motivation.

Instructions

Log something the user accomplished.

This helps track progress and provides positive reinforcement.

Args: description: What the user accomplished

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
descriptionYes

Implementation Reference

  • The actual storage handler implementation for logging an accomplishment in the database.
    async def log_accomplishment(description: str) -> str:
        """Log something the user accomplished.
    
        Args:
            description: What the user accomplished
    
        Returns:
            Success message
        """
        db = await get_db()
    
        await db.execute(
            "INSERT INTO accomplishments (description) VALUES (?)", (description,)
        )
        await db.commit()
    
        return f"✓ Logged accomplishment: {description}"
  • The tool registration and delegator in the MCP server file.
    @mcp.tool()
    async def log_accomplishment(description: str) -> str:
        """Log something the user accomplished.
    
        This helps track progress and provides positive reinforcement.
    
        Args:
            description: What the user accomplished
        """
        return await storage.log_accomplishment(description)

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/94aharris/coach-ai'

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