Skip to main content
Glama

Convert.Online

Create an upload

create_upload

Get somewhere to put a local file — the right choice for ANY file that is not already at a URL, up to 20 GB (5 GB through the upload link shown to the person). Say what the file should become in output_format: the conversion then starts on its own the instant the person sends the file, and collecting the result is all that is left. Returns an import_id plus two ways to deliver the bytes: a link to show the person so they upload from their own browser (use this when your own network cannot reach convert.online or storage), or a URL to PUT the bytes to yourself. Then call convert with the import_id to collect the result; it waits for the file to arrive. For a PDF tool (compress, merge, sign...) on a local file pass pdf_tool instead of a real output_format: a one-file tool then starts on its own when the file arrives; for merge, compare, overlay and images-to-pdf call create_upload once per file and then pdf_tool with all the import_ids in order.

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": {
      "output_format": "<output_format>"
    },
    "name": "create_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
optionsNoWith pdf_tool: the tool's options from list_pdf_tools. Passwords are not accepted here; give them to pdf_tool.
filenameNoName of the file being uploaded, e.g. "photo.jpg" — the source format is taken from it.
pdf_toolNoOptional: a PDF tool from list_pdf_tools (e.g. "compress", "merge") to run on this file instead of a conversion.
input_formatNoSource format, if the file name does not carry a usable extension.
output_formatYesWhat the file should become, e.g. "png". Required: with it the conversion starts by itself when the file arrives, so nothing depends on a later call. With pdf_tool give "pdf"; it is then ignored.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / options
      Added value: +{
      +  "description": "With pdf_tool: the tool's options from list_pdf_tools. Passwords are not accepted here; give them to pdf_tool.",
      +  "type": "object"
      +}
    • changedInput schema / properties / output_format / description
      Previous value: -"What the file should become, e.g. \"png\". Required: with it the conversion starts by itself when the file arrives, so nothing depends on a later call."New value: +"What the file should become, e.g. \"png\". Required: with it the conversion starts by itself when the file arrives, so nothing depends on a later call. With pdf_tool give \"pdf\"; it is then ignored."
    • addedInput schema / properties / pdf_tool
      Added value: +{
      +  "description": "Optional: a PDF tool from list_pdf_tools (e.g. \"compress\", \"merge\") to run on this file instead of a conversion.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say this is a non-idempotent, non-destructive, non-open-world write; the description adds the material behavior: hard size ceilings (20 GB, 5 GB via the person-facing link), that the conversion starts automatically the moment the file arrives, that the response contains an import_id plus two distinct delivery paths, and that the downstream convert call blocks waiting for the file. That is exactly the state-machine context an agent needs and cannot get from the schema.

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?

Densely front-loaded with dashes and parentheticals carrying real information rather than filler, and the size limit appears early. It is long and slightly tangled in the final PDF-tool sentence, but every clause maps to a decision the caller must make.

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?

For a five-parameter, no-output-schema tool embedded in a multi-step flow, the description supplies the pieces that would otherwise be missing: return contents (import_id plus two delivery options), the required follow-up call, and the fan-out pattern for multi-file PDF operations. Nothing essential to correct invocation is absent.

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 is 3, but the description earns extra by explaining the consequence of output_format (it triggers the conversion, so nothing depends on a later call) and the special interaction where pdf_tool requires output_format='pdf' which is then ignored. It does not explain input_format or filename beyond what the schema already says.

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?

Opens with a concrete framing ('Get somewhere to put a local file') and immediately states scope: any file not already at a URL. This makes it trivially distinguishable from siblings like convert (which collects the result) and pdf_tool (which operates on an upload).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit selection rules: use this when the file is local rather than at a URL, use output_format for conversions, use pdf_tool for PDF tools, and use the person-facing link when your own network cannot reach convert.online or storage. It also names the follow-up call (convert with import_id) and the multi-file pattern for merge/compare/overlay/images-to-pdf. When-to-use and when-to-use-something-else are both covered.

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