Skip to main content
Glama

smart_money_analysis

Read-only

Compute banker/hot-money proxy signals from OHLCV to detect accumulation or distribution. Combines RSI-horizon, stochastic, and volume-flow scores into a consensus vote per symbol.

Instructions

Banker/hot-money proxy read for one symbol from price+volume history.

Three independent families, computed from Yahoo Finance OHLCV:

  • mcdx_style: RSI-horizon decomposition (banker RSI50 / hot-money RSI40 / retail RSI14, each scaled 0-20) — sustained slow-horizon strength that fast horizons can't fake reads as institutional accumulation.

  • banker_fund_oscillator: EMA(13)-smoothed 34-bar stochastic of the weighted typical price, 0-100, with BANKER_ENTRY/EXIT states.

  • volume_flow_composite: CMF(20) + MFI(14) + OBV trend + up/down volume balance → 0-100 accumulation score. Plus a consensus vote across the three.

These are documented, reproducible formula variants inspired by the public "banker fund" indicator family — NOT actual institutional-flow data, and not copies of any closed-source script.

Args: symbol: Bare ticker — EGX: "COMI", "TMGH"; US: "AAPL"; crypto pairs work via Yahoo notation ("BTC-USD"). exchange: EGX (maps to Yahoo .CA), BIST (.IS), TADAWUL (.SR); anything else passes the symbol to Yahoo unchanged. period: 1mo | 3mo | 6mo | 1y | 2y (default 6mo) interval: 1d (default) or 1h

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "symbol": "<symbol>"
    },
    "name": "smart_money_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNo6mo
symbolYes
exchangeNoEGX
intervalNo1d

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.0

TDQS

A3.8/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered; the description goes further by disclosing the data source (Yahoo Finance OHLCV), the exact construction of each score (RSI 50/40/14 scaled 0–20, EMA(13)-smoothed 34-bar stochastic 0–100, CMF/MFI/OBV composite 0–100), the BANKER_ENTRY/EXIT states, and a clear disclaimer of what the numbers are not. It does not discuss data-sufficiency requirements (a 34-bar stochastic needs sufficient history, and 1h+1mo combinations may be thin) or failure behavior for bad tickers.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded and the body is organized as a labeled bullet family list plus a compact Args block, so it scans well despite its length. Most sentences carry technical content, though the closing clause about not copying closed-source scripts reads as boilerplate rather than agent-relevant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and a non-trivial analytical computation, the description supplies the score ranges, state labels, and the consensus vote, which is most of what an agent needs to interpret results. It still omits the concrete response shape (result keys), minimum bar requirements for each indicator, and error handling for unresolvable symbols.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry all parameter meaning — and it largely does: symbol format with concrete EGX/US/crypto examples, exchange mapping to Yahoo suffixes (.CA, .IS, .SR) with a pass-through rule for anything else, enumerable period values with default, and interval options with default. Minor gaps remain: the exchange default (EGX) is implied rather than stated, and the validity constraints on interval vs period combinations are unmentioned.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb/resource statement — a 'banker/hot-money proxy read for one symbol from price+volume history' — and then enumerates the three indicator families (mcdx_style RSI decomposition, banker_fund_oscillator, volume_flow_composite) plus a consensus vote. An agent knows exactly what computation this performs. It stops short of naming which sibling (e.g. smart_volume_scanner, egx_smart_money_scanner) to prefer in a given situation, so it is clear but not sibling-differentiating.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use/when-not or naming of alternatives among the many scanning siblings. Usage is only implied by the single-symbol framing and by the interpretive caveat that these are formula proxies rather than real institutional-flow data. That caveat is genuinely useful guidance against over-reading the output, but routing guidance is absent.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.