Skip to main content
Glama

Insert chart into Slides

insert_chart_into_slides

Inserts a chart created earlier with visualize_data or create_chart into a Google Slides deck the user has open, as an editable ChartKit chart. It lands on the slide the user has selected, or on slide_number if given. With mode "open" the chart opens in the ChartKit editor in the deck rather than being committed.

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": {
      "chart_id": "<chart_id>"
    },
    "name": "insert_chart_into_slides"
  }
}

Input Schema

NameRequiredDescriptionDefault
deckNoWhich open deck: a Google Slides URL or part of its title. Omit for the deck the user focused last.
modeNo"commit" (default) places the chart; "open" opens it in the editor.
chart_idYesChart id returned by visualize_data or create_chart.
slide_numberNo1-based slide to put the chart on. Omit for the selected slide.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the mutation safety profile is known. The description adds real value by explaining placement (selected slide vs slide_number) and that mode 'open' does not commit the chart, but it says nothing about failure cases, permissions, or what is returned on success.

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 sentences, front-loaded with the action and the chart's origin, then placement and the mode exception. No filler or restated title text.

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?

For a 4-parameter insert tool with no output schema, the description covers source, target, placement and mode behavior adequately. The remaining gap is the return value and what happens when the deck or chart cannot be resolved, which an agent would need before handling errors.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, and the description goes slightly beyond by clarifying that mode 'open' surfaces the chart in the ChartKit editor instead of committing it and by restating the slide targeting default. That reinforces the enum semantics rather than duplicating parameter names.

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?

Names a specific verb and resource (inserts a chart into a Google Slides deck) and pins down the source of the chart ('created earlier with visualize_data or create_chart') and its form ('editable ChartKit chart'). An agent can distinguish this from create_chart or update_chart purely from the description.

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?

States the prerequisite clearly: the chart must already exist from visualize_data or create_chart, and the deck must be open. It implies when to reach for this versus chart-creation tools, but gives no explicit exclusion or 'do not use when' guidance.

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