Skip to main content
Glama
tjackiet

bitbank-mcp-server

by tjackiet

render_depth_svg

Generates an SVG depth chart visualizing the order book bid-ask spread and market depth. Use for file-based embedding or saving when client-side rendering is not suitable.

Instructions

[Depth Chart / Order Book Visualization] 板の深さチャートを SVG 生成(depth chart / order book visualization / bid-ask depth)。 クライアント側(Claude.ai の Visualizer 等)で描画可能な場合は prepare_depth_data を優先し、本ツールは SVG/PNG ファイル保存(preferFile / autoSave)やファイル埋め込み用途にフォールバックする位置づけ。 data.svg を HTML に埋め込んで表示。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pairNobtc_jpy
typeNo1day
depthNo
autoSaveNo
preferFileNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.1/5.0
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses SVG generation, file saving capability (autoSave/preferFile), and fallback role. Does not detail side effects or constraints beyond that.

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?

Description is front-loaded with purpose but contains bilingual text and some redundancy. Could be more concise, but key information is present.

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 5 parameters, no annotations, and no output schema, the description lacks details on return value (e.g., whether SVG string or file path) and behavior of nested depth parameter, leaving gaps for agent invocation.

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?

Schema description coverage is 0%. Description adds meaning for autoSave and preferFile by linking to file saving, but pair, type, and depth lack elaboration beyond defaults.

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 clearly states the tool generates SVG for depth chart/order book visualization, and distinguishes it from the sibling prepare_depth_data by noting this tool is a fallback for file saving/embedding.

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?

Explicitly recommends using prepare_depth_data when client-side rendering is possible, and reserves this tool for file save/embedding fallback scenarios.

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