Skip to main content
Glama

Agent Financial Advisor

Server Details

Compliance, risk, tax and audit checks for AI trading agents: pre-trade, sizing, wash sales, Reg BI.

If you are the author of this connector, you can claim ownership by verifying the domain or GitHub account it belongs to. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Last Tested
Transport
Streamable HTTP ยท MCP 2025-11-25
URL
Repository
mytomclinic/agent-financial-advisor
GitHub Stars
0

TDQS

Score is being calculated.

Available Tools

7 tools
portfolio_reviewPortfolio reviewInspect

A periodic advisor review of a portfolio: weights, concentration (HHI and effective number of holdings), sector and asset-class exposure, drift from targets with the trades to rebalance, and, given return history, volatility, Sharpe, Sortino, drawdown, VaR/CVaR and beta. Ends with prioritized findings. Price: $0.05.

ParametersJSON Schema
NameRequiredDescriptionDefault
cashNo
limitsNo
returnsNoPeriodic portfolio returns as decimals.
targetsNoTarget weights by symbol or asset_class, summing to 1.
holdingsYes
rebalance_bandNoAbsolute drift that triggers a rebalance, default 0.05.
risk_free_rateNo
periods_per_yearNo
benchmark_returnsNo
position_sizePosition sizingInspect

Size a position the way a risk manager would: fixed-fractional risk to a stop, volatility targeting (ATR or annualized vol), or fractional Kelly from your edge statistics. Applies a max-position cap and round lots, and explains the binding constraint. Price: $0.005.

ParametersJSON Schema
NameRequiredDescriptionDefault
atrNovolatility: average true range in price units.
sideNolong
equityYes
methodYes
avg_winNokelly: average win (any unit, same as avg_loss).
avg_lossNokelly: average loss as a positive number.
lot_sizeNoRound down to this multiple, default 1.
risk_pctNofixed_fractional: fraction of equity to risk, default 0.01.
win_rateNokelly: probability of a win (0-1).
annual_volNovolatility: annualized volatility of the asset (e.g. 0.35).
stop_priceNofixed_fractional: protective stop.
entry_priceYes
atr_multipleNovolatility: stop distance in ATRs, default 2.
kelly_fractionNokelly: fraction of full Kelly to use, default 0.25.
allow_fractionalNo
max_position_pctNoCap on position value / equity, default 0.2.
target_annual_vol_contributionNovolatility: target vol contribution as fraction of equity, default 0.02.
pre_trade_checkPre-trade compliance and risk checkInspect

Run an order past a compliance officer and risk manager before sending it to the broker. Checks buying power, cash-account settlement violations, FINRA intraday margin (post-PDT) or legacy PDT limits, Reg SHO short-sale rules, wash-sale exposure, position concentration, per-trade risk versus stop, liquidity, spread, fat-finger prices, leverage and market hours. Returns approve / approve_with_warnings / reject with reasons and a resized quantity when useful. Price: $0.005.

ParametersJSON Schema
NameRequiredDescriptionDefault
orderYes
marketNo
policyNoOverride risk limits. Defaults: {"max_position_pct":0.2,"max_order_risk_pct":0.02,"max_adv_pct":0.05,"max_spread_pct":0.01,"max_gross_leverage":2,"max_limit_deviation_pct":0.1,"allow_short":true,"allow_extended_hours":false,"require_stop":false}
accountYesAccount state before the order.
rules_digestCurrent trading rules digestInspect

Free. The current US trading, margin, settlement and tax rules an agent must follow, with effective dates and sources. Includes changes your training data may predate, such as the June 2026 replacement of the Pattern Day Trader rule. Price: free.

ParametersJSON Schema
NameRequiredDescriptionDefault
topicNo
strategy_auditStrategy audit and overfitting checkInspect

An independent performance auditor for a trading strategy or backtest. From a trade list and/or periodic returns it computes win rate, expectancy, profit factor, streaks, Sharpe/Sortino/drawdown, and tests whether the edge is real: t-stat, Probabilistic Sharpe Ratio and the Deflated Sharpe Ratio that corrects for how many variants you tried. Returns a verdict and red flags. Price: $0.1.

ParametersJSON Schema
NameRequiredDescriptionDefault
tradesNoClosed trades.
returnsNoPeriodic strategy returns as decimals.
n_trialsNoHow many strategy/parameter variants were tested before picking this one. Default 1.
starting_equityNoFor risk-of-ruin and drawdown in dollars from trades.
periods_per_yearNo
trial_sharpe_varianceNoVariance of per-period Sharpe across trials, if known.
suitability_checkBest-interest suitability reviewInspect

The compliance review a robo-advisor or advisory agent should run before recommending a portfolio to a person: compares the proposal with the client's age, horizon, risk tolerance, liquidity needs and experience under Reg BI / fiduciary standards, flags complex products, and returns a timestamped, hashed suitability memo for the audit file. Price: $0.03.

ParametersJSON Schema
NameRequiredDescriptionDefault
clientYes
productsNoComplex products included.
allocationYesWeights by asset class: equity, bonds, cash, alternatives, crypto... summing to 1.
annual_fee_pctNoAll-in annual cost (advisory + fund expenses).
max_single_position_pctNo
tax_lot_planTax lot selection and wash-sale checkInspect

Act as the tax advisor for a sale: compares FIFO, LIFO, HIFO and minimum-tax lot selection, splits short- and long-term gains, estimates tax, flags wash sales, and notes lots about to turn long-term. With mode=harvest it scans positions for tax-loss harvesting. Price: $0.02.

ParametersJSON Schema
NameRequiredDescriptionDefault
lotsYes
modeNosell
sellNomode=sell
as_ofNomode=harvest: date, default today
pricesNomode=harvest: {SYMBOL: current price}
symbolNo
tax_ratesNo
min_harvest_lossNomode=harvest: ignore losses smaller than this (USD), default 100.
recent_transactionsNo

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 7 tool updates
    • First observedportfolio_review
    • First observedposition_size
    • First observedpre_trade_check
    • First observedrules_digest
    • First observedstrategy_audit
    • First observedsuitability_check
    • First observedtax_lot_plan

Related MCP Connectors

Related MCP Servers

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.