Skip to main content
Glama
desk3
by desk3

get_rainbow_chart

Visualize Bitcoin market sentiment using a logarithmic growth curve with color bands to identify potential buy or sell areas based on historical valuation patterns.

Instructions

The Bitcoin Rainbow Chart uses a logarithmic growth curve with a color band to illustrate market sentiment and highlight potential buy or sell areas. It is not suitable for short-term predictions, but helps to identify overvaluation or undervaluation from history

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The core handler function that implements the get_rainbow_chart tool by calling the Desk3 API endpoint for Bitcoin Rainbow Chart data.
    async def get_rainbow_chart() -> dict[str, Any]:
        """
        Get Bitcoin Rainbow Price Chart data.
        :return: Bitcoin Rainbow Chart data using logarithmic growth curve with color bands to illustrate market sentiment
        """
        url = 'https://mcp.desk3.io/v1/market/rainbow'
        try:
            return request_api('get', url)
        except Exception as e:
            raise RuntimeError(f"Failed to fetch Bitcoin Rainbow Chart data: {e}")
  • Tool schema registration in list_tools(), defining name, description, and empty input schema (no parameters required).
    types.Tool(
        name="get_rainbow_chart",
        description="The Bitcoin Rainbow Chart uses a logarithmic growth curve with a color band to illustrate market sentiment and highlight potential buy or sell areas. It is not suitable for short-term predictions, but helps to identify overvaluation or undervaluation from history",
        inputSchema={
            "type": "object",
            "properties": {},
            "required": [],
        },
    ),
  • Tool execution handler in the MCP server's call_tool method, which invokes the get_rainbow_chart function and returns JSON response.
    case "get_rainbow_chart":
        try:
            data = await get_rainbow_chart()
            return [
                types.TextContent(
                    type="text",
                    text=json.dumps(data, indent=2),
                )
            ]
        except Exception as e:
            raise RuntimeError(f"Failed to fetch Bitcoin Rainbow Chart data: {e}")
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It mentions the chart's limitations (not suitable for short-term predictions) which is helpful context, but doesn't describe what the tool actually returns - whether it's an image, data points, or some other format. For a tool with zero annotation coverage, this leaves significant behavioral gaps.

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 efficiently structured in two sentences that each serve distinct purposes: first explaining what the chart is, then stating its limitations and utility. There's no wasted text, though it could be slightly more front-loaded about the tool's specific function.

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?

Given the tool has no parameters, no annotations, and no output schema, the description provides adequate context about what the Bitcoin Rainbow Chart represents and its analytical purpose. However, it doesn't specify what format the tool returns (visual chart, data values, etc.), which is a significant gap for a tool with no structured output documentation.

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 tool has zero parameters with 100% schema description coverage, so the baseline is 4. The description appropriately doesn't discuss parameters since none exist, and instead focuses on explaining the chart's purpose and limitations.

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

Purpose3/5

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

The description explains what the Bitcoin Rainbow Chart is (a logarithmic growth curve with color bands for market sentiment) and its purpose (identifying overvaluation/undervaluation), but it doesn't explicitly state what the tool *does* - presumably it retrieves or displays this chart. The description is informative about the chart concept but vague about the tool's specific function.

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?

The description provides some context about when the chart is useful (not for short-term predictions, helps identify valuation extremes) but offers no explicit guidance on when to use this tool versus the 15 sibling tools. There's no comparison to alternatives or specific use cases for this particular tool.

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/desk3/cryptocurrency-mcp-server'

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