Skip to main content
Glama

Load or initialise the persistent session profile

load_session_profile

Loads a cached profile of artist preferences and past work at session start, avoiding repeated tool calls. Creates a default skeleton if none exists.

Instructions

Reads ~/.tdmcp/session-profile.json (or a custom path) and returns a unified JSON snapshot that an agent should load at the start of every session. The profile caches the most recent outputs of style_memory, recall_similar_work, learn_conventions, and learn_from_my_corpus so the agent has the artist's preferences and past work at hand without running all four tools every time. If no file exists, a default skeleton is created and returned. Pass reset=true to overwrite with fresh defaults. The profile_path field in the returned object is always the resolved path that was read or written.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
profile_pathNoAbsolute path to the session-profile JSON file. Defaults to ~/.tdmcp/session-profile.json.
resetNoIf true, overwrite the existing profile with the built-in defaults and return them.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
profile_pathYesAbsolute path of the profile file read or written.
createdYesTrue when the profile was created fresh (no prior file).
resetYesTrue when reset=true was requested.
loaded_atYesISO-8601 timestamp of this read.
style_memoryNoSnapshot from style_memory (Memory/style.md) if previously captured.
recent_workNoTop hits from recall_similar_work if previously captured.
conventionsNoSnapshot from learn_conventions (Memory/conventions.md) if previously captured.
corpus_styleNoSnapshot from learn_from_my_corpus (Memory/corpus_style.md) if previously captured.
notesYesHuman-readable notes about what was loaded or defaulted.

Tool Definition Quality

Score is being calculated. Check back soon.

Install Server

Other Tools

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/Pantani/tdmcp'

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