Skip to main content
Glama

set_theme_sentiment_colors

Set the good, neutral, and bad sentiment colors for a report theme using hex values. Run after generating the theme; at least one color is required.

Instructions

Set the report theme's SENTIMENT colours: good / neutral / bad (the KPI sentiment ramp). Each is a hex colour; supply at least one. Run generate_theme first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
badNobad (negative) hex
goodNogood (positive) hex
neutralNoneutral hex
reportSessionIdYes
Behavior3/5

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

With no annotations, the description carries the disclosure burden. It does reveal that this is a mutating operation, that colors are hex values, and that a partial update is possible (at least one color). However, it omits potential side effects, such as whether unspecified colors are reset to defaults, or how invalid hex values are handled.

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?

Two sentences efficiently convey purpose, parameter format, minimum input requirement, and a prerequisite. Every phrase earns its place with no redundant wording.

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 description covers purpose, prerequisite, and parameter semantics for a simple setter tool. It does not describe return values, but no output schema exists, and for a straightforward mutation this is acceptable. Some minor gaps remain (e.g., hex representation details), but overall it is sufficient for an AI agent to invoke correctly.

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?

The schema already describes the three color parameters with terse descriptions ('bad (negative) hex', etc.), giving 75% coverage. The description adds value by clarifying the hex format and the requirement to supply at least one of the optional parameters, which is not obvious from the schema defaults (all null).

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 specifies a clear verb-resource pair ('Set the report theme's SENTIMENT colours') and differentiates this tool from sibling theme setters (e.g., set_theme_data_colors, set_theme_structural_colors) by naming the exact colors (good/neutral/bad) and the KPI sentiment ramp. This is specific and unambiguous.

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 provides a concrete prerequisite ('Run generate_theme first') and an immediate usage constraint ('supply at least one). It does not explicitly discuss alternatives or when not to use this tool, but the focus on sentiment colors makes the appropriate use case clear.

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/cyphonica/powerbi-pbix-mcp'

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