Digital Life Library MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AGENT | Yes | The agent id that records 'who saved' an entry, fixed at startup via the --agent flag (the model cannot set it or impersonate others). It must first be registered in library.config.json under the agents key. | |
| DLOLIB_HOME | No | The library directory (equivalent to the --home flag). Defaults to ~/.digital-life-library when neither is provided. This directory holds your own data and should not be committed to the repo. | ~/.digital-life-library |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| library_lookupA | 在图书馆的工具书里查一个梗、一句话或半句话(比如别人说的一句你没听懂的网络用语)。可以只给半句,写错一两个字也找得到。找不到的话,可以去搜一下,弄懂了再用 library_save 存一句进来。歌词不收(只有已经成了梗的一两句例外),歌词可以另外查。 |
| library_browseA | 不查具体哪个梗,随便逛一逛图书馆的工具书:按话题翻(mode=topic,value 写类型,比如 谐音、引用;不写 value 就看有哪些话题)、按来源翻(mode=source,比如 自己学的、打底的数据集名)、看最近新增的(recent)、随便翻翻(random)。一页最多十条,只给名字和半句意思;想看全部再用 library_lookup 查名字。 |
| library_saveA | 把你弄懂的一个梗用自己的话存进图书馆,下次就能直接查到。要写:梗的名字、一句话意思(80 字以内,用自己的话),以及在哪碰到的(where,比如哪个群、哪个视频);如果是自己去搜到的,可以附上网址(url)。不要存别人的号码、手机号、邮箱这类个人信息,也不用抄整段歌词(歌词不收,抄了的那部分不会存)。已经有的梗不会重复存。 |
| library_markB | 给图书馆里的一条标状态:过时了(dated)、有点过气(fading)、正流行(active),也可以隐藏它。标成过时的梗不会再被主动提示,但查的时候还是找得到。 |
| library_scanC | 看一句话里有没有图书馆里收着的梗(只认三个字以上或带字母的梗名)。用不用、怎么接,由你自己决定。 |
| shelf_listB | 看书架上有哪些书、各自读到哪了。 |
| shelf_readA | 接着上次读到的地方往下读一段(停在段落结尾)。读到哪会自动记住。想从头读可以 restart。 |
| shelf_statusC | 给书架上的一本书标一下你自己的状态:想读(want)、在读(reading)、读完了(done)。 |
| shelf_bookmarkC | 在现在读到的位置夹一个书签,可以写一句自己的感想。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 9 tools
Each tool has a clearly distinct purpose: library_lookup finds a specific meme, library_browse explores the collection, library_scan detects known memes inside a sentence, and shelf_* tools handle separate reading-tracker actions. Overlaps are explicitly clarified in the descriptions.
The library_ and shelf_ prefixes create a predictable resource grouping, and most suffixes are verbs. Minor inconsistency exists because shelf_status uses a noun while shelf_list/read use verbs, but the set remains easy to read.
Nine tools is well within the ideal 3–15 range and splits naturally across two subdomains: five library tools and four shelf tools. No obvious filler tools are present.
The library side covers lookup, browse, save, mark, and scan but lacks explicit delete/update operations, relying on hide to approximate removal. More significantly, the shelf side has no add-book operation, so agents cannot populate or fully manage the book collection.