Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GEMINI_API_KEYNoGoogle Gemini API key for multimodal 3072-dim embeddings (gemini-embedding-2). Get one at Google AI Studio.
APPLE_DOCS_DB_PATHNoCustom path to the SQLite index database.data/apple-docs.db
GOOGLE_APPLICATION_CREDENTIALSNoPath to Service Account JSON key for Google Application Default Credentials (ADC). Alternatively, gcloud auth application-default login is detected automatically.

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
{}
logging
{}
prompts
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
discover_technologiesB

List and filter Apple frameworks that are indexed in the local database.

get_documentationA

Point lookup for detailed symbol or article documentation (Swift syntax declarations, parameters, return types, deprecations). Queries local SQLite database first, falling back to Apple DocC CDN. Not a search tool. Pass framework directly (e.g. framework: "SwiftUI") if known.

semantic_searchA

Hybrid search combining SQLite FTS5 lexical search and vector embeddings (local in-process EmbeddingGemma 2 or cloud Gemini) with Reciprocal Rank Fusion (RRF). Search by natural language intent, conceptual query, or API name. If vector embedding provider is unavailable or circuit breaker is open, automatically falls back to lexical search with notice in result text.

search_symbolsA

Lexical symbol search using SQLite FTS5 BM25 with exact-title boosting and wildcard pattern matching (*, ?). Accepts optional framework, platform, and symbolType. Purely local lexical search; does not call Gemini.

get_versionA

Get the current server version and runtime index metadata (symbol count, indexed frameworks, snapshot build timestamp, embedding status)

index_infoA

Report index HEALTH (not just metadata): freshness provenance, real search mode (lexical vs hybrid), kind distribution, unclassified-symbol count, and framework/path attribution defects that degrade symbolType and framework filtering

Prompts

Interactive templates invoked by user choice

NameDescription
modernize-navigationMigrate legacy SwiftUI NavigationView to modern iOS 16+ NavigationStack or NavigationSplitView with type-safe NavigationPath and navigationDestination.
scaffold-swiftdataScaffold a modern iOS 17+ SwiftData architecture including @Model classes, relationships, ModelContainer configuration, and SwiftUI @Query views.
audit-deprecationAudit Swift/SwiftUI/UIKit code for deprecated Apple platform APIs and suggest modern iOS 17+/18+ replacements with official documentation references.

Resources

Contextual data attached and managed by the client

NameDescription
Apple Documentation - Indexed FrameworksComplete list of indexed Apple frameworks with symbol counts and platform availability.
AVFAudio Primary Types and SymbolsKey classes, structs, protocols, and APIs for AVFAudio.
AVFoundation Primary Types and SymbolsKey classes, structs, protocols, and APIs for AVFoundation.
AVKit Primary Types and SymbolsKey classes, structs, protocols, and APIs for AVKit.
AppKit Primary Types and SymbolsKey classes, structs, protocols, and APIs for AppKit.
AuthenticationServices Primary Types and SymbolsKey classes, structs, protocols, and APIs for AuthenticationServices.
BundleResources Primary Types and SymbolsKey classes, structs, protocols, and APIs for BundleResources.
Combine Primary Types and SymbolsKey classes, structs, protocols, and APIs for Combine.
CoreData Primary Types and SymbolsKey classes, structs, protocols, and APIs for CoreData.
CoreLocation Primary Types and SymbolsKey classes, structs, protocols, and APIs for CoreLocation.
Distributed Primary Types and SymbolsKey classes, structs, protocols, and APIs for Distributed.
Foundation Primary Types and SymbolsKey classes, structs, protocols, and APIs for Foundation.
LocalAuthentication Primary Types and SymbolsKey classes, structs, protocols, and APIs for LocalAuthentication.
MapKit Primary Types and SymbolsKey classes, structs, protocols, and APIs for MapKit.
ObjectiveC Primary Types and SymbolsKey classes, structs, protocols, and APIs for ObjectiveC.
Observation Primary Types and SymbolsKey classes, structs, protocols, and APIs for Observation.
PassKit Primary Types and SymbolsKey classes, structs, protocols, and APIs for PassKit.
RealityKit Primary Types and SymbolsKey classes, structs, protocols, and APIs for RealityKit.
RegexBuilder Primary Types and SymbolsKey classes, structs, protocols, and APIs for RegexBuilder.
Security Primary Types and SymbolsKey classes, structs, protocols, and APIs for Security.
StoreKit Primary Types and SymbolsKey classes, structs, protocols, and APIs for StoreKit.
Swift Primary Types and SymbolsKey classes, structs, protocols, and APIs for Swift.
SwiftData Primary Types and SymbolsKey classes, structs, protocols, and APIs for SwiftData.
SwiftUI Primary Types and SymbolsKey classes, structs, protocols, and APIs for SwiftUI.
Synchronization Primary Types and SymbolsKey classes, structs, protocols, and APIs for Synchronization.
UIKit Primary Types and SymbolsKey classes, structs, protocols, and APIs for UIKit.
Vision Primary Types and SymbolsKey classes, structs, protocols, and APIs for Vision.
WebKit Primary Types and SymbolsKey classes, structs, protocols, and APIs for WebKit.
WidgetKit Primary Types and SymbolsKey classes, structs, protocols, and APIs for WidgetKit.
Xcode Primary Types and SymbolsKey classes, structs, protocols, and APIs for Xcode.
visionOS Primary Types and SymbolsKey classes, structs, protocols, and APIs for visionOS.

TDQS

A3.7/5.0

Scored across 6 tools

Disambiguation4/5

The two search tools are properly differentiated (semantic_search = hybrid/intent-based, search_symbols = purely local lexical/BM25 with wildcards), and discover_technologies vs get_documentation have distinct browse-vs-lookup roles. The weakest boundary is get_version vs index_info, which both report index metadata, though index_info is explicitly framed as health/defect reporting.

Naming Consistency3/5

All names are snake_case, but the pattern is mixed: four are verb_noun (discover_technologies, get_documentation, search_symbols, get_version) while semantic_search and index_info are noun phrases with no verb, and 'index_info' vs 'get_version' use different idioms for sibling metadata tools.

Tool Count5/5

Six tools is well-scoped for a local Apple docs index: one per core need (browse frameworks, point lookup, two search modes, version, health). Nothing feels padded or missing from the count perspective.

Completeness4/5

Covers discovery, symbol/article lookup, two complementary search strategies, and index diagnostics, which is a full read-only lifecycle for a docs server. Minor gaps: no related-symbols/see-also traversal, no batch/multi-symbol lookup, and no way to list articles within a framework short of searching.

Maintenance

ActivityActive
ResponsivenessNo recent community issues