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

Tools

Functions exposed to the LLM to take actions

NameDescription
get_compiler_version

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

compile_tolk

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/*) are resolved automatically. Returns compiled Fift code, BoC (Bag of Cells) in base64, and the code hash.

check_tolk_syntax

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

generate_deploy_link

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/iz-tolk-mcp'

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