Skip to main content
Glama
hermoso-ai

Hermoso

Official

Convert a OneDrive file to PDF or JPG

convert_onedrive_file
Read-only

Convert OneDrive files (PowerPoint, PSD, raw camera, video) to PDF or JPG using Microsoft's server-side conversion, preserving original quality. Set width/height for JPG output.

Instructions

Turn a file already in the user’s OneDrive into a PDF or a JPG — Microsoft does the conversion on its own servers, so nothing is re-encoded here and nothing is lost in a screenshot. It reads about 130 source formats, which is the point: PowerPoint and Word decks, Excel, Photoshop PSD, Illustrator AI, Sketch, 3D (fbx/glb/obj), video (mp4/mov/webm), HEIC from an iPhone, and the raw camera formats (CR2, NEF, ARW, DNG) that nothing else in this product can open. Use it to turn a client’s deck into images you can actually put in an ad, to get a usable JPG out of a designer’s PSD or a photographer’s raw file, or to hand someone a PDF of a spreadsheet. CONVERTING TO JPG REQUIRES BOTH width AND height — Microsoft refuses the call without them. The result is stored at a durable Hermoso URL you can pass straight to a render or a post; Microsoft’s own conversion link expires within minutes, so do not hand that one to anyone. Needs OneDrive connected — no new permission.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
widthNoREQUIRED for jpg — output width in pixels
fileIdYesthe OneDrive item id, from list_onedrive_files
formatNodefault pdf
heightNoREQUIRED for jpg — output height in pixels
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description adds meaningful behavior: conversion happens on Microsoft's servers (no local re-encoding), no data is lost, output is stored at a durable Hermoso URL, and the Microsoft-provided link expires in minutes. This goes beyond annotations and covers essential operational details without contradiction.

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 long but each sentence serves a purpose: it explains the mechanism, enumerates supported formats, gives examples, states a hard constraint (JPG dimensions), and describes output and permissions. It is front-loaded with the core function, and while detailed, it avoids fluff. Slightly overlong for a 4-5, but very efficient for the complexity it covers.

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?

Given no output schema, the description does a good job describing what the tool produces (a durable URL) and how to use the result ('pass straight to a render or a post'). It covers prerequisites, output behavior, and a key pitfall (expiring link). It omits explicit response structure (e.g., whether it returns just the URL or an object), but the guidance is sufficient for an agent to use the tool correctly.

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 baseline is 3. The description adds value by explaining that JPG conversion requires both width and height because Microsoft refuses the call without them, and it clarifies that fileId comes from list_onedrive_files. This exceeds the schema by providing rationale and origin context, justifying a score above baseline.

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 (convert), a clear resource (OneDrive file), and output formats (PDF or JPG). It also distinguishes itself from siblings by highlighting the broad input format support (e.g., PSD, AI, raw camera formats) that other tools in the product cannot open. This makes the tool's purpose unmistakable and separate from read/get/list tools.

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?

The description provides explicit use cases ('turn a client's deck into images', 'get a usable JPG out of a designer's PSD', 'hand someone a PDF of a spreadsheet') and a critical warning about avoiding the expiring Microsoft link. It also notes the prerequisite of OneDrive being connected. This clearly guides when and why to use the tool, and even hints at the source for the fileId (list_onedrive_files).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hermoso-ai/hermoso'

If you have feedback or need assistance with the MCP directory API, please join our Discord server