Skip to main content
Glama

import_to_google_doc

Convert files (Markdown, DOCX, TXT, HTML, RTF, ODT) to Google Docs format while preserving formatting like headings, lists, and text styles.

Instructions

Imports a file (Markdown, DOCX, TXT, HTML, RTF, ODT) into Google Docs format with automatic conversion.

Google Drive automatically converts the source file to native Google Docs format, preserving formatting like headings, lists, bold, italic, etc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_google_emailYesThe user's Google email address. Required.
file_nameYesThe name for the new Google Doc (extension will be ignored).
contentNoText content for text-based formats (MD, TXT, HTML).
file_pathNoLocal file path for binary formats (DOCX, ODT). Supports file:// URLs.
file_urlNoRemote URL to fetch the file from (http/https).
source_formatNoSource format hint ('md', 'markdown', 'docx', 'txt', 'html', 'rtf', 'odt'). Auto-detected from file_name extension if not provided.
folder_idNoThe ID of the parent folder. Defaults to 'root'.root

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It mentions automatic conversion and formatting preservation, which is useful, but lacks critical behavioral details: it doesn't specify if this creates a new file (implied but not stated), what permissions are required, error handling, rate limits, or the output format. For a tool with no annotations, this leaves significant gaps.

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 concise and well-structured: two sentences that efficiently convey the core functionality and conversion behavior. It avoids redundancy and is front-loaded with the main purpose. A minor deduction for not including critical behavioral details, but it's appropriately sized for its content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (7 parameters, file conversion), no annotations, but with a rich input schema (100% coverage) and an output schema (implied by context signals), the description is adequate but has gaps. It covers the 'what' but lacks the 'how' and 'when'—missing authentication needs, error scenarios, and output details. It's minimally viable but not fully comprehensive.

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 description coverage is 100%, so the schema fully documents all 7 parameters. The description adds minimal value beyond the schema: it lists supported file formats (Markdown, DOCX, etc.), which aligns with 'source_format' hints, but doesn't explain parameter interactions (e.g., how 'content', 'file_path', and 'file_url' are mutually exclusive). Baseline 3 is appropriate as the schema does the heavy lifting.

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 clearly states the tool's purpose: 'Imports a file... into Google Docs format with automatic conversion.' It specifies the action (imports with conversion), the resource (files in various formats), and distinguishes from siblings like 'create_doc' by focusing on format conversion rather than creation from scratch.

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?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., authentication needs), compare with siblings like 'create_doc' or 'update_drive_file', or specify scenarios where this tool is preferred over others. Usage is implied but not explicitly stated.

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/HuntsDesk/ve-gws'

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