Skip to main content
Glama
emile-fortier

paper-trader-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
APCA_API_KEY_IDNoAlpaca API key ID for historical data access.
PAPER_TRADER_DBNoPath to the SQLite database file.~/.local/share/paper-trader/paper-trader.sqlite3
APCA_API_SECRET_KEYNoAlpaca API secret key for historical data access.

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": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
paper_trade_recordA

Durably record a simulation-only whole-share US-equity DAY entry intent; never sends a live or broker-paper order. Without submitted_at, the server timestamps receipt. Historical submitted_at requires backtest=true. Regular hours only: pre-open DAY orders wait for the open; after-close or non-session DAY orders later expire.

paper_trade_getA

Read one durable simulated trade with native structured intents, fills, itemized fees, raw selected quotes, and immutable evaluation snapshots. No market-data or broker call is made.

paper_trade_listA

List durable simulated trades, optionally filtered by state. No market-data or broker call is made.

paper_trade_evaluateA

Evaluate a pending simulated entry/exit or mark an open position using delayed historical consolidated SIP top-of-book quotes; no order is sent. Buys use ask, sells use bid, latency and displayed size are enforced, and fees are itemized. A fill's execution time is its submitted_at plus latency (or session open); quote_as_of identifies the latest qualifying quote used at or before that instant. For entries, a separate position mark uses as_of. If as_of is omitted, it means now minus 16 minutes—not latest/live data. Read outcome_reason, state_after, next_action, and warnings; never infer a fill from an indeterminate outcome.

paper_trade_closeA

Durably record a simulation-only market DAY exit intent for an open trade; never sends a live or broker-paper order and does not close immediately. Evaluate later, after the 16-minute SIP safety window, to estimate fill.

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/emile-fortier/paper-trader-mcp'

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