Skip to main content
Glama

set_series_color

Override a chart series color using a named color, hex string, or expression. Clear the color to revert to the palette. Returns confirmation of change.

Instructions

Write into a named series's block, overriding the chart palette for just that series. color accepts a named color ('Red'), a hex string ('#FF0000'), or an =expression. Pass '' to clear (series falls back to the palette). Returns {chart, series, kind, changed: bool}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
colorYes
chart_nameYes
series_nameYes
Behavior4/5

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

With no annotations, the description covers the core mutation behavior (override palette, clear with empty string) and return value. It lacks details about error cases or prerequisite conditions, but the provided information is sufficient for safe usage.

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 three sentences, front-loading the action and return value. Every sentence adds value: operation, parameter details, clearing behavior, and return type. No waste.

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

Completeness3/5

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

The description explains the color parameter and the return object, but for a mutation tool with no output schema, it omits details on error handling (e.g., non-existent series) and prerequisites. It is adequate but not comprehensive.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must document all parameters. It only describes the 'color' parameter (accepted formats and clearing behavior), leaving 'path', 'chart_name', and 'series_name' unexplained beyond their names. This is insufficient for an agent to infer correct values.

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 clearly states the verb 'Write' and the resource 'a named series's Style block', specifying the effect of overriding the chart palette for just that series. It distinguishes from sibling tools like set_chart_palette and add_chart_series.

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?

The description explains when to use the tool (to override a single series color) and how to clear it (passing ''). It implies usage context but does not explicitly exclude alternatives or mention when not to use, leaving a minor gap.

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/mafaq229/pbirb-mcp'

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