Skip to main content
Glama

list_activities

Discover available activity types for tracking behavioral sessions like meditation, focus, and exercise with the jikan server.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The list_activities tool handler function decorated with @mcp.tool(). Makes a GET request to /activities endpoint to retrieve available activity types (FREE, PUBLIC, and PRIVATE). Returns the response as dict.
    @mcp.tool()
    def list_activities() -> dict:
        """List available activity types (FREE, PUBLIC, and your PRIVATE). Free (0 credits)."""
        with _client() as client:
            response = client.get("/activities")
        return response.json()
  • server.py:123-123 (registration)
    Registration of list_activities as an MCP tool using the @mcp.tool() decorator.
    @mcp.tool()
  • Documentation reference to list_activities in start_session's docstring, guiding users to call list_activities to see all available activity type options.
    Use list_activities to see all options.

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