Skip to main content
Glama

create_chart_block

Add bar, line, pie, scatter, area, column, funnel, radar, or table chart blocks to a dashboard. Configure source table, axes, and aggregations to visualize data.

Instructions

Create a chart block (bar, line, pie, scatter, area, column, funnel, radar, table) and add it to a dashboard

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
app_tokenYesBase app token
dashboard_idYesDashboard block ID
chart_typeYesType of chart
table_idYesSource table ID
view_idNoOptional view ID to filter data
x_axis_fieldYesField name for X axis
y_axis_fieldsYesY axis configuration (can have multiple)
titleNoChart title
show_legendNoShow legend
colorsNoCustom colors (hex codes)
Behavior2/5

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

No annotations are provided, so the description carries full burden. It only reveals the tool creates and adds a chart block, but does not disclose mutation behavior, side effects, or constraints (e.g., whether existing blocks are affected, limits, or required permissions). This is insufficient for a mutation tool.

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 a single concise sentence that front-loads the key action. However, it could be slightly more structured (e.g., separate purpose and parameters). Overall efficient.

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

Completeness2/5

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

Given the tool's complexity (10 parameters, 6 required, chart types with y-axis config) and no output schema, the description is too brief. It does not cover return values, error handling, placement details, or scope of the creation. The agent is left with many unknowns.

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?

Schema description coverage is 100%, so the baseline is 3. The description adds no additional meaning beyond what the schema provides (e.g., listing chart types already in enum). No extra context on parameter usage is given.

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 (create) and the resource (chart block) with specific chart types (bar, line, pie, etc.), and explicitly mentions adding it to a dashboard. This distinguishes it from sibling tools like create_text_block or create_metrics_block.

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 no guidance on when to use this tool versus alternatives (e.g., other block creation tools) and lacks any prerequisites or exclusions. The agent must infer from the sibling names, but no explicit usage context is given.

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/HypelivebytheHYPER/lark-dashboard-sdk'

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