Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TOKENLAB_API_KEYNoOptional API key required for inference helper tools
TOKENLAB_API_BASENoOptional base URL for the TokenLab APIhttps://api.tokenlab.sh

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_modelsB

List public TokenLab models, optionally filtered by recommended task.

get_modelA

Fetch public TokenLab model details for one model ID.

get_model_pricingA

Fetch public TokenLab pricing details for one model ID.

compare_modelsA

Compare public TokenLab model details and pricing for several model IDs.

create_chat_completionB

Create a non-streaming TokenLab OpenAI-compatible Chat Completions call. Requires TOKENLAB_API_KEY.

create_responseA

Create a non-streaming TokenLab Responses API call with text or native structured input. Requires TOKENLAB_API_KEY.

create_anthropic_messageA

Create a non-streaming TokenLab Anthropic Messages call with native messages, multimodal blocks, and tools. A prompt shortcut remains available for simple calls. Requires TOKENLAB_API_KEY.

create_gemini_contentB

Create a TokenLab Gemini generateContent call with native contents, multimodal parts, generation config, and tools. A prompt shortcut remains available for simple calls. Requires TOKENLAB_API_KEY.

get_api_overviewA

Fetch TokenLab's agent-readable API overview.

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/hedging8563/tokenlab-mcp-server'

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