Skip to main content
Glama
chetto1983

Broker Analysis MCP

by chetto1983

technical_indicators

Read-only

Calculate standard market indicators for a ticker—SMAs, RSI, MACD, Bollinger Bands, ATR, and 52-week high/low—with adjustable periods to support market analysis.

Instructions

Snapshot of standard technical indicators with adjustable parameters: close, two SMAs with the price's distance from each, RSI, MACD, Bollinger bands, ATR in currency and as % of the close, 52-week high and low with distances. Keys carry the period (sma50, rsi14, atr14). Use a period long enough for the slow SMA. For custom indicators, expressions, conditions or a chart use custom_analysis.

Input Schema

NameRequiredDescriptionDefault
periodNo1y
tickerYes
sma_fastNo
sma_slowNo
macd_fastNo
macd_slowNo
atr_periodNo
rsi_periodNo
bollinger_kNo
bollinger_nNo
macd_signalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered; the description adds that the result is a point-in-time snapshot and that keys are period-suffixed (sma50, rsi14, atr14), which is real behavioral context. It stops short of saying what happens when the period is too short for the slow SMA (error vs. omitted key) or how the values are unit-typed beyond ATR.

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

Conciseness5/5

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

Front-loaded with the payload contents, then key naming, then the usage constraint, then the alternative-tool pointer -- roughly five dense sentences with no filler. Every sentence adds information an agent would otherwise have to guess.

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?

Because there is no output schema, the description's enumeration of returned fields and key naming convention does the heavy lifting well, and the sibling pointer closes the main ambiguity. The notable remaining gap is the 'period' string parameter, whose accepted formats are undocumented in both schema and description.

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

Parameters3/5

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

With 0% schema description coverage across 11 parameters, the description must carry the load and only partly does: it maps to the SMA fast/slow pair, the RSI/MACD/Bollinger/ATR groups, and explains the period-embedded key naming. It says nothing about bollinger_k vs bollinger_n, macd_fast/slow/signal roles, the string format of 'period' (default '1y'), or expected ticker format, leaving several parameters undocumented anywhere.

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

Purpose5/5

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

The description names a specific artifact (a snapshot of standard technical indicators) and enumerates exactly what it contains: close, two SMAs with distance from price, RSI, MACD, Bollinger bands, ATR in currency and percent, and 52-week high/low with distances. It also distinguishes itself from the sibling custom_analysis, so an agent can pick it without opening the schema.

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

Usage Guidelines5/5

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

It states the routing condition explicitly: for custom indicators, expressions, conditions, or a chart, use custom_analysis instead. It also gives a positive usage constraint -- the requested period must be long enough for the slow SMA -- which is precisely the kind of precondition an agent would otherwise get wrong.

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