Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
APM_DB_PATHNoThe SQLite file. Same path for every session../account-pool.db
APM_ACCOUNTS_FILENoPools + accounts to load on startup../accounts.json
APM_LEASE_WAIT_MSNo0 = fail fast when the pool is empty; >0 = wait this long for one to free up.0
APM_DEFAULT_TTL_SECONDSNoHow long a lease lasts before it's reclaimable.1800

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
lease_accountA

Lease one account from the pool for browser login, EXCLUSIVELY, until you release it or the lease expires. No other session can be handed the same account while you hold it. You MUST call release_account with the returned lease_token when finished. If your task may run longer than the lease TTL, call renew_lease periodically to keep it.

release_accountA

Release a leased account so others can use it. Idempotent: releasing an already-released, expired, or unknown token returns released:false rather than erroring.

renew_leaseA

Extend (heartbeat) the current lease so long-running work is not reclaimed out from under you. If the lease already expired and was reclaimed (or the token is unknown), returns renewed:false — do NOT assume you still hold the account; call lease_account again.

pool_statusA

Observability for the pools: totals, how many are available vs leased, and per-account state (free / leased / expired). Credential values are NEVER returned.

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/ankitsxchdeva/account-pool-mcp'

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