Skip to main content
Glama

Compress PDF

compress-pdf

Make PDF files smaller for e-mail and uploads. Accepts pdf. Returns the result file.

Input Schema

NameRequiredDescriptionDefault
filesYesAccepts pdf; at most 50 MB in total.
optionsNoOptional settings; omitted ones use their default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare the non-read-only, non-destructive, closed-world profile, so the safety bar is lower. The description adds that it accepts PDFs and returns a result file, but it says nothing about quality loss from compression, whether the original is preserved, or how output is delivered (file, link, base64) — meaningful gaps for a mutation 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?

Three short sentences, zero padding, with the purpose front-loaded. The staccato 'Accepts pdf. Returns the result file.' is efficient though slightly telegraphic.

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

Completeness3/5

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

The tool has nested input objects and no output schema, so the description carries the burden of describing the return value; 'Returns the result file' is minimal and doesn't say whether that is a link, an upload id, or base64 content. Adequate but leaves a real gap for a file-producing 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 description coverage is 100%, so the schema already documents 'files', 'upload_id', 'content_base64' and the size cap. The description adds nothing about the 'level' enum (low/medium/high) or its effect on output quality/size, so 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?

States a specific verb and resource ('Make PDF files smaller') and implicitly distinguishes itself from compress-image by restricting to PDFs. It is clear what the tool does, though it never names a sibling as the alternative path.

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?

The phrase 'for e-mail and uploads' gives a motivating use case, but there is no guidance on when to pick this over compress-image, pdf-to-pdfa, or other reduction paths, and no stated exclusions or prerequisites.

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