Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as FreeDailyPro Tools. If you published it, claim ownership there.

pptx_resize

Read-onlyIdempotent

Change the slide size of a PowerPoint (.pptx) and scale the content to match, returning the new .pptx (base64). preset 16x9, 4x3, 16x10, a4 or letter, or width and height with a unit. mode fit (default) keeps the shape of the content and centres it; fill covers the new area; stretch changes the shape. Fonts, line widths and spacing scale with the content unless scaleText is false. The result lists how many shapes now reach outside the slide. Errors (422) when the slides are already that size.

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

Input Schema

NameRequiredDescriptionDefault
modeNoDefault fit
unitNoUnit of width and height. Default in.
widthNoCustom width, with height
heightNoCustom height, with width
presetNoA standard size (landscape)
scaleTextNoScale text, lines and spacing too. Default true.
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. 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?

Beyond the readOnly/idempotent/non-destructive annotations, the description discloses real behavior: output is a base64 .pptx, the result reports how many shapes now overflow the slide, fonts/line widths/spacing scale unless scaleText is false, and errors are returned with 422 when the deck already matches. That is substantive context an agent cannot get from the annotations alone.

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?

It is a single dense paragraph that front-loads the primary action and return value, and every sentence carries information. The trade-off is that mode, preset, scaleText and error semantics are packed into one block with no visual structuring, making it slightly harder to scan than a bulleted form.

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?

With no output schema, the description still covers the return value (base64 .pptx plus an overflow-shape count) and the error case, which is what an agent needs to call and interpret results. It leaves out input limits resolution details already covered in the schema's fileBase64 text and is therefore complete enough without being exhaustive.

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, but the description goes further by explaining what each mode actually does to content (fit preserves shape and centres, fill covers the area, stretch distorts) and the consequence of scaleText. It does not spell out how preset and width/height override each other when both are supplied, so it stops short of a 5.

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 and resource ('Change the slide size of a PowerPoint (.pptx)') and immediately states the content-scaling behavior and return format (new .pptx as base64). This clearly separates it from siblings like image_resize or pptx_convert without needing to open the schema.

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 when the tool applies (changing slide size), what inputs select which behavior (preset vs. width/height with unit, mode fit/fill/stretch), and the failure condition (422 when slides are already that size). It lacks an explicit 'use X instead' routing against siblings such as pptx_convert, which keeps it from 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