create_chart
Створити графік. type_code: line, bar, pie, doughnut, area, scatter. axis_l: mth (по місяцях), field (по полю), або числовий діапазон. data_sources — масив серій даних.
This record as markdown: /tools/com-quintadb-mcp/create-chart.md
What create_chart does on QuintaDB
AI agents use create_chart to create or update resources in QuintaDB, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your QuintaDB environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Display name |
order | string | — | asc або desc |
app_id | string | Yes | Project ID (from list_projects) |
axis_l | string | — | mth=по місяцях, field=по полю |
entity_id | string | — | ID форми для X-осі |
type_code | string | Yes | line, bar, pie, doughnut, area, scatter |
property_id | string | — | Поле для групування (ID або назва) |
data_sources | array | — | Серії даних (лінії/стовпці) |
y_axis_title | string | — |
Parameters from the server's own tool schema.
Why create_chart is rated Medium
Creating a chart modifies the system state by adding a new visualization object, making it a Write operation rather than Read. It does not execute arbitrary code (Execute), delete data (Destructive), or involve financial operations (Financial). Severity is medium because a rogue chart creation could clutter the system or mislead users, but is reversible and affects only presentation layer.
From the tool's definition Tool creates a chart ('Створити графік'), which persists a new visualization artifact in the database. The description indicates it configures chart properties (type_code, axis_l, data_sources), establishing a new dashboard/reporting element.
Risk signalsHigh parameter count (13 properties)
Attacks that exploit this kind of access
The rule that runs create_chart safely
PolicyLayer is an MCP gateway: it sits between your AI agents and QuintaDB, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For create_chart, this is the rule to start with:
create_chart stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect QuintaDB, apply this rule, and every create_chart call is checked against it from then on.
Questions about create_chart
Створити графік. type_code: line, bar, pie, doughnut, area, scatter. axis_l: mth (по місяцях), field (по полю), або числовий діапазон. data_sources — масив серій даних. It is categorised as a Write tool in the QuintaDB MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
create_chart accepts 9 parameters: name, order, app_id, axis_l, entity_id, type_code, property_id, data_sources, y_axis_title. Required: name, app_id, type_code. The full parameter table on this page comes from the server's own tool schema.
Register the QuintaDB MCP server in PolicyLayer and add a rule for create_chart: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches QuintaDB. Nothing to install.
create_chart is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the create_chart rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for create_chart. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
create_chart is provided by the QuintaDB MCP server (https://quintadb.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on QuintaDB, and thousands of servers like it.
This server
Across the catalogue