Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_compiler_versionA

Returns the version of the Tolk compiler (from @ton/tolk-js WASM). Use this to check which compiler version is available.

compile_tolkA

Compiles Tolk smart contract source code using @ton/tolk-js. Provide source files as a map of filename->content. The entrypoint file must be included. Standard library imports (@stdlib/, @fiftlib/) are resolved automatically. Supports pathMappings for custom @alias import resolution. Returns compiled Fift code, BoC (Bag of Cells) in base64, code hash, and compiler version.

check_tolk_syntaxA

Checks Tolk source code for syntax and type errors without returning full compilation output. Faster feedback loop for iterative development. Supports pathMappings for custom @alias import resolution. Returns OK + code hash on success, or error details on failure.

generate_deploy_linkA

Generates a TON deployment deeplink for a compiled Tolk contract. Accepts the compiled code BoC (base64) and optionally initial data BoC. Computes the contract address and returns ton:// deeplinks for wallet deployment.

Prompts

Interactive templates invoked by user choice

NameDescription
write_smart_contractGuided workflow for writing a new Tolk smart contract on TON
review_smart_contractSecurity-focused review of a Tolk smart contract
debug_compilation_errorHelp diagnose and fix a Tolk compilation error

Resources

Contextual data attached and managed by the client

NameDescription
language-guideComplete Tolk language syntax reference
stdlib-referenceStandard library modules and functions reference
changelogTolk compiler version history from v0.6 to latest
tolk-vs-funcFunC to Tolk migration guide — key differences and comparison
example-counterSimple counter smart contract example in Tolk
example-jettonJetton (fungible token) minter contract example in Tolk

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/izzzzzi/izTolkMcp'

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