Skip to main content
Glama
richardggxcp

hex-dashboard-mcp

by richardggxcp

inject_pydeck_map

Add a dark-styled PyDeck map to a Hex Python cell with configurable layer types and data columns. Customize coordinates, colors, elevation, and auto-run to push the visualization to the app view.

Instructions

Write a styled PyDeck map into a Hex Python cell using the dark map style.

layer_type: ScatterplotLayer | HexagonLayer | H3HexagonLayer | ColumnLayer | ArcLayer | PathLayer | GeoJsonLayer color_col: column with pre-computed [R, G, B] or [R, G, B, A] values. If omitted, uses accent color. elevation_col: column for 3D height (ColumnLayer / HexagonLayer) auto_run: if True, triggers run_and_wait to push to app view

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNo
radiusNo
cell_idYes
lat_colYes
lon_colYes
auto_runNo
color_colNo
layer_typeNoScatterplotLayer
project_idYes
dataframe_varYes
elevation_colNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries the behavioral burden. It discloses the dark map style, color fallback behavior, and that auto_run triggers run_and_wait. However, it does not clarify whether the existing cell content is overwritten or whether any permissions are required, which is notable 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 concise and front-loaded, leading with the main purpose and then using a compact bullet-style list for parameter details. No filler or redundant content appears, though some parameter specifics could be moved into the schema.

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 an 11-parameter mutation tool with no annotations, the description covers the most crucial options and behavior, and an output schema exists. Still, it lacks prerequisites (e.g., dataframe_var must contain lat/lon columns) and full parameter semantics, leaving some gaps for a complex tool.

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 description adds useful semantics for layer_type, color_col, elevation_col, and auto_run, partly compensating for the 0% schema description coverage. However, it omits context for required parameters like lat_col/lon_col and other options like radius/title, so parameter understanding is incomplete.

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 opens with a specific verb ('Write') and resource ('styled PyDeck map into a Hex Python cell'), immediately identifying the tool's function. Mentioning 'PyDeck map' clearly distinguishes it from sibling tools like inject_plotly_chart and inject_html_component.

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?

The description implies a map-injection use case but provides no explicit guidance on when to choose this tool over the sibling inject_* tools. There are no exclusions or alternative recommendations, leaving usage to be inferred from the tool name and purpose.

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/richardggxcp/hex-dashboard-mcp'

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