Skip to main content
Glama
Hermoso

Hermoso

Official

Save file(s) to Google Drive

save_to_drive

Saves a Hermoso render or any file to the user's connected Google Drive, with optional folder and name, and returns the saved file's webViewLink.

Instructions

Save a Hermoso render — or ANY file — into the user’s connected Google Drive. Pass a Hermoso render URL as url (or urls[] for several); for a local/external file, call upload_file first and pass the url it returns. Optional folder (created if new) + name. Returns the Drive file(s) with a webViewLink. Needs Google Drive connected (Connectors > Google Drive — one connection covers Drive, Sheets and Docs). NOTE: Hermoso uses the drive.file scope, so it reaches ONLY the files it created plus any the user explicitly handed over with the Google file picker in the app — never their whole Drive.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "save_to_drive"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoa single Hermoso render URL to save
nameNofile name (single save)
urlsNoseveral render URLs (up to 20) to save in one call
folderNoDrive folder name to save into (created if new)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.161
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": false,
      -  "properties": {
      -    "failed": {
      -      "type": "number"
      -    },
      -    "files": {
      -      "items": {},
      -      "type": "array"
      -    },
      -    "ok": {
      -      "type": "boolean"
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  2. Addedv0.1.15

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare this is a non-read-only, non-idempotent, non-destructive, open-world write, and the description goes well beyond them: it discloses the drive.file OAuth scope limit (only self-created or picker-granted files, never the whole Drive), that folders are auto-created, and that the response includes webViewLink. That scope disclosure is exactly the kind of constraint an agent cannot get from structured fields.

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?

Dense but front-loaded: purpose, then inputs, then return value, then prerequisite, then the scope caveat, in that order. It is a long paragraph with no formatting, but each sentence carries distinct information and none is 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?

There is no output schema, yet the description tells the agent what comes back (file(s) with webViewLink), what authentication is required, how folder creation behaves, and the hard scope limit on what Drive data is reachable. For a write tool with these constraints, nothing material is missing.

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, and the description adds real meaning on top: it explains the url vs urls[] split and its purpose (single render vs batch), and that url may come from a prior upload_file call. It largely restates the folder auto-creation already in the schema, keeping it from a 5.

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?

States a specific verb (save) and resource (files into the user's Google Drive), and broadens scope explicitly ('a Hermoso render — or ANY file'), which cleanly separates it from the sibling URL-only uploader and the read/delete Drive 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?

Gives explicit routing: pass a render URL directly, use urls[] for batches, and call upload_file first for local/external files and pass the returned url. The preconditions (Drive must be connected via Connectors) are also spelled out, so nothing about when and how to use it is left to inference.

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

Deploy Server

Other Tools