Skip to main content
Glama

Add Chart Series

add_series

Add a data series to an existing Excel chart by specifying the series range and optional legend label. Extend charts with additional data without rebuilding them.

Instructions

Add a data series to a chart.

Args: workbook: Workbook name or path (None = active workbook). sheet: Worksheet name (None = active sheet). chart_name: Chart to add the series to (required). series_range: A1-style address of the series' values, e.g. "D2:D10" (required). series_name: Legend label for the series (None = Excel's default).

Returns: JSON confirmation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sheetNo
workbookNo
chart_nameNo
series_nameNo
series_rangeNo
Behavior2/5

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

With no annotations beyond the title, the description carries full burden for behavioral disclosure. It says it adds a series but does not state effects on existing series, whether it modifies the chart in place, error behavior when the chart is missing, or whether changes are reversible. It also lacks any mention of side effects or return details beyond 'JSON confirmation'.

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 description is concise and front-loaded with the purpose. The Args list is compact and adds necessary detail without redundancy, though it duplicates schema field names. No wasted sentences.

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?

For a mutation with five parameters and no output schema, the description is incomplete. It lacks prerequisites (existing chart), error conditions, how the series is merged with existing series, and the precise return format. Agents may call it incorrectly without this context.

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 0%, so the description must explain parameters. It does: explicitly notes which are required (chart_name, series_range) and which default to None, and gives an example format for series_range. This adds meaningful semantics beyond the schema's bare defaults.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states the action ('Add a data series to a chart') with a specific verb and resource. It is distinct from sibling tools like create_chart or set_chart_type, though it does not explicitly contrast with them, leaving some inference needed.

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 guidance on when to use this tool versus alternatives, nor prerequisites like an existing chart. It does not mention that the chart must already exist or that this is for modifying, not creating, charts. The user must infer 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/trustypangolin/excel-mcp-live'

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