Skip to main content
Glama
blueprint-chart

blueprint-chart/mcp

export_chart

Read-onlyIdempotent

Validate a .bpc chart source and generate shareable links with an inline preview to confirm the chart before sharing.

Instructions

Turn a validated .bpc source into shareable URLs plus an inline visual preview of what was published. Returns { copyUrl, embedUrl, urls?, frame } and a scene-0 PNG image block so you can confirm the chart looks right before sharing. copyUrl opens an editable copy in the editor; embedUrl is a read-only iframe target; urls.{png,svg,bpc} (when MCP_PUBLIC_URL is set) are stateless rendered-image/source links. Set modelVisible:false to show the preview to the user only. Requires BLUEPRINT_CHART_EDITOR_URL; preview failures never block the export.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYesThe .bpc chart source to validate and publish to shareable URLs.
modelVisibleNoWhen false, the preview image is shown to the user but not sent to the model.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlsNoStateless hosted render URLs (only when MCP_PUBLIC_URL is set).
frameYesFrame metadata extracted from the chart.
copyUrlYesEditor URL that opens an editable copy of the chart.
embedUrlYesRead-only iframe-embeddable URL.
previewOmittedNoSet when the scene-0 preview render failed.
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so the safety profile is covered. The description adds meaningful behavioral context: it requires the environment variable BLUEPRINT_CHART_EDITOR_URL, states that preview failures never block the export, and explains the availability of urls.{png,svg,bpc} based on MCP_PUBLIC_URL. This goes beyond the annotations and enriches the agent's understanding.

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 moderately concise, with three sentences that pack substantial detail: the main purpose, the return object structure with per-field explanations, environment requirements, and failure handling. Every sentence contributes to the overall understanding, though the enumeration of URL fields makes it slightly denser than necessary. It is well-structured and front-loaded with the core behavior.

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 presence of an output schema and only two simple parameters, the description covers the essential context: return value semantics, environment prerequisites, failure behavior, and a timeout-related tweak (modelVisible). It does not explicitly state what happens on invalid input, but that is a minor gap given the tool's purpose and the fact that the schema already describes the source as 'validated.' Overall, it is comprehensive enough for an agent to select and invoke correctly.

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 both parameters are already well-documented. The tool description does not add significant additional meaning beyond what the schema provides; it mostly echoes the schema's descriptions. The explanation of modelVisible in the description is nearly identical to the schema description. Therefore, baseline 3 is appropriate.

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+resource: 'Turn a validated .bpc source into shareable URLs plus an inline visual preview.' This clearly distinguishes it from sibling tools like render or validate_dsl, which focus on other aspects. It explains exactly what is produced (URLs, preview) and the use case (before sharing).

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 for when to use the tool: when you have a validated .bpc source and want shareable URLs/preview. It implies the tool is for sharing, but it does not explicitly contrast with alternatives like render or list_chart_types, nor does it state when not to use it. Hence a 4, not a 5.

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/blueprint-chart/mcp'

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