Skip to main content
Glama

Get Theme for Platform

get_theme_for_platform
Read-onlyIdempotent

Retrieve platform-specific styling for AI agents, converting theme colors into formats like ANSI codes for terminals, CSS variables for web, or native styles for Slack, Discord, and IDEs.

Instructions

Get platform-specific styling for the bot. Supported platforms: terminal (returns ANSI escape codes), web (CSS variables), slack, discord, ide. Unknown platforms get the raw hex theme colours.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
platformYesTarget platform: terminal, web, slack, discord, or ide
Behavior4/5

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

Annotations already indicate read-only, non-destructive, idempotent, and open-world behavior. The description adds valuable context beyond this by specifying what is returned for each platform (e.g., ANSI escape codes for terminal, CSS variables for web) and the fallback for unknown platforms (raw hex colours), enhancing behavioral understanding without contradicting annotations.

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 front-loaded with the core purpose, followed by specific details in a single, efficient sentence. Every part of the text adds value, such as listing platforms and fallback behavior, with no redundant or wasted words.

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?

Given the tool's low complexity (one parameter) and rich annotations, the description is mostly complete. It explains what the tool does and the platform-specific outputs. However, without an output schema, it could benefit from more detail on the return structure (e.g., format of the theme data), slightly limiting completeness.

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

Parameters3/5

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

The input schema has 100% description coverage, clearly documenting the 'platform' parameter. The description adds some semantic value by listing the specific platform options and explaining the outcome for unknown platforms, but it does not provide additional syntax or format details beyond what the schema already covers, meeting the baseline for high schema coverage.

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 action ('Get platform-specific styling for the bot') and specifies the resource ('theme'), distinguishing it from sibling tools like get_identity or roll_identity. It explicitly lists supported platforms, making the purpose specific and actionable.

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 clear context on when to use this tool by listing supported platforms (terminal, web, slack, discord, ide) and handling for unknown platforms. However, it does not explicitly state when not to use it or name alternatives among sibling tools, which prevents a perfect score.

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/tjclaude88/mcp-bling'

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