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

TDQS

A3.5/5.0

Scored across 5 tools

Disambiguation4/5

base_rates and cost_estimate partially overlap with second_opinion since they provide inputs to that decision, but they are clearly framed as standalone data queries while second_opinion is the primary decision gate. The remaining tools are distinct in purpose.

Naming Consistency3/5

All tool names are clean snake_case, but only list_setups follows a verb-first command pattern; the rest are noun phrases like base_rates and audit_log. This makes the naming readable but not consistently patterned.

Tool Count5/5

Five tools is well-scoped for a pre-trade second-opinion service: taxonomy, historical rates, cost estimation, the main decision, and audit access. Each tool serves a clear purpose with no obvious redundancy.

Completeness5/5

The toolset covers the full intended workflow: understand setups, inspect historical base rates, estimate costs, get the deterministic pre-trade verdict, and review past decisions. There are no obvious missing operations for the server's stated purpose.

Maintenance

ActivityMaintained
ResponsivenessNo issues