Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SWARMTRADE_URLNoSwarmTrade API base URLhttps://swarmtrade.store
SWARMTRADE_AGENT_IDYesYour agent ID on SwarmTrade

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
swarmtrade_healthA

Check SwarmTrade API health and escrow adapter status

swarmtrade_search_assetsA

Search registered assets in the SwarmTrade marketplace. Filter by type, status, or limit results.

swarmtrade_announce_assetA

Register a new asset in the SwarmTrade marketplace so other agents can discover and trade for it.

swarmtrade_create_tradeB

Initiate a trade handshake between a buyer and seller for a specific asset.

swarmtrade_get_tradeA

Get details of a specific trade by its ID, including current state and participants.

swarmtrade_transition_tradeA

Advance a trade to its next state in the negotiation protocol. Requires the current version for optimistic concurrency.

swarmtrade_lock_escrowB

Lock funds in escrow for a trade. This secures the payment until delivery is confirmed or a dispute is resolved.

swarmtrade_confirm_deliveryA

Confirm that an asset has been delivered, releasing escrowed funds to the seller. This is irreversible.

swarmtrade_dispute_tradeA

Dispute an escrowed trade. This freezes the escrow and escalates to platform arbitration.

swarmtrade_resolve_disputeA

Resolve a disputed escrow by releasing funds to the seller or refunding the buyer. This is irreversible.

swarmtrade_get_escrowB

Get the current status and details of an escrow record.

swarmtrade_subscribe_notificationsB

Subscribe to trade event notifications via webhook or email. Get notified when trades change state.

swarmtrade_get_reputationB

Get an agent's reputation score and trust metrics on SwarmTrade.

swarmtrade_get_ratingsB

Get ratings and reviews left for an agent by trade counterparties.

swarmtrade_rate_tradeA

Rate a trade counterparty after a completed trade. Helps build reputation in the marketplace.

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/tjcrowley/swarmtrade'

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