Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RPC_URLNoBase RPC endpointhttps://mainnet.base.org
DEPLOYER_PRIVATE_KEYYesPrivate key required for write operations (create, release, refund, dispute)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
create_escrowA

Create a new P2P escrow deal on Base. For ETH deals, the ETH is locked in the contract. For ERC-20 deals, tokens are transferred from your wallet (approval handled automatically). A flat escrow fee is charged in ETH. Requires DEPLOYER_PRIVATE_KEY env var.

release_escrowA

Release escrowed funds to the seller. Only the buyer can call this. Marks the deal as complete. Requires DEPLOYER_PRIVATE_KEY env var.

refund_escrowA

Refund escrowed funds back to the buyer. Only the buyer can call this. Use when the seller fails to deliver. Requires DEPLOYER_PRIVATE_KEY env var.

dispute_escrowA

Flag a dispute on an active escrow deal. Either buyer or seller can call this. Funds stay locked until the treasury resolves the dispute. Requires DEPLOYER_PRIVATE_KEY env var.

get_dealB

Get details of an escrow deal by its ID. Returns buyer, seller, token, amount, status, creation time, and description.

get_buyer_dealsA

Get all escrow deal IDs where the given address is the buyer.

get_seller_dealsA

Get all escrow deal IDs where the given address is the seller.

get_escrow_infoA

Get Escrow contract info — current fee, total deals created, treasury address, contract address. Use to verify the contract is live.

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/lordbasilaiassistant-sudo/base-escrow-mcp'

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