Skip to main content
Glama
cabird
by cabird

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOSEIT_EMAILNoLose It! account email
LOSEIT_TOKENNoA `liauth` JWT, used instead of email/password
LOSEIT_PASSWORDNoLose It! account password
LOSEIT_POLICY_HASHNoGWT policy hash, if Lose It ships a new build
LOSEIT_STRONG_NAMENoGWT permutation, if Lose It ships a new build
LOSEIT_HOURS_FROM_GMTNoUTC offset in whole hours; auto-detected

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_foodA

Search the Lose It! food database. Returns candidate foods with a food_id to pass to log_food or describe_food.

describe_foodA

Get full nutrition detail and serving information for one food, identified by the food_id returned from search_food.

get_diaryA

Read the food diary for a day: every logged entry with calories and macros, plus the day's totals. Each entry carries an entry_id for delete_entry.

log_foodB

Log a food to a meal in the diary. Specify the portion EITHER as serving_amount + serving_unit (e.g. 120 and 'g') OR as servings (a multiplier of the food's default serving). Set dry_run to preview.

log_custom_foodA

Log a food by its exact nutrition values, without needing a match in the food database. Use this for restaurant meals, homemade dishes, or anything where you know the calories and macros but search_food has no good match. Values are per serving.

delete_entryA

Delete a diary entry. Get the entry_id from get_diary for the same day. A recoverable copy is written to local trash before deleting.

log_weightA

Record a weigh-in for a day. The unit follows the account's display setting (lb or kg).

whoamiA

Show which Lose It! account this server is authenticated as.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/cabird/loseit-mcp'

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