Skip to main content
Glama

sheets_create_chart

Create a chart in a Google Sheets spreadsheet with specified type, position, and data series. Customize with title, axes, legend, and more.

Instructions

Create a chart in a Google Sheets spreadsheet. Sheet names with spaces should be quoted in ranges (e.g., "My Sheet"!A1:B5). Position uses overlayPosition with anchorCell containing sheetId, rowIndex, and columnIndex.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoChart title (optional)
legendNoLegend configuration
seriesYesArray of data series for the chart
altTextNoAlternative text for accessibility
leftAxisNoLeft (Y) axis configuration
positionYesChart position settings with overlay position. Use overlayPosition.anchorCell.sheetId to specify the sheet.
subtitleNoChart subtitle (optional)
chartTypeYesType of chart to create
rightAxisNoRight (Y) axis configuration
domainAxisNoDomain (X) axis configuration
domainRangeNoOptional domain range in A1 notation (e.g., "A2:A5" or "My Sheet"!A2:A5). If not provided, column A will be used
spreadsheetIdYesThe ID of the spreadsheet (found in the URL after /d/)
backgroundColorNoChart background color
Behavior2/5

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

No annotations provided, so description must convey behavioral traits. It gives some detail on position spec but omits what the tool returns (e.g., chart ID), side effects, or permission needs. Insufficient for a creation tool.

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?

Three sentences, no redundancy. Front-loaded with main purpose, then specific tips. Every sentence earns its place.

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?

Complex tool with 13 params, nested objects, no output schema, no annotations. Description lacks context on default behavior, return value, or interactions between parameters (e.g., chartType vs series type). Incomplete for effective use.

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 coverage is 100%, baseline 3. Description adds value by clarifying quoting for sheet names in ranges and explaining overlayPosition anchorCell structure, which aids interpretation beyond schema.

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?

Description clearly states 'Create a chart in a Google Sheets spreadsheet', providing a specific verb and resource. Sibling tools include delete/update chart variants, so this is well-distinguished.

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

Usage Guidelines2/5

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

No explicit guidance on when to create vs update/delete charts or any prerequisites. Only mentions quoting convention and position structure, which are parameter hints rather than usage context.

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/freema/mcp-gsheets'

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