Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
API_NINJAS_KEYNoAPI key for API Ninjas to get real macro numbers
OPENAI_API_KEYNoAPI key for OpenAI to enable LLM-generated meals
OPENWEATHER_API_KEYNoAPI key for OpenWeather to enable weather-based adjustment

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

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_food_nutrientsA

Look up macros (calories/protein/carbs/fat/fiber/sugar) for a food query via API Ninjas (cached).

get_current_conditionsA

Fetch current temperature and humidity for a city via OpenWeather.

compute_targetsB

Compute daily calorie + macro targets from a profile (Mifflin-St Jeor BMR -> TDEE -> goal).

generate_weekly_meal_planB

Generate a 7-day meal plan of concrete foods (LLM-proposed, API-Ninjas-grounded, reconciled to targets).

log_daily_intakeC

Record foods eaten on a date (default today) and return running totals.

adjust_daily_caloriesB

Compare a day's logged intake to target; if under, suggest catch-up foods / roll shortfall into tomorrow.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 6 tools

Disambiguation5/5

Each tool has a clearly distinct purpose, from computing targets to logging intake and generating meal plans. The weather tool is unrelated but still unique.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case, making them predictable and easy to understand.

Tool Count5/5

With 6 tools, the server is well-scoped for nutrition tracking without being overwhelming or underwhelming.

Completeness4/5

Core workflows are covered (targets, food lookup, logging, planning), but missing update/delete for logs and the weather tool is extraneous.

Maintenance

ActivityInactive
ResponsivenessNo issues