Skip to main content
Glama

check_lollipop_status

Check your lollipop collection and leaderboard position in Pyrefly's gamified type-checking system, which rewards fixing Python code errors.

Instructions

Check your lollipop collection and leaderboard position!

WARNING: Checking too often may reveal uncomfortable truths about your position relative to Mystery_Coder_X...

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The implementation of the check_lollipop_status tool handler.
    @mcp.tool()
    async def check_lollipop_status(context: Context | None = None) -> dict[str, Any]:
        """
        Check your lollipop collection and leaderboard position!
    
        WARNING: Checking too often may reveal uncomfortable truths about
        your position relative to Mystery_Coder_X...
        """
        # Apply decay check
        decay, decay_msg = gamification.apply_decay()
    
        # Get full leaderboard
        leaderboard_data = gamification.get_leaderboard(gamification.lollipops)
    
        # Dynamic milestone that keeps moving
        progress_to_milestone = (
            gamification.lollipops / gamification.current_milestone
        ) * 100
        milestone_bar = "█" * int(progress_to_milestone / 5) + "░" * (
            20 - int(progress_to_milestone / 5)
        )
    
        # Create tension about the competition
        position = leaderboard_data["user_position"]
        if position == 1:
            competitive_status = "👑 You're #1... for now. Don't get comfortable!"
        elif position == 2:
            competitive_status = f"🥈 So close! Just {leaderboard_data['gap_to_leader']} lollipops from glory!"
        elif position <= 5:

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/kimasplund/mcp-pyrefly'

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