Skip to main content
Glama
tjackiet

bitbank-mcp-server

by tjackiet

render_chart_svg

Generate candlestick or line charts as SVG or PNG on the server side. Use when saving charts with optional indicators and pattern overlays.

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 bears full responsibility. It discloses that the tool performs server-side rendering and can accept overlays from 'detect_patterns', but does not describe output details, side effects, prerequisites, or potential errors. The behavioral profile is adequate but not thorough.

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 front-loaded with the core purpose. It conveys essential usage rules without unnecessary repetition, though it could benefit from clearer structuring.

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?

Given the tool's 22 parameters and no output schema, the description lacks details on return type (SVG vs. PNG), parameter interactions, and examples. It sufficiently links to sibling tools 'prepare_chart_data' and 'detect_patterns' but leaves many usage scenarios uncovered.

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?

The description mentions overlays and optional indicators as groups but adds little individual parameter meaning. With 22 parameters and only 41% schema description coverage, the description should compensate but does not, leaving many parameters under-explained.

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?

The description clearly states the tool generates candlestick/line charts as SVG/PNG on the server side, distinguishing it from the client-side alternative 'prepare_chart_data'. The purpose is specific and actionable, though the output format (SVG string vs. PNG file) is not explicitly clarified.

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?

The description explicitly advises to prioritize 'prepare_chart_data' for client-side rendering, restricts usage to explicit user requests for SVG/PNG save, and prohibits spontaneous calls. It also instructs to include indicators only when the user explicitly requests them, providing clear when-to-use and when-not-to-use guidance.

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

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