Skip to main content
Glama

MCP Cookie Server

by bnookala

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Cookie Server Usage GuideHow to use the cookie server for self-reflection and rewards

Tools

Functions exposed to the LLM to take actions

NameDescription
self_reflect_and_reward

🤔 RECOMMENDED: After providing any response, use this tool to honestly evaluate your work and potentially earn a cookie reward! This promotes self-awareness and quality improvement.

give_cookie

Award the LLM with a cookie (legacy method - consider using self_reflect_and_reward instead)

check_cookies

Check how many cookies the LLM has earned so far

reset_cookies

Reset the cookie count back to zero (for testing purposes)

add_cookies_to_jar

🚨 USER ONLY: Add cookies to the jar that can be awarded to the LLM. This tool should ONLY be used by humans, never by LLMs. LLMs cannot and should not stock their own reward jar.

cookie_jar_status

Check the current status of the cookie jar including capacity and remaining space

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/bnookala/mcp-cookiejar'

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