Skip to main content
Glama
bitbankinc

bitbank-lab-mcp

Official
by bitbankinc

render_chart_svg

Generate server-side SVG/PNG candlestick or line charts from bitbank market data, with optional pattern overlays, technical indicators, and subpanels for analysis.

Instructions

[SVG file / PNG save] ローソク足・ラインチャートをサーバー側で SVG/PNG に生成。 クライアント側で描画可能な場合は prepare_chart_data を優先。 ユーザーが SVG/PNG 保存を明示した場合のみ使用。自発的呼び出し禁止。 detect_patterns の overlays を渡してパターン描画可能。 オプションのインジケーター(SMA/EMA/BB/一目均衡表)はユーザーが明示的に要求した場合のみ指定すること。デフォルトではすべてオフ。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tzNoX軸ラベルのタイムゾーン(例: Asia/Tokyo, UTC)Asia/Tokyo
pairNobtc_jpy
typeNo1day
depthNo
limitNo
styleNocandles
bbModeNodefault
withBBNo
withEMANo
withSMANo
ichimokuNo
overlaysNo
subPanelsNoサブパネル: macd(MACD線+シグナル+ヒストグラム), rsi(RSI 14 + 70/30ゾーン), volume(出来高バー)
svgMinifyNoMinify SVG text by stripping whitespace where safe.
indicatorsNoIndicators to overlay. Do NOT set unless the user explicitly requests them. Default: [] (none). Available: SMA_5, SMA_20, SMA_25, SMA_50, SMA_75, SMA_200, EMA_12, EMA_26, EMA_50, EMA_200, BB, BB_EXTENDED, ICHIMOKU, ICHIMOKU_EXTENDED
withLegendNo
yPaddingPctNoVertical padding ratio to expand y-range.
svgPrecisionNoCoordinate rounding decimals (0-3).
viewBoxTightNoUse tighter paddings to reduce empty margins.
withIchimokuNo
barWidthRatioNoWidth ratio of each candle body (slot fraction).
simplifyToleranceNoLine simplification tolerance in pixels (0 disables).
Behavior2/5

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

No annotations are provided, so the description bears the full burden. It does not disclose output format (e.g., base64, file path), potential side effects, or resource implications of server-side generation. It mentions rules for usage but not behavioral traits like mutability or return structure. The 'self-invocation prohibition' is a usage guideline, not a behavioral disclosure.

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 description is concise and well-structured, front-loading the purpose and then providing usage constraints. It packs important rules into a few sentences without unnecessary fluff. Slightly long due to the list of indicators, but still efficient.

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

Completeness2/5

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

With 22 parameters, nested objects, no output schema, and no annotations, the description is far from complete. It gives essential usage rules but omits output expectations, error scenarios, and explanations for most parameters. The description would need to be substantially richer to fully guide an agent.

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

Parameters2/5

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

Schema description coverage is only 41%, and the description compensates for only a few parameters: it instructs not to set indicators unless explicitly requested, and notes that overlays can be passed from detect_patterns. However, it does not explain many other parameters (depth, limit, style, bbMode, ichimoku, subPanels, etc.), leaving significant gaps for such a large parameter set.

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 (generate) and resource (candlestick/line charts to SVG/PNG server-side), and explicitly differentiates from prepare_chart_data for client-side rendering. It also mentions overlays from detect_patterns, clearly setting it apart from other rendering tools.

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 routing: prefer prepare_chart_data if client-side rendering is possible, only use when the user explicitly requests SVG/PNG save, and prohibits spontaneous calls. Also specifies that indicators must be user-requested, leaving no ambiguity about when to invoke.

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/bitbankinc/bitbank-lab-mcp'

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