Skip to main content
Glama
umer2001

chart-img-mcp

by umer2001

chartimg_v2_advanced_chart_image

Generate a base64-encoded TradingView chart image by sending a JSON request with symbol, interval, and study parameters. Use it to receive chart snapshots for automated workflows.

Instructions

CHART-IMG v2: POST advanced chart and return base64 image data (POST /v2/tradingview/advanced-chart). Responses can be large; prefer storage tools. Width/height in body are auto-clamped.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoJSON body for POST /v2/tradingview/advanced-chart. Doc: https://doc.chart-img.com — Example (Binance USDT perp + volume): {"symbol":"BINANCE:BTCUSDT.P","interval":"5m","studies":[{"name":"Volume"}]}. Width/height are **auto-clamped** to CHART_IMG_MAX_WIDTH/HEIGHT (default 800×600) to avoid HTTP 403.
tradingviewSessionIdNoOptional TradingView cookie `sessionid` for subscription data (v2).
tradingviewSessionIdSignNoOptional TradingView cookie `sessionid_sign` — use with tradingviewSessionId.
Install Server

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description must carry the behavioral disclosure burden. It does so by revealing the return type, warning about response size, and explaining that width/height are auto-clamped to avoid HTTP 403. It does not cover rate limits or error cases, but the key behavioral traits are visible.

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?

The description is short and each sentence contributes distinct value: operation and endpoint, return format plus size warning, and clamping behavior. There is no filler or redundant restatement.

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

Completeness4/5

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

For a tool with three parameters, a nested body, and no output schema, the description and schema together cover the essential calling context: endpoint, example body, return format, clamping, and the storage-tool alternative. It stops short of addressing error behavior and rate limits, but nothing critical is missing for basic 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 100%, so the baseline is 3. The top-level description adds little parameter meaning beyond echoing the auto-clamping detail already present in the body parameter description. The detailed example and doc link live in the schema rather than the description.

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 names a specific operation (POST advanced chart), a specific resource (/v2/tradingview/advanced-chart), and the concrete output format (base64 image data). It also separates itself from storage-oriented siblings by saying 'prefer storage tools', making the distinction clear even without naming the exact sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It provides a clear practical directive: responses can be large, so prefer storage tools when that matters. It could be more explicit about when the base64 image version is the right choice versus the storage variant, but the guidance is still actionable.

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

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/umer2001/chart-img-mcp'

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