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
}

Tools

Functions exposed to the LLM to take actions

NameDescription
forge_buildC

Compile a Foundry project (forge build). Returns compiler output including warnings and errors.

forge_testB

Run tests in a Foundry project (forge test). Supports filtering by test name, contract, and path. Can fork from a live network and generate gas reports.

forge_scriptA

Run a Forge script (forge script). Use for deployments, migrations, and complex on-chain interactions. Pass broadcast=true to send transactions on-chain.

forge_createB

Deploy a contract (forge create). Returns the deployed contract address, transaction hash, and deployer. Requires a signing method (private key, keystore, hardware wallet, etc.).

forge_verifyB

Verify a deployed contract on a block explorer (forge verify-contract). Supports Etherscan, Sourcify, and Blockscout.

forge_coverageC

Generate a test coverage report (forge coverage).

forge_snapshotA

Create or compare gas snapshots (forge snapshot). Use diff=true to compare against existing .gas-snapshot, check=true to fail on changes.

forge_fmtA

Format Solidity source files (forge fmt). Use check=true to verify formatting without changes.

forge_lintC

Lint Solidity source files (forge lint).

forge_cleanB

Remove build artifacts from a Foundry project (forge clean).

forge_initC

Scaffold a new Foundry project (forge init).

forge_installA

Install dependencies for a Foundry project (forge install). If git submodule errors occur, try with noGit=true.

forge_treeC

Display the dependency tree of a Foundry project (forge tree).

forge_inspectA

Inspect a contract's compiled artifacts (forge inspect). Retrieve ABI, bytecode, storage layout, method identifiers, gas estimates, and more.

forge_selectorsB

List all function selectors from compiled contracts (forge selectors list).

forge_configB

Display the fully resolved Foundry configuration (forge config). Shows all settings from foundry.toml merged with defaults and environment overrides.

forge_cloneB

Clone a verified contract from a block explorer into a local Foundry project (forge clone).

cast_callA

Read-only call to a deployed contract — no gas spent, no state change (cast call).

cast_sendC

Send a state-changing transaction to a deployed contract (cast send).

cast_estimateC

Estimate gas for a transaction (cast estimate).

cast_balanceC

Query the ETH balance of an address (cast balance).

cast_nonceC

Query the transaction nonce of an address (cast nonce).

cast_blockB

Get block information (cast block). If no blockTag is given, returns the latest block number (cast block-number).

cast_txC

Get transaction details by hash (cast tx).

cast_receiptB

Get a transaction receipt by hash (cast receipt).

cast_gas_priceC

Get the current gas price (cast gas-price).

cast_codeC

Get the deployed bytecode of a contract (cast code).

cast_storageC

Read a raw storage slot of a contract (cast storage).

cast_logsC

Filter and retrieve event logs (cast logs).

cast_abi_encodeC

ABI-encode values for a given Solidity function signature (cast abi-encode).

cast_abi_decodeB

Decode ABI-encoded hex data back into human-readable values (cast abi-decode).

cast_calldata_decodeB

Decode raw transaction calldata into function arguments (cast calldata-decode).

cast_convertB

Convert between Ethereum value formats (cast to-wei, from-wei, to-hex, to-dec, to-bytes32, to-base).

cast_keccakC

Compute the Keccak-256 hash of data (cast keccak).

cast_sigA

Get the 4-byte function selector from a function signature (cast sig).

cast_interfaceC

Generate a Solidity interface from a contract address or ABI file (cast interface).

cast_rpcA

Send a raw JSON-RPC request (cast rpc). Escape hatch for any RPC method not covered by other tools.

cast_walletB

Wallet utilities: generate new wallets, derive addresses, or sign messages (cast wallet).

anvilB

Start or check a local Anvil development node. Supports forking from a live network. Default port: 8545.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 39 tools

Disambiguation4/5

Most tools map cleanly to distinct Foundry/Cast/Anvil commands, with clear separation between read-only (cast_call) and write (cast_send) operations. Minor ambiguity exists between forge_script and forge_create for deployments, between cast_abi_decode and cast_calldata_decode, and around cast_rpc as a broad escape hatch.

Naming Consistency5/5

Names follow a very consistent snake_case verb_noun pattern with clear forge_ and cast_ prefixes grouping related commands. The lone anvil tool is named after its CLI command and remains predictable in context.

Tool Count2/5

With 39 tools, the surface is heavy for an agent to navigate and includes many thin one-command wrappers that could be consolidated. While each wrapper maps to a real command, the count exceeds the practical 15-25 range for coherent selection.

Completeness4/5

The set covers the core Forge, Cast, and Anvil workflows well: build, test, deploy, verify, inspect, cast reads/writes, ABI helpers, and Anvil startup. Some gaps remain, such as stopping an Anvil node, chain-id/proof-style cast utilities, and less common Forge maintenance commands.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues