Skip to main content
Glama

pptx_extract_charts

Read-onlyIdempotent

Get the data behind every chart of a PowerPoint (.pptx) from freedailypro: format xlsx (default; one workbook, a sheet per chart, base64), csv (a ZIP of CSV files, base64; workbooks true also adds each chart's own embedded workbook) or json (each chart's slide, title, type and table). Charts pasted as pictures have no data; errors (422) when the deck has no real charts.

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": {
      "fileBase64": "<fileBase64>"
    },
    "name": "pptx_extract_charts"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoDefault xlsx
workbooksNocsv: also include the embedded workbooks. Default false.
fileBase64YesThe presentation (.pptx), base64 encoded. Up to 50 MB and 500 slides. Old .ppt files and password-protected files are not supported.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real value beyond that with the 422 no-charts error and the picture-chart limitation, but omits anything about response size, latency, or what the caller does with a base64 blob. Solid but not rich.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded, but the body is one very long run-on sentence with stacked parentheticals ('default; one workbook, a sheet per chart, base64') that is harder to scan than a short bulleted enumeration of the three formats would be. Dense rather than wasteful, but structure costs it.

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?

No output schema exists, and the description does discharge that burden by describing exactly what each format returns plus the error case. Size and slide limits live in the schema, so nothing critical is missing, though a note on what base64 output looks like to consume could help.

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 baseline is 3, but the description meaningfully extends the enum: xlsx is one workbook with a sheet per chart (base64), csv is a ZIP of CSVs in base64, json returns slide/title/type/table per chart, and it explains the workbooks flag's interaction with csv ('workbooks true also adds each chart's own embedded workbook'). This is genuine semantic added value over the schema.

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?

States a specific verb and resource ('Get the data behind every chart of a PowerPoint (.pptx)') with the exact output shapes, which separates it cleanly from siblings such as pptx_extract_text, pptx_extract_images and pptx_extract_notes without needing to name them.

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?

Gives clear context for when the tool applies, plus implicit when-not guidance: 'Charts pasted as pictures have no data; errors (422) when the deck has no real charts' tells the agent not to expect results for picture-only decks. It stops short of explicitly routing between sibling extract_* tools, so not a 5.

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