Skip to main content
Glama
lmdat

@lmdat/google-sheets-oauth-mcp

by lmdat

Tạo candlestick chart (nến) trong Google Sheet

sheets_create_candlestick_chart

Create a candlestick chart in Google Sheets from OHLC data (Date, Open, High, Low, Close). Provide the data range and chart title to visualize price movements.

Instructions

Tạo chart nến cho dữ liệu giá (OHLC). data_range PHẢI có ĐÚNG 5 cột liên tiếp theo thứ tự cố định: Date, Open, High, Low, Close — đúng convention chuẩn của Google Sheets (giống khi tự chọn data trên Insert > Chart bằng tay). Ví dụ: "Data!A2:E50" (không gồm dòng header).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYesTiêu đề chart.
data_rangeYesRange 5 cột liên tiếp, thứ tự CỐ ĐỊNH Date-Open-High-Low-Close, dạng "TenSheet!A2:E50". Không gồm dòng header.
anchor_cellNoVị trí đặt chart, dạng "TenSheet!G2". Bỏ trống -> tự đặt bên phải data_range.
spreadsheet_idYesID của Google Sheet — lấy từ URL (docs.google.com/spreadsheets/d/<ID>/edit) hoặc dùng tool drive_list_spreadsheets để tìm theo tên.
Behavior2/5

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

No annotations are provided, so the description bears full responsibility for behavioral disclosure. It specifies the required data range format but omits important details such as error handling for invalid input, permissions needed, whether the chart is immediately visible, or if the sheet is modified in any other way (e.g., adding new sheets). The lack of such information leaves significant gaps.

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 consists of two sentences front-loaded with the purpose and followed by a key constraint and example. Every sentence adds necessary information without redundancy, making it concise and well-structured.

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?

There is no output schema, and the description does not mention what the tool returns (e.g., chart ID or URL). It also lacks information on potential errors, performance implications, or how the chart is placed relative to the data. This incompleteness is significant for a tool that creates a new object.

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 baseline is 3. The description adds valuable context for the 'data_range' parameter by specifying the exact column order and providing an example, going beyond the schema's description. For other parameters, the schema descriptions are sufficient.

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 'Tạo chart nến cho dữ liệu giá (OHLC)' which clearly identifies the tool's purpose as creating a candlestick chart for OHLC data. The title also specifies candlestick chart, distinguishing it from the general 'sheets_create_chart' sibling.

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

Usage Guidelines3/5

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

The description implies usage when OHLC data is available and provides strict formatting rules for data_range. However, it does not explicitly mention when to use this tool versus the sibling 'sheets_create_chart' for other chart types, nor does it provide when-not-to-use or alternative scenarios.

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/lmdat/google-sheet-oauth-mcp'

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