Skip to main content
Glama

Get a Docmint link with settings preset

get_tool_link
Read-onlyIdempotent

Build a link to one Docmint tool with its settings filled in, such as compress-pdf with level=strong or split-pdf with mode=range and ranges=1-3. The person opens the link and adds the file in their browser, where it is processed on their device. Settings a tool doesn't accept are ignored and listed in the result. This tool only builds the link: it does not receive or process the file.

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

Input Schema

NameRequiredDescriptionDefault
toolYesTool id, e.g. compress-pdf.
settingsNoTool settings by name. See find_pdf_tool or list_pdf_tools for each tool's settings and allowed values.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / tool / enum
      Previous value: -[
      -  "compress-pdf",
      -  "delete-pages",
      -  "watermark-pdf",
      -  "merge-pdf",
      -  "split-pdf",
      -  "rotate-pdf",
      -  "pdf-to-jpg",
      -  "jpg-to-pdf",
      -  "protect-pdf",
      -  "unlock-pdf",
      -  "organize-pdf",
      -  "page-numbers",
      -  "crop-pdf",
      -  "sign-pdf",
      -  "edit-metadata",
      -  "pdf-to-text",
      -  "ocr-pdf",
      -  "pdf-to-png",
      -  "nup-pdf",
      -  "resize-pdf",
      -  "grayscale-pdf",
      -  "flatten-pdf",
      -  "compare-pdf",
      -  "text-to-pdf",
      -  "pdf-info",
      -  "compress-image",
      -  "convert-image",
      -  "resize-image"
      -]New value: +[
      +  "compress-pdf",
      +  "delete-pages",
      +  "watermark-pdf",
      +  "merge-pdf",
      +  "split-pdf",
      +  "rotate-pdf",
      +  "pdf-to-jpg",
      +  "jpg-to-pdf",
      +  "protect-pdf",
      +  "unlock-pdf",
      +  "redact-pdf",
      +  "organize-pdf",
      +  "page-numbers",
      +  "crop-pdf",
      +  "sign-pdf",
      +  "fill-pdf-form",
      +  "edit-metadata",
      +  "pdf-to-text",
      +  "ocr-pdf",
      +  "pdf-to-png",
      +  "extract-images",
      +  "nup-pdf",
      +  "resize-pdf",
      +  "grayscale-pdf",
      +  "flatten-pdf",
      +  "compare-pdf",
      +  "text-to-pdf",
      +  "pdf-info",
      +  "compress-image",
      +  "convert-image",
      +  "heic-to-jpg",
      +  "resize-image"
      +]
  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 readOnly, idempotent, non-destructive, and closed-world, yet the description still adds real behavioral facts: unknown settings are silently ignored and surfaced in the result, and processing happens client-side rather than server-side. That 'ignored settings' behavior is exactly the kind of non-obvious trait an agent needs and is not captured by the annotations.

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?

The definition is front-loaded with the core action and examples, then closes with the key limitation. Four sentences, all carrying information; the only minor redundancy is restating the link-building intent at the end, though it serves as an explicit negative constraint.

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 two parameters, full schema coverage, strong annotations, and no output schema, the description covers what the tool does, how settings are formed, and what happens to rejected settings. It stops short of describing what the returned link looks like, which would be the only remaining gap.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline would be 3, but the description goes further by showing the shape of settings values (level=strong, mode=range, ranges=1-3) and by stating that settings the tool does not accept are ignored rather than erroring. That materially clarifies how to populate the free-form settings object.

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?

The description uses a specific verb and resource: 'Build a link to one Docmint tool with its settings filled in,' and grounds it with two concrete examples (compress-pdf level=strong, split-pdf mode=range ranges=1-3). The final sentence explicitly scopes it away from file processing, so an agent can distinguish it from any tool that actually handles files.

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 conveyed indirectly through the workflow narrative ('The person opens the link and adds the file in their browser'), which implies this is for handing a preconfigured task to an end user. There is no explicit when-to-use/when-not statement, and routing to find_pdf_tool or list_pdf_tools appears only in the schema, not the description.

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.