Skip to main content
Glama

Tools For Free

Convert a file

convert_file

Convert a file, or run a tool on it, on the toolsforfree.app server. Name a conversion with from and to, or a tool with operation and format. Waits up to 40 seconds and returns a download link, with a small text result inline; a longer job comes back with what to pass to get_job. If you can run commands, send the raw file instead: curl --data-binary @FILE -H "content-type: application/octet-stream" "" answers {taskId, engine}; then call get_job with those and the target format.

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

Input Schema

NameRequiredDescriptionDefault
toNoTarget format id, e.g. "mp4".
fromNoSource format id, e.g. "mov".
formatNoThe file's format id, with operation.
optionsNoSettings, as the option fields search_tools returns for the conversion or tool, e.g. {"image":{"quality":80}}. Anything else is refused with a message naming the field.
operationNoA tool id from search_tools, e.g. "compress-video", instead of from and to.
fileBase64YesThe file, base64-encoded. At most 6 MB.

Output Schema

NameRequiredDescriptionDefault
hintNo
nextNo
errorNo
stateNo
engineNo
formatNo
reasonNo
taskIdNo
expiresNo
failureNo
messageNo
downloadNo
progressNo
outputBytesNo
downloadBeforeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations, the description discloses the 40-second wait limit, inline text result, download link return, asynchronous job handoff, and exact raw-upload response fields. This gives the agent concrete behavioral expectations for both synchronous and longer-running cases.

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 description is front-loaded with the main action and mode selection, and every sentence carries useful information. It is somewhat dense, especially the curl example, but it does not contain obvious filler.

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?

Given six parameters, a nested options object, and an output schema, the description covers the important usage modes, timing behavior, async handoff, and an alternative upload path. An agent has enough context to invoke the tool correctly without needing more prose about return values.

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 adds meaningful semantics by clarifying that from/to and operation/format are alternative modes rather than independent options. It also ties options and tool ids back to search_tools, though most parameter detail remains in the schema.

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 states a specific verb and resource: convert a file or run a tool on it on the toolsforfree.app server. It also distinguishes the two invocation modes and explains how get_job and search_tools relate to the operation.

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?

It explicitly says to use from/to for a conversion or operation/format for a tool, and it provides a raw-curl alternative when command execution is available. It also explains the handoff to get_job for longer jobs, leaving little ambiguity about when to use which path.

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