Skip to main content
Glama
bitbankinc

bitbank-lab-mcp

Official
by bitbankinc

render_chart_svg

Generate candlestick, line, or depth charts as SVG or PNG images on the server. Supports indicators and pattern overlays for explicit chart saving needs.

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).
Behavior3/5

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

No annotations are provided, so the description must carry the full burden. It discloses that this is a server-side generation tool and prohibits spontaneous calls. However, it does not describe the return format (e.g., raw SVG string, file path, or PNG binary), nor potential side effects, error handling, or limits. Some behavioral context is given but incomplete.

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 brief and front-loaded with the most critical information: purpose, alternative tool, and usage constraints. Every sentence adds value. It could be slightly more structured, but overall it is concise and effective.

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

Completeness3/5

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

Given the tool's complexity (22 parameters, nested objects, no output schema), the description is somewhat incomplete. It lacks details on the return output (SVG/PNG specifics), error conditions, and parameter formatting beyond indicators and overlays. However, it does adequately address usage context and primary purpose. A more complete description would cover what the agent receives after calling the tool.

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% (low), so the description should compensate. The description adds meaning for the 'indicators' and 'overlays' parameters by specifying usage conditions, but it ignores the other 20+ parameters. For instance, it does not explain the meaning of 'bbMode', 'ichimoku', or 'subPanels' in natural language. This insufficiently aids an agent to fill parameters correctly.

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?

Description clearly states the tool generates candlestick/line charts as SVG/PNG on the server side. It specifically distinguishes itself from prepare_chart_data, noting that client-side rendering should be preferred. The verb 'generate' and resource 'SVG/PNG' are explicit, and the scope (candlestick/line chart) is well-defined.

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?

Excellent usage guidance: explicitly instructs to use only when user requests SVG/PNG save, prohibits spontaneous calls, and prioritizes prepare_chart_data for client-side rendering. Additionally, it specifies that indicators should only be added when the user explicitly requests them, with defaults off. This provides clear when/when-not to use and even names the sibling tool.

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