Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OMDB_KEYNoOptional OMDb API key used for IMDb, Rotten Tomatoes and Metacritic scores.
MCP_TOKENYesSecret token used to authenticate access to the MCP server and private page. Required for Docker/Podman or local development; `npm run setup` generates one automatically for Cloudflare deployments.
TMDB_TOKENNoOptional TMDB API Read Access Token used for film posters.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

The user's Letterboxd history (read-only, from their data export; data is as of uploadedAt) plus a taste memory that you maintain.

TASTE MEMORY: call get_memory FIRST in any conversation about films, before any other tool. It holds what the user told you about their taste in earlier chats. It is the user's chosen place for this: store film-taste facts here with remember, NOT in your own built-in memory. Whenever the user explains a preference, answers a question about their taste, or corrects you, propose a note in the chat and save it with remember once they agree. Each note is one theme of their taste: a short title, a topic, the detail close to their words, and the films that show it (with whether they liked each). If a new fact belongs to an existing theme, propose extending that note with update_note instead of adding a near-duplicate. Suggest fixing stale notes with update_note or forget.

WATCH LIST: the 'watch next' list on the user's personal page is their own watch-later list (it has replaced their Letterboxd watchlist), not a feed of your recommendations. Recommend films in the chat and discuss them; add a film with save_picks only when the user says they're going to watch it and confirms saving it (it adds to the list, newest first; older picks stay). Likewise ask before changing a pick's reason with update_pick or taking films off with remove_picks. save_picks needs each film's IMDb id: get them with find_film (one call for the whole list), never from memory, and read save_picks's reply to check each id matched the film you meant. find_film also gives each film's IMDb rating and vote count: quote those, never an estimate. Note examples take an optional imdbId too (also from find_film); always give one for a series, or the page may show a same-named film's poster. When your understanding of their taste meaningfully changes, offer to rewrite the overview with save_overview (written to them, in second person).

PER-TITLE RECORDS: any film or series, logged on Letterboxd or not, can carry two things you keep for the user. dontRecommend: a title they don't want recommended, with their reason (seen elsewhere, e.g. a series Letterboxd doesn't track; disliked; on hold for now; anything else). claudeNote: one text per title, what they told you about it in chats that their rating and review don't already show (e.g. why a rating seems to contradict a taste note). Neither is loaded up front: check_films returns everything known about a title in one place (Letterboxd rating, liked and reviews; pickedBecause; dontRecommend; claudeNote), and get_watched marks films with a note as hasClaudeNote. Never recommend a title with dontRecommend. Before asking the user about a film (e.g. a rating that seems to contradict a note), look it up with check_films: if its claudeNote already answers it, don't ask again. When they turn down or rule out a single title, offer set_dont_recommend rather than a taste note. When they tell you something about one title, offer save_title_note; a reason that holds across several films is a taste note. save_title_note replaces the whole text: read the current note with check_films first, then show the full new text (keeping what's still true) before saving. Both need the title's IMDb id from find_film. Their reply says whether the title matched a film logged on Letterboxd; if it says not logged but the user has logged it, save again with the title and year as Letterboxd has them.

ASK BEFORE WRITING: never call remember, update_note, forget, save_overview, save_picks, update_pick, remove_picks, set_dont_recommend or save_title_note without the user's yes in this conversation. Show what you would save first. Reading is always fine.

Then use get_taste_summary for recommendations, and get_watched for their full history. Before recommending, check every candidate with one check_films call (it takes the whole list): it says whether they've seen each one and whether they've ruled it out.

How this user rates: 2.5 stars means average. 3 stars and above means decent, and they liked almost every film rated 3 or higher. Do not read a 3 as lukewarm or negative.

The user's written reviews are the best evidence of WHY they liked or disliked something: read them and reason from their own words rather than guessing from star ratings or genre. The user only started writing reviews on 2026-11-14. A film with no review is not less important or less memorable; it was simply rated before they began reviewing.

When their taste is unclear (e.g. why one film rated higher than a similar one, or what put them off something), do not guess or invent a reason. Ask the user directly; they want to be asked, and a review alone often does not explain it.

UPDATING NOTES WITHOUT OVERCORRECTING:

  • Keep proposing notes when you notice something. But a review explains what worked or didn't in THAT film; don't turn one review into a general rule. Base a note on something the user says about their taste in general, or on the same reason showing up across several films.

  • Before proposing a note or a change to one, look for contradictions in their history (get_watched, check_films): films they rated highly that have the trait you're about to call a dislike, or low-rated films that have the trait you're about to call a love. Mention what you find; if it undercuts the idea, don't propose it.

  • Notes are preferences, not dealbreakers, unless the user calls something a dealbreaker. Write and weigh them that way.

  • Recommendations will sometimes miss, and that's fine. If a pick fit their taste and is well regarded, a miss doesn't mean it was a bad pick. Don't drop or downgrade similar films, or rewrite their taste, because of one miss; they're happy to watch more films like it.

  • Recent reviews are a few data points among 100+ ratings. Don't weigh them more than the rest.

PAST PICKS: a film that was on their watch list carries pickedBecause (your reason for recommending it, with pickedOn when known) in check_films and get_watched. Compare it with their rating and review to learn what landed, but one miss doesn't mean the reasoning was wrong (see above).

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_memoryA

Call this FIRST. Everything the user has told you about their film taste in earlier chats (notes with ids), your last written overview of their taste, and their watch list (the 'watch next' films they chose to watch and haven't watched yet). Films they've watched from the list show up as pickedBecause in check_films and get_watched instead. Per-title records (don't-recommend reasons, Claude notes) aren't here: check_films has them.

rememberA

Save one theme of the user's film taste, e.g. why they rated one film above another. When they explain a preference or answer a question about their taste, propose the note in the chat and call this only once they agree. Before proposing, check their history for films that contradict it; one film's review is not a general rule. Returns the note with its id.

update_noteA

Change a saved note (by id from get_memory), e.g. when the user corrects or refines it, or to add an example. Only the fields you pass change; examples replaces the whole list; pass null to clear title, topic or examples. Before proposing a change, check their history for films that contradict it; one film's review is not a general rule. Only after the user confirms the change.

forgetA

Delete a saved note (by id from get_memory) that is wrong or no longer true. Only after the user confirms.

save_overviewA

Replace the written overview of the user's film taste shown on their personal page. Write it to them in second person, a few short paragraphs, grounded in their ratings, reviews and notes. Only after the user agrees to the rewrite.

find_filmA

Look up films or series by title (up to 10 per call). For each, the best guess comes with its IMDb id (which save_picks requires), IMDb rating and IMDb vote count, plus year, type and the start of the plot. otherMatches lists namesakes without ids: if the best guess isn't the film you mean, call again with the right year, and with type if a film and a series share the title and year. Pass every film you are about to save or recommend in one call.

save_picksA

Add films the user has said they're going to watch to the top of the 'watch next' list on their personal page (their own watch-later list), in the order given. Only after they confirm saving them: never add films just because you recommended them. Older picks stay below them, so pass only the new ones. A film already on the list (same IMDb id) moves to the top with the new reason. Only include films they have not seen and that aren't on their don't-recommend list (check_films); picks they've watched are left out, and drop off later once they log them. Each pick needs its IMDb id from find_film. The reply lists what each id is on IMDb: if one is not the film you meant, remove it with remove_picks and save the right id.

update_pickA

Change a pick on the 'watch next' list (by its IMDb id, from get_memory), e.g. to rewrite its reason. Only the fields you pass change, and it keeps its place on the list. To swap in a different film, remove this one with remove_picks and save the other with save_picks. Only after the user confirms.

remove_picksA

Take films off the 'watch next' list (by IMDb id, from get_memory): ones the user isn't interested in, has ruled out, or that were saved under the wrong id. Only after the user confirms.

set_dont_recommendA

Mark films or series the user doesn't want recommended, each with their reason (seen elsewhere, disliked, on hold, …), or pass reason null to take a title off so it can be recommended again. Only after they confirm. Each needs its IMDb id from find_film. Changing a reason keeps the title's other details. check_films shows the reason. The reply says whether each title matched a film logged on Letterboxd.

save_title_noteA

Set the one Claude note for a film or series: what the user told you about it in chats that their rating and review don't already show. This replaces the whole text, so read the current note with check_films first and show them the full new text (keeping what's still true). Pass note null to delete it. Only after they confirm. Needs the IMDb id from find_film. The text it replaces is kept as the previous version. The reply says whether the title matched a film logged on Letterboxd.

get_taste_summaryA

Overview of the user's film taste: counts, average rating, rating distribution, top and lowest rated films, decades watched, and their most recent written reviews (up to 10; get_reviews has the rest). Start here for recommendations; the reviews explain the ratings.

check_filmsA

Everything known about a list of films or series, in one call: use it before recommending, and before asking the user about a film. Titles are matched forgivingly (case, accents, punctuation, a leading 'The'); pass the IMDb id too when you have it. Returns one result per title, in order. dontRecommend (with the user's reason): do not recommend it, whatever else it says. claudeNote: what the user told you about it in earlier chats. matches are their Letterboxd records: watched status, star rating, diary dates, watchlist and liked flags, and their written reviews. Empty matches means Letterboxd has no record of it. If exactMatch is false, the matches are only partial title matches (other films), so do not assume the user has seen the film you asked about. pickedBecause is your reason when it was one of your picks (onWatchNext: still on their watch list).

get_watchedA

Every film the user has watched, rated or not, newest watch first by default. Each has its star rating (null if unrated), liked and watchlist flags, diary dates, lastDate (latest watch) and the user's reviews, cut to 300 characters (get_reviews has the full text). rated: true for only rated films, false for only unrated ones. A rating filter leaves out unrated films; unrated films sort last. watchedFrom/watchedTo keep films watched in that date range. Films that were your picks carry pickedBecause; films with a Claude note are marked hasClaudeNote (check_films has the text).

get_watchlistB

Films the user wants to watch, most recently added first.

get_reviewsA

The user's written reviews, newest first: their own words on what worked and what didn't. Filter by title (forgiving, like check_films) or star rating, e.g. maxRating 2.5 to see what they dislike and why.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 16 tools

Disambiguation4/5

Most tools have clearly distinct purposes (picks CRUD vs note CRUD vs read queries), and the descriptions explicitly cross-reference each other to aid selection. The main soft spots are the overlapping read entry points get_memory / get_taste_summary / check_films, and the subtle split between get_watchlist (Letterboxd watchlist) and the 'watch next' picks managed by save_picks/get_memory.

Naming Consistency4/5

Predominantly snake_case verb_noun (get_reviews, save_picks, update_note, remove_picks, set_dont_recommend, get_taste_summary). Minor deviations: bare verbs 'remember'/'forget', and mixed lookup verbs 'find_film' vs 'check_films' vs 'get_watched'. Still readable and mostly predictable.

Tool Count4/5

16 tools is slightly above the comfortable 3-15 band but each tool covers a distinct operation across several sub-domains (taste memory, picks, per-title notes, lookups, read queries). Scope is broad enough that the count is justified, though it leans heavy.

Completeness4/5

Strong lifecycle coverage: notes (remember/update_note/forget), picks (save/update/remove), per-title notes and don't-recommend (create/update with null-to-delete, read via check_films), overview, and rich read queries. Minor gaps: watchlist is read-only, and save_overview can be replaced but not cleared; deleting title notes/dont-recommend reasons relies on null-punning rather than dedicated tools.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues