Poobah MCP
Tool Reference
Chain Operations

Chain Operations

Tools for managing blockchain connections and retrieving chain information.

Note: All chain tools support the optional userId parameter for session persistence. Include it in every call to maintain chain state across reconnections.

get_chain_config

Get the current chain configuration.

Parameters

None required.

Response

Returns current chain ID, RPC endpoint, and configuration details.


switch_chain

Switch to a different blockchain.

Parameters

ParameterTypeRequiredDescription
chainIdstringYesThe chain ID to switch to (e.g., "andromeda-1", "galileo-4")
kernelAddressstringNoCustom kernel address to use instead of the default
userIdstringNoSession identifier for persistent state

Example

{
  "chainId": "galileo-4"
}

With Custom Kernel

{
  "chainId": "galileo-4",
  "kernelAddress": "andr1customkernel..."
}

list_available_chains

List all available chains that can be connected to.

Parameters

None required.

Response

Returns a list of supported chains with their chain IDs and configuration.


get_chain_status

Get current blockchain status including height, chain ID, and latest block info.

Parameters

ParameterTypeRequiredDescription
includeBlockbooleanNoInclude latest block details (default: false)

Example

{
  "includeBlock": true
}

Response

Returns current block height, chain ID, and optionally the latest block details.


get_block_info

Get detailed information about a specific block.

Parameters

ParameterTypeRequiredDescription
heightnumberNoBlock height to query. Uses latest block if not specified.
includeTxsbooleanNoInclude full transaction details (default: false)

Example

{
  "height": 1234567,
  "includeTxs": true
}

Response

Returns block header, hash, timestamp, and optionally transaction data.