Skip to main content
Glama

FreeDailyPro Tools

pptx_extract_images

Read-onlyIdempotent

Pull the pictures out of a PowerPoint (.pptx) as a ZIP (returned as base64), each file exactly as stored in the deck and named by slide, for example slide02_image-2-1.jpeg. Pictures that only the slide design uses (a logo on the master) are left out unless includeTemplatePictures is true; pictures on hidden slides are left out unless includeHidden is true. Errors when there are none.

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_images"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileBase64YesThe presentation (.pptx), base64 encoded. Up to 50 MB and 500 slides. Old .ppt files and password-protected files are not supported.
includeHiddenNoInclude pictures that appear only on hidden slides. Default false.
includeTemplatePicturesNoInclude pictures used only by the master or layouts. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), yet the description still adds real behavioral detail: the return payload is a base64 ZIP, each image is byte-for-byte as stored in the deck, and files are named by slide (slide02_image-2-1.jpeg). It also discloses the default exclusion behavior for master/layout images and hidden slides, and that an error is raised when nothing is found — none of which is in the annotations.

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 what the tool produces and in what format, followed by the two conditional behaviors and the failure mode. No filler or redundant restatement of the tool name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description must carry the return contract, and it does: ZIP container, base64 encoding, per-image file naming, and fidelity to original bytes. Combined with the schema's input limits and annotations' safety profile, an agent has everything needed to call it 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 all three parameters, including the 50 MB/500 slide and unsupported-format constraints, are already documented in the schema. The description restates the default exclusion semantics of includeTemplatePictures and includeHidden but adds no syntax or edge-case detail beyond 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?

The description names a specific verb and resource ('Pull the pictures out of a PowerPoint (.pptx)') and specifies the output form (a ZIP returned as base64). It is clearly distinguishable from siblings like pptx_extract_charts, pptx_extract_notes and pptx_extract_text, which cover different content types.

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?

It states concrete inclusion rules: template-only pictures are excluded unless includeTemplatePictures is true, and hidden-slide pictures are excluded unless includeHidden is true, plus an error condition when the deck has no pictures. What is missing is an explicit pointer to an alternative tool (e.g. for text or charts), but the context for when to reach for this tool is clear.

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