Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
toon_encode

Convert data to TOON (Token-Oriented Object Notation) format to reduce token usage by 50-70%.

Supports: JSON, CSV, TSV, XML, HTML tables, YAML, and raw objects.

TOON uses a header-based format where field names are defined once:

  • JSON: {"id":1,"name":"test"} → [id,name]\n1,test

  • Reduces repetitive keys in arrays of objects

Use this before sending large datasets to LLMs to save tokens and costs.

toon_decode

Decode TOON format back to JSON object or array.

toon_analyze

Analyze data and show potential token savings with TOON encoding.

toon_optimize_prompt

Optimize a prompt containing data for token efficiency.

Detects data structures within the prompt and converts them to TOON format, adding instructions for the LLM to understand the format.

Returns the optimized prompt with estimated token savings.

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/elminson/toon-mcp'

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