Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENAI_MODELNoModel name for generation (e.g., gpt-4). Optional.
OPENAI_API_KEYNoOpenAI API key for generation (required for OpenAI or custom endpoint).
OPENAI_BASE_URLNoCustom base URL for OpenAI-compatible API.
ENABLE_GENERATIONNoSet to 'true' to enable the generate_with_grammar tool.
AZURE_OPENAI_API_KEYNoAzure OpenAI API key (if using API key auth).
AZURE_OPENAI_ENDPOINTNoAzure OpenAI endpoint URL (e.g., https://your-resource.openai.azure.com/).
AZURE_OPENAI_API_VERSIONNoAzure OpenAI API version (e.g., 2025-01-01-preview). Optional.

Capabilities

Features and capabilities supported by this server

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

Tools

Functions exposed to the LLM to take actions

NameDescription
validate_grammarA

Validate llguidance grammar completeness and consistency using llguidance's built-in validator. Returns validation result with any errors or warnings.

run_batch_validation_testsA

Run batch validation tests from a JSON file against an llguidance grammar. Test file should contain array of {input, should_parse, description?} objects. Returns high-level statistics (total, passed, failed, success_rate) and detailed information for failed tests.

get_llguidance_documentationA

Fetch the llguidance grammar syntax documentation.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
llguidance Grammar Syntax DocumentationComplete llguidance grammar syntax documentation from the official GitHub repository

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/guidance-ai/guidance-lark-mcp'

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