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_greyscale

Read-onlyIdempotent

Shrink a scanned PDF by turning pages into 100 dpi greyscale JPEG pictures: shading and photos are kept, colour is dropped, text on converted pages is no longer selectable. Larger than the black-and-white files but nothing is thresholded to pure black and white. A page is converted only when that makes it at least 10% smaller. Errors (nothing is returned) if the result would not be smaller than the original, or if the PDF is unreadable, password-protected or over 100 pages.

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

Input Schema

NameRequiredDescriptionDefault
dpiNoRender resolution, 100 to 200. Default 100
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.5/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: selectable text is lost on converted pages, conversion is decided page by page with a 10% threshold, and the call errors out (returning nothing) when the result would not shrink, or the PDF is unreadable, password-protected, or over 100 pages. These are exactly the surprises an agent needs pre-call, and none of them contradict the readOnly/idempotent/destructive 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 dense sentences, front-loaded with the outcome and mechanism, followed by the tradeoff and then the failure modes. No filler; every clause carries decision-relevant information.

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 covers the important surface: what the output file looks like, what is lost, and the full set of error conditions. Nothing an agent needs to decide or call correctly is missing for a two-parameter tool.

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 both parameters are already documented, including the 100–200 dpi range and the 20 MB/100-page limits. The description reinforces the default 100 dpi setting but adds no new meaning about how dpi trades off size versus quality, so baseline 3 applies.

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 scanned PDF") plus the exact mechanism (100 dpi greyscale JPEG rendering). The line "Larger than the black-and-white files but nothing is thresholded to pure black and white" implicitly but clearly separates it from the lossless_bw/smallest_bw style siblings.

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 strong context for when this fits: scanned PDFs where shading/photos matter and pure black-and-white thresholding is unacceptable, plus a per-page condition (convert only if at least 10% smaller). It does not name a sibling to use instead when the user prefers maximum compression over greyscale fidelity, so the alternative routing is implied rather than explicit.

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