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_compress_size

Read-onlyIdempotent

Compress a .pptx to a size you need, for example under 10 MB. Tries the sharpest picture setting first and returns the sharpest result that fits targetSize with targetMet: true; if it cannot fit you get the smallest file with targetMet: false. A deck already under the target comes back unchanged. Text, charts, animations and media stay as they are. Returns the .pptx as base64 plus originalBytes, outputBytes and reductionPercent.

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>",
      "targetSize": "<targetSize>"
    },
    "name": "pptx_compress_size"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxDpiNoNever keep pictures sharper than this many dpi (48 to 300), on top of the level.
fileBase64YesThe presentation (.pptx), base64 encoded. Up to 50 MB and 500 slides. Old .ppt files and password-protected files are not supported.
targetSizeYesThe size to reach: a number of bytes, or text such as 10MB or 800KB (at least 1 KB)
removeNotesNoAlso remove speaker notes first. Default false.
removeThumbnailNoRemove the stored preview picture. Default true; send false to keep it.
removeUnusedLayoutsNoRemove slide layouts no slide uses, and the pictures only they carry. Default true; send false to keep them.

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. Changed2 schema fields changed
    • changedInput schema / properties / removeThumbnail / description
      Previous value: -"Also remove the stored preview picture. Default false."New value: +"Remove the stored preview picture. Default true; send false to keep it."
    • changedInput schema / properties / removeUnusedLayouts / description
      Previous value: -"Also remove slide layouts no slide uses, and the pictures only they carry. Default false."New value: +"Remove slide layouts no slide uses, and the pictures only they carry. Default true; send false to keep them."
  3. Added

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the readOnly/idempotent/non-destructive annotations, the description discloses the search strategy (sharpest setting first), the success criterion (targetMet: true), and the failure mode (smallest file with targetMet: false) — genuinely useful behavior for planning. It also guarantees fidelity of text, charts, animations and media, and the no-op case for already-small decks. It never states what is actually lost on the way to the target, which is the main missing disclosure for a compression tool.

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?

Front-loaded with the outcome (compress to a target size) and then the decision rules, with no filler sentences. The closing sentence on the return payload earns its place because there is no output schema. Minor redundancy between 'for example under 10 MB' and the targetSize schema 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 6-parameter tool with no output schema, the description covers inputs, the decision rule, the failure contract, the no-op case, and the return fields — enough to call it correctly. Still absent is any note on cost/latency of trying multiple settings, which matters for a job that iterates on quality levels.

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 coverage is 100%, so every parameter is already documented in the schema, including the maxDpi/'on top of the level' relationship and the format of targetSize. The description only reinforces targetSize with an example ('under 10 MB') and adds nothing about removeNotes, removeThumbnail or removeUnusedLayouts. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Compress a .pptx') plus the distinguishing dimension — a caller-supplied target size rather than a preset level. That implicitly separates it from the preset siblings (pptx_compress_default/medium/strong), but it never names them, so the differentiation is inferred rather than explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied through the goal statement ('to a size you need') and the outcome rules, which tell an agent this is the target-driven option. There is no explicit when-to-use or when-not-to-use guidance versus the fixed-level compress siblings, so the agent must infer the routing itself.

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