Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GEMINI_API_KEYYesGemini API key created in Google AI Studio (aistudio.google.com/apikey).
OPENAI_API_KEYYesOpenAI API key created at platform.openai.com/api-keys.

Instructions

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

Brücke zu ChatGPT (OpenAI API, kostenpflichtig, sparsam nutzen), Gemini (nur kostenlose Modelle) und zum Menschen (handoff_to_me). Antworten mit 'RÜCKFRAGE NÖTIG' bedeuten: erst die Person fragen, dann mit dem entsprechenden Bestätigungs-Flag erneut aufrufen. Antworten mit 'STOPP' bedeuten: keine Wiederholung, Person informieren, Handoff anbieten.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

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

Tools

Functions exposed to the LLM to take actions

NameDescription
set_balanceA

Setzt den aktuellen OpenAI-Guthabenstand (USD), z. B. nach dem Nachfüllen. Hebt eine evtl. bestehende Sperre nach einem Quota-Fehler auf.

usage_reportB

Zeigt geschätzten OpenAI-Reststand, Verbrauch diesen Monat und wofür.

generate_imageA

Erzeugt Bild(er) mit der OpenAI Images API und speichert sie als Datei.

- output_path: Zielordner (Standard: <Projekt>/assets/images) ODER kompletter Dateipfad.
- filename: Dateiname ohne Endung (Standard: aus dem Prompt abgeleitet).
- quality: Standard "medium". "high" NUR auf ausdrücklichen Wunsch der Person.
- transparent_background: true für Sprites/Charaktere (PNG mit Alpha).
- n: Anzahl Bilder (Obergrenze pro Anfrage siehe config).
- confirmed: erst true setzen, nachdem die Person Kosten über der Schwelle bestätigt hat.
- low_balance_ok: erst true, nachdem die Person bei kritischem Kontostand zugestimmt hat.
- project_dir: absoluter Projektpfad (für Standard-Zielordner assets/images).
Vorher der Person kurz sagen, was erzeugt wird und in welcher Qualität.
ask_chatgptB

Fragt ChatGPT über die OpenAI API (Standard: günstiges Modell). Nur nutzen, wenn es echten Mehrwert bringt (Zweitmeinung, nachweisliche Stärke). Kostenpflichtig; Regeln wie bei generate_image (confirmed / low_balance_ok).

ask_geminiA

Fragt Gemini (nur kostenlose Modelle). Gut für Video-/Audio-Analyse, sehr lange Dokumente/PDFs, Bilder und Fragen mit Google-Suche (use_google_search=true). - files: absolute Pfade zu Bildern, PDFs, Audio, Video, Text. Achtung Datenschutz: Eingaben im kostenlosen API-Tarif kann Google zur Verbesserung nutzen. Keine vertraulichen/persönlichen Inhalte ohne Zustimmung der Person senden. Bei Limit (429 / limit: 0) wird automatisch ein anderes Free-Modell probiert, sonst kommt eine Wartezeit bzw. ein Handoff-Vorschlag zurück.

handoff_to_meA

Erstellt eine Aufgabe für die Person (alles, was Claude/ChatGPT/Gemini nicht selbst können oder was Geld kosten würde) und trägt sie in /handoffs.md ein.

- steps: konkrete Schritte. where: App/Website oder "offline/physisch".
- bring_back: was zurückkommen soll (Datei, Text, Foto, Messwert, Bestätigung).
- urgency: blockiert sofort / blockiert später / nicht blockierend.
- copy_prompt + prompt_settings: fertiger Prompt für ChatGPT/Gemini im Browser und die
  richtige Einstellung (z. B. Modell, Modus, Länge).
- hardware: Liste von {"name", "menge", "kosten_ca", "bezugsquelle"}.
- expected_file_types: z. B. ["audio"] oder [".mp3", ".wav"]. Wenn gesetzt, wird der
  Download-Ordner bis zu 15 Minuten überwacht; nur NEUE passende Dateien werden umbenannt
  und nach target_subdir (Standard: assets/images|audio|other) verschoben.
- project_dir: absoluter Projektpfad (Standard: aktuelles Projekt).
Text, Fotos und Antworten gibt die Person direkt im Chat. Während sie arbeitet, mit
allem weitermachen, was nicht davon abhängt.
handoff_statusC

Status der Download-Überwachung eines Handoffs bzw. Liste offener Handoffs. wait_seconds (max. 600): so lange auf das Eintreffen der Datei warten.

complete_handoffB

Hakt einen Handoff in handoffs.md ab (z. B. wenn die Person Text/Foto im Chat geliefert hat).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 8 tools

Disambiguation5/5

Each tool maps to a clearly distinct action or resource: balance administration, OpenAI text/image calls, Gemini multimodal calls, and a three-step handoff lifecycle. ask_chatgpt/ask_gemini and generate_image all call external models, but provider, cost, and media constraints are explicit enough that boundaries are clear.

Naming Consistency4/5

All names are snake_case and most follow a verb_noun pattern (set_balance, generate_image, ask_chatgpt, ask_gemini, complete_handoff). The exceptions are noun-first/status names like usage_report, handoff_status, and handoff_to_me, which are readable but break the dominant verb_noun convention.

Tool Count5/5

Eight tools are well-scoped for an AI bridge: balance setting/reporting, three AI/API operations, and three handoff lifecycle tools. There is no obvious redundancy or missing slot that would require more or fewer tools.

Completeness4/5

The surface covers the core workflows: set/report balance, generate images, ask ChatGPT, ask Gemini, and create/check/complete handoffs. Minor gaps exist around editing or cancelling handoffs and richer handoff retrieval, but agents can work around these.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues