Skip to main content
Glama
hermoso-ai

Hermoso

Official

Read a Google Doc

read_doc
Read-onlyIdempotent

Extract the full plain text, tab names, and dropdown chip values from a Google Doc by its ID or URL. Use it to read docs created in the app or ones the user picked, including every tab.

Instructions

Read the text of a Google Doc Hermoso can reach — one it created, or one the user handed over with the Google file picker in the app (that is how an EXISTING doc becomes readable; find its id with list_drive_files). Pass documentId (from create_doc) OR paste a Google Docs URL as docUrl. Under the drive.file scope it reaches nothing else in the user’s Drive; if Google answers that the file was not found, the user has not picked it yet — ask them to pick it in the app rather than retrying. Returns the plain text of EVERY tab (each headed by its tab name when there are several), with smart chips (dropdowns, people, dates, rich links) shown as the text Docs displays, plus dropdowns[] — each chip with its title, current value and options, which is what update_doc dropdowns sets. Read-only, free.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
docUrlNoa Google Docs URL to read — the document id is extracted from it
documentIdNothe document id (from create_doc)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.161

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover readOnly/idempotent/non-destructive, but the description adds meaningful context: the drive.file scope's reach limits, the not-found failure mode and correct recovery, and exactly what the read yields (every tab, chip text as Docs renders it, dropdowns[] feeding update_doc). This is rich disclosure beyond the annotation set.

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 and somewhat long, but front-loaded with the core action and its scope, and every clause carries a distinct operational fact (id sources, scope limits, failure handling, return shape). Minor trimming around the chip/dropdown explanation would help but nothing 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?

With no output schema, the description carries the return-value burden and does so precisely (plain text of every tab, tab headings, chip rendering, dropdowns[]). Combined with scope and error guidance, an agent has everything needed to call and interpret this 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 the baseline is 3, but the description adds provenance and alternation semantics the schema cannot express: documentId comes from create_doc, and the two params are an OR ('Pass documentId OR paste a Google Docs URL as docUrl').

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 and resource ('Read the text of a Google Doc') and immediately bounds it: only docs Hermoso created or the user picked via the Google file picker. Names sibling tools (create_doc, list_drive_files) for the id path, so an agent can distinguish it from list_drive_files or read_sheet without opening the schema.

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 when-to-use (doc created by Hermoso or handed over via the file picker), how to obtain the id (list_drive_files), and the two acceptable input routes (documentId from create_doc or a pasted docUrl). It also states the failure branch: if Google reports file-not-found, the user hasn't picked it, so ask rather than retry — that is actionable when-not 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