Skip to main content
Glama

chronica_get_thread_info

Retrieve detailed information about a specific conversation thread to access structured memory and context across sessions.

Instructions

指定されたスレッドの情報を取得します。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
thread_idYesスレッドID

Implementation Reference

  • Handler logic for the chronica_get_thread_info tool, which extracts the thread_id from arguments and calls the store.get_thread_info method.
    elif name == "chronica_get_thread_info":
        thread_id = arguments.get("thread_id")
        
        if not thread_id:
            return [types.TextContent(
                type="text",
                text=json.dumps({"error": "validation_error", "message": "thread_id is required"}, ensure_ascii=False)
            )]
        
        thread_info = store.get_thread_info(thread_id)
        if thread_info:
            return [types.TextContent(
                type="text",
                text=json.dumps(thread_info, ensure_ascii=False, indent=2)
            )]
        else:
            return [types.TextContent(
                type="text",
                text=json.dumps({"error": "not_found", "message": f"Thread {thread_id} not found"}, ensure_ascii=False)
            )]
  • Registration of the chronica_get_thread_info tool, defining its schema and input requirements.
    types.Tool(
        name="chronica_get_thread_info",
        description="指定されたスレッドの情報を取得します。",
        inputSchema={
            "type": "object",
            "properties": {
                "thread_id": {
                    "type": "string",
                    "description": "スレッドID"
                }
            },
            "required": ["thread_id"]
        }
    )

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/Nic9dev/Chronica'

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