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.

pdf_compress_aggressive

Read-onlyIdempotent

Shrink a PDF harder (the site's Aggressive mode): Balanced steps, then pages become pictures at finer and finer steps, converting a page only when that is clearly smaller. Text on converted pages is no longer selectable (textSelectable says which). Slow: several seconds per page; returns the best level finished (truncated: true) if the time budget runs out. Errors if the PDF is unreadable, password-protected, over 100 pages or cannot be made smaller.

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": "pdf_compress_aggressive"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileBase64YesThe PDF, base64 encoded (up to 20 MB, up to 100 pages)

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.4/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the internal strategy, the loss of text selectability with a flag to detect it, the slow runtime, and that the time budget can yield a partial result with truncated: true. It also enumerates failure conditions (unreadable, password-protected, over 100 pages, no size reduction), which annotations alone would never convey.

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?

Purpose is front-loaded and every clause carries information, but the single run-on paragraph packs multiple distinct concerns (strategy, text loss, speed, truncation, errors) without breaks. The middle clause about "finer and finer steps" is slightly redundant with the preceding mention of progressive conversion.

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?

With no output schema, the description still names the response fields that matter (textSelectable, truncated) and covers all known error cases. For a one-parameter, non-destructive transformation tool this is everything an agent needs to call it and interpret the result.

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?

Only one parameter exists and schema coverage is 100%, so the base64 encoding, 20 MB limit, and page cap are already documented. The description reinforces the 100-page cap through its error list but adds no new syntax or format 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?

States a specific verb and resource ("Shrink a PDF") plus an explicit mode ("the site's Aggressive mode"), and immediately describes the strategy (balanced steps, then progressive page-to-image conversion). An agent can distinguish it from pdf_compress_balanced or pdf_compress_extreme by the described escalation behavior.

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?

The trade-off is spelled out clearly — harder shrinking, loss of selectable text, slow per-page processing — which gives an agent enough context to choose it when size matters more than text fidelity. It does not explicitly name a sibling to use instead when text must be preserved, so it stops short of full routing 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