Skip to main content
Glama

get_today_prompts

Retrieve today's learning prompts and questions to review study progress and track metacognitive development from LLM sessions.

Instructions

오늘 했던 질문들을 조회합니다. 사용자가 '오늘 뭐 공부했지?', '오늘 뭐 물어봤지?' 같은 요청을 할 때 사용합니다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Implementation of the 'get_today_prompts' tool. It retrieves prompts for the current date and formats them into a text response for the user.
    server.tool(
      "get_today_prompts",
      "오늘 했던 질문들을 조회합니다. 사용자가 '오늘 뭐 공부했지?', '오늘 뭐 물어봤지?' 같은 요청을 할 때 사용합니다.",
      {},
      async () => {
        const today = getToday();
        const dailyData = loadDailyPrompts(today);
    
        if (dailyData.prompts.length === 0) {
          return {
            content: [{ type: "text", text: "오늘 저장된 질문이 없습니다." }],
          };
        }
    
        const list = dailyData.prompts
          .map((p: PromptEntry, i: number) => {
            const time = new Date(p.timestamp).toLocaleTimeString("ko-KR", { hour: "2-digit", minute: "2-digit" });
            return `${i + 1}. [${time}] ${p.prompt}`;
          })
          .join("\n");
    
        return {
          content: [{ type: "text", text: `📝 오늘의 질문 (${dailyData.prompts.length}개)\n\n${list}` }],
        };
      }
    );

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/YUJAEYUN/learnlog-mcp'

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