Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MG_API_KEYYesAn API key from mg.robnugen.com/settings/

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
start_sessionA

Start a new behavioral session. Costs 1 credit.

The server records the current time automatically — the agent does not
need to track time. Returns the new session including its ak_id, which
you need to stop or check the session later.

Args:
    activity_id: Activity type ID (default 1 = Meditation).
                 Use list_activities to see all options.
    timezone: IANA timezone name, e.g. 'Asia/Tokyo' (default UTC).
    intended_sec: Planned duration in seconds (default 0 = open-ended).
stop_sessionA

Stop an active session. Free (0 credits).

The server computes actual_sec automatically using the stored start time.
The agent does not need to track elapsed time.

Args:
    ak_id: The session ID returned by start_session.
check_sessionA

Get details for a single session, including elapsed_sec if active. Free (0 credits).

Args:
    ak_id: The session ID to look up.
list_sessionsA

List completed and active sessions. Free (0 credits).

Args:
    from_date: Start date filter in YYYY-MM-DD format (optional).
    to_date: End date filter in YYYY-MM-DD format (optional).
    activity_id: Filter by activity type ID (optional, 0 = no filter).
    limit: Number of results to return (default 20, max 50).
    offset: Pagination offset (default 0).
get_statsA

Get pre-computed session aggregates. Costs 1 credit.

Returns total sessions, total seconds, current streak in days, and credits remaining. Offloads all calendar arithmetic to the server.

list_activitiesB

List available activity types (FREE, PUBLIC, and your PRIVATE). Free (0 credits).

create_activityA

Create a custom PRIVATE activity visible only to your account. Free (0 credits).

Args:
    activity_name: Name for the new activity (max 64 characters).
    description: Optional description of the activity.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/thunderrabbit/jikan'

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