Skip to main content
Glama
DannyTrillion

second-opinion

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SECOND_OPINION_MODENoSet to 'advisory' to make the hook never deny, only ask with the receipt attached.

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
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
second_opinionA

Deterministic pre-trade check for an AI-proposed Binance trade. Classifies the current chart into measurable setups, computes the historical base rate of the proposed trade on this symbol (median forward return, hit rate, sample size, 95% CI), the round-trip cost from the live order book and fees, and returns APPROVE / CAUTION / VETO with every number that drove it. Call this before any order tool.

base_ratesB

Historical forward-return statistics for every setup on a symbol, plus which setups are active on the latest completed daily bar.

cost_estimateA

Round-trip cost in basis points for a given notional: taker fees both legs plus order-book impact both legs, measured against mid from the live Binance depth.

list_setupsC

The setup taxonomy Second Opinion can test, and the thesis words that map to each.

audit_logB

Recent Second Opinion decisions from the hash-chained audit log, and whether the chain verifies.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources