Skip to main content
Glama

Open a PDF tool

pdf_tool
Read-onlyIdempotent

Give the user the Dozo PDF tool they need, on dozokit.com: merge (several PDFs into one), compress (make a PDF smaller), compress_200kb and compress_100kb (when the user has a 200 KB or 100 KB upload limit: the page keeps compressing until the file fits), split (by page ranges), jpg_to_pdf (images into one PDF), sign, organize (reorder, rotate, delete pages). The user picks the files there and they never leave their device. Files already attached to this conversation cannot be used. Read-only. Donne le lien vers l’outil PDF : les fichiers restent sur l’appareil.

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": {
      "tool": "<tool>"
    },
    "name": "pdf_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of the tool, fr for a French-speaking user.en
toolYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / tool / enum
      Previous value: -[
      -  "merge",
      -  "compress",
      -  "split",
      -  "jpg_to_pdf",
      -  "sign",
      -  "organize"
      -]New value: +[
      +  "merge",
      +  "compress",
      +  "compress_200kb",
      +  "compress_100kb",
      +  "split",
      +  "jpg_to_pdf",
      +  "sign",
      +  "organize"
      +]
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world, and the description stays consistent while adding genuinely non-obvious behavior: processing happens on the user's device, uploaded conversation files are rejected, and the compress_200kb/compress_100kb variants loop until the file fits. It stops short of describing exactly what the response looks like, but the privacy and file-eligibility context is real added value.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core instruction is front-loaded, but the tool enumeration is a dense run-on of comma-separated parentheticals. The trailing French sentence duplicates the English guidance purely to serve the lang parameter, which costs space without adding decision-relevant information for the caller.

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 makes clear that the result is a link to a browser-based tool rather than a server-side operation, which is the key thing an agent must understand. Nothing critical is missing for a two-parameter tool; only the exact return shape is left implicit.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50% and the more important `tool` enum has no per-value descriptions in the schema, so the description carries the load — and it does, defining all eight values including the distinction between compress, compress_200kb and compress_100kb. The `lang` parameter is covered by the schema and echoed by the French sentence.

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 concrete verb and resource (deliver a Dozo PDF tool link on dozokit.com) and enumerates the eight selectable tools, so an agent knows exactly what the call yields. It doesn't differentiate from the only sibling (make_invoice), though the domains are obviously distinct, which keeps it just short of a 5.

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?

Each enumerated tool is tied to a user need (merge several PDFs, compress under an upload limit, split by page ranges), which tells the agent when to pick which value. It also states an explicit exclusion — files already attached to the conversation cannot be used — but names no alternative tool for that case.

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