Skip to main content
Glama
INo-xious

stockbit-mcp

by INo-xious

price_chart

Read-only

Generate an SVG candlestick chart for any IDX stock, showing volume, overlays, RSI/MACD, and support/resistance levels. Annotate zones and trends, then compare with the live Stockbit chart in your browser.

Instructions

Candlestick chart for an IDX stock, ALWAYS rendered as an SVG: daily candles with volume, optional overlays (SMA/EMA/Bollinger) and sub-panels (RSI, MACD), plus support/resistance levels drawn on. Returns the image AND writes a .svg, reporting the path in savedTo. Use technicals for the numbers; this is the picture. annotations draws your own levels, zones, trend lines and markers, which is how you show the evidence behind an analysis. Drawing happens on this render only — nothing is written to the Stockbit account. Whenever this draws, it also opens the symbol's Stockbit chart in the user's own default browser so they can compare the drawing against the live chart in their own session. stockbitUrl in the result is that page; pass open_in_stockbit: false to skip opening it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoLatest session, YYYY-MM-DD
barsNoSessions to plot (default 120)
fromNoEarliest session, YYYY-MM-DD
themeNoDefault dark
panelsNoSub-panels below price. Default rsi.
symbolYesIDX ticker, e.g. BBRI
browserNoBrowser to open Stockbit in, by name, e.g. "Edge". Defaults to STOCKBIT_WEB_BROWSER, else the OS default.
overlaysNoPrice overlays. Default sma20 + sma50.
save_pathNoWhere to write the .svg. Defaults to charts/ inside the store (~/.stockbit, or $STOCKBIT_STORE_DIR).
annotationsNoYour own drawings on top of the chart
show_levelsNoDraw support/resistance from pivot clustering. Default true.
show_volumeNoDefault true
open_in_stockbitNoOpen the symbol's Stockbit chart in the user's browser. Default true.
Behavior5/5

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

Annotations already declare readOnlyHint/openWorldHint, and the description adds the critical specifics: output is ALWAYS an SVG, a file is written with the path surfaced in `savedTo`, and the user's own browser is opened to the Stockbit chart unless skipped. It explicitly states annotations are render-only and 'nothing is written to the Stockbit account,' which reinforces readOnlyHint rather than contradicting it — annotation_contradiction is false.

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?

Four sentences, each carrying a distinct concern: chart composition, output/file behavior, annotation semantics, and the browser side effect. The core purpose and key constraints are front-loaded ('ALWAYS rendered as an SVG'), and there is no redundant or filler prose.

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

Completeness5/5

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

Despite 13 parameters and no output schema, the description explains what would otherwise be opaque: the return shape (image plus `savedTo` path plus `stockbitUrl`), the always-SVG guarantee, and the side-effect boundary. Defaults like dark theme and sma20+sma50 overlays are left to the schema, which documents them at 100% coverage, so nothing needed to call the tool correctly is missing.

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 coverage is 100%, so the baseline is 3. The description earns above-baseline by adding semantics the schema lacks for the two trickiest params: `annotations` is explained as render-only evidence-drawing (levels, zones, trend lines, markers) and `open_in_stockbit`'s default browser-opening behavior plus skip flag is clarified. Remaining params (bars, from, to, theme) correctly lean on the fully-covered schema.

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 states a specific verb-resource pair: renders a candlestick chart for an IDX stock as an SVG, and enumerates its content (daily candles, volume, overlays, sub-panels, support/resistance). It explicitly differentiates from the technicals sibling — 'Use technicals for the numbers; this is the picture' — so an agent can select it without opening schemas.

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?

Provides explicit when-to-use guidance by naming the alternative (`technicals`) for numeric data, and frames the annotations param as the intended mechanism 'to show the evidence behind an analysis.' It also discloses the default browser-opening side effect and the exact opt-out (`open_in_stockbit: false`), leaving no invocation ambiguity.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/INo-xious/stockbit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server