Skip to main content
Glama

create_shortcut

Destructive

Create a Google Drive shortcut pointing to an existing file, optionally in a chosen folder with a custom name.

Instructions

Create a Drive shortcut pointing to an existing file.

Args: target_file_id: The ID of the file the shortcut should point to. folder_id: Destination folder ID for the shortcut. If not provided, uses the configured default folder or creates in root. name: Name for the shortcut. Defaults to the target file's own name.

Returns: shortcutId, name, parent, targetId, and targetMimeType of the new shortcut.

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": {
      "target_file_id": "<target_file_id>"
    },
    "name": "create_shortcut"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
folder_idNo
target_file_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.6

TDQS

A3.5/5.0
Behavior3/5

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

Beyond the annotations, the description usefully discloses fallback behavior: folder_id defaults to a configured default folder or root, and name defaults to the target file's own name. It does not explain permission requirements, what happens on duplicate shortcut names, or why the tool carries destructiveHint=true, and it never states that no file content is copied. Adding that the shortcut is a pointer rather than a copy would materially help an agent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in one sentence, followed by a tight Args/Returns block. The parameter lines add real meaning (defaults and fallbacks) rather than restating schema titles, so nothing is wasted.

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?

With an output schema present, the Returns line is a courtesy rather than a necessity, and the param docs plus default behavior cover what an agent needs to invoke the tool correctly. Missing error/edge-case behavior (nonexistent target, duplicate name) is the main gap and is minor for a three-parameter create tool.

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 description coverage is 0%, so the description carries the full burden and largely succeeds: each of the three parameters gets a sentence, including default resolution semantics for folder_id and name. Only target_file_id's validation (must be an existing, accessible file) is left implicit.

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 and resource: 'Create a Drive shortcut pointing to an existing file.' That is unambiguous and clearly separable from creation tools like create_folder or create_doc. It doesn't explicitly name a sibling to distinguish from (e.g., create_bookmark, copy_file), which keeps it from a 5.

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

Usage Guidelines2/5

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

There is no when-to-use / when-not-to-use guidance and no routing to alternatives such as create_bookmark or copy_file, despite those being plausible confusions. The only implied constraint is that the target file must already exist ('pointing to an existing file'), which is incidental rather than deliberate guidance.

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