Skip to main content
Glama

Drive Rename

drive_rename
Idempotent

Rename a Google Drive file or folder by ID to a new name, with a required user confirmation step. Use it to fix or update file and folder names Hermes can access.

Instructions

Rename a Drive file or folder. Requires user confirmation before calling.

Works on anything Hermes can see, including files the user uploaded or shared. The name may not be empty or contain slashes.

Returns dict with keys: id, name (as stored by Drive), mime_type.

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": {
      "file_id": "<file_id>",
      "new_name": "<new_name>"
    },
    "name": "drive_rename"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_idYes
new_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.1

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations, it discloses a hard pre-call requirement (user confirmation), the reachability scope of target files, and validation limits on the new name. Annotations already cover idempotency and non-destructiveness, so the added context here is real value rather than repetition. It stops short of 5 by not saying what happens on failure or on a name collision.

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?

Three short, front-loaded sentences: purpose, precondition, scope, then constraints. The return-value sentence is mildly redundant given an output schema exists, but it is one line and harmless.

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?

For a two-parameter mutation with an output schema, the definition covers the confirmation gate, scope, and validation rules. The remaining gap is the origin/format of file_id, which the agent must discover elsewhere.

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

Parameters3/5

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

Schema coverage is 0%, so the description carries the burden. It explains new_name's constraints (non-empty, no slashes) but says nothing about file_id format or how to obtain one, leaving half the parameters undocumented in both places.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource ('Rename a Drive file or folder'), which is unambiguous against siblings like drive_move, drive_update, and drive_delete. It never explicitly names those siblings to route the agent, so it falls short of a 5, but the operation itself cannot be confused with anything else in the set.

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

Usage Guidelines4/5

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

It gives a concrete precondition ('Requires user confirmation before calling') and a scope rule ('Works on anything Hermes can see, including files the user uploaded or shared'). There are no explicit when-not conditions or named alternatives, so an agent still has to infer that relocation belongs to drive_move.

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