Skip to main content
Glama

Calendar heatmap

generate_calendar_heatmap
Read-only

Draw a calendar heatmap (GitHub-style contribution grid): one cell per day coloured by value. Use for daily activity over weeks or months. Returns an image link.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "data": "<data>"
    },
    "name": "generate_calendar_heatmap"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes
themeNo
titleNoTitle shown above the chart.
widthNoImage width in pixels (default 720).
heightNoImage height in pixels (default 480).
brandThemeNoName of a brand theme saved on the user's account (their colours and footer), only when the user asks for their theme. Or "colorblind" for colours that people with colour-vision deficiency can tell apart (anyone can use it).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe, non-mutating render operation, so the bar is lower. The description adds the return form ('Returns an image link'), which is genuinely useful. It says nothing about the 5000-point data cap, cost/latency, or what happens on invalid dates, leaving real 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences: what it draws, when to use it, what it returns. Front-loaded with the visual identity and zero filler. Nothing could be cut without losing information.

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?

For a render-only tool with no output schema, the definition covers identity, purpose and return type adequately. However, the most important input (the data array's shape and limits) is never described, and the theme/brandTheme distinction is left entirely to the schema, so it is only minimally complete.

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 67%, and the undescribed remainder includes the central 'data' array and the 'theme' enum. The description adds no parameter meaning at all: nothing about date format, value scaling, colour ramp, or when to use brandTheme. An agent must read the schema to learn anything about inputs.

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?

Names a specific verb and resource plus the visual form: 'Draw a calendar heatmap (GitHub-style contribution grid): one cell per day coloured by value.' That is enough to picture the output. It does not explicitly distinguish itself from the sibling generate_heatmap_chart, which is the most likely confusion point.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Use for daily activity over weeks or months' gives a clear positive condition based on data shape. There is no when-not guidance and no mention of when to prefer generate_heatmap_chart instead, so the agent must infer the boundary from the sibling name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources