Skip to main content
Glama
umer2001

chart-img-mcp

by umer2001

chartimg_v2_advanced_chart_storage

Uploads advanced TradingView charts to persistent storage and returns a hosted image URL, enabling durable access and sharing of chart snapshots.

Instructions

CHART-IMG v2: POST advanced chart to storage; returns JSON with hosted image URL (POST /v2/tradingview/advanced-chart/storage). Prefer chartimg_snapshot for common cases. 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.3/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral load. It discloses the HTTP method, the hosted-URL return format, and the width/height auto-clamping safeguard that prevents HTTP 403. This goes beyond the schema fields by explaining why the clamp exists, which is genuinely useful.

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 main description is compact and front-loaded: action, storage target, return type, then routing advice. The auto-clamp behavior appears in both the main description and body schema description, which is a minor redundancy but not harmful.

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?

The definition covers the endpoint, return shape, an example body, optional cookie params, and a key error-avoidance behavior; for a no-output-schema tool that is reasonably complete. It could improve by explicitly stating that a chart body is expected despite the schema listing zero required parameters, so just short of a 5.

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

Parameters4/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 body property description adds a doc link, a concrete Binance example, and auto-clamp behavior, while the session cookie params are clearly labeled optional. This adds real guidance beyond the raw property definitions.

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 operation: POST an advanced chart to storage and get back a hosted image URL. It names the endpoint explicitly and even points users to chartimg_snapshot for common cases, which helps differentiate among the sibling tools. The 'storage' wording and v2 marker make it distinct from image-returning or layout variants.

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 explicitly says 'Prefer chartimg_snapshot for common cases', which gives a clear alternative and implies this tool is for advanced/stored chart cases. However, it doesn't provide a complete routing to all relevant siblings such as chartimg_v2_advanced_chart_image, so the guidance is good but not exhaustive.

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