Antigravity Office & PDF Preview
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| preview_office_fileA | 在 Antigravity 右侧面板中直接原样预览本机 Word (.docx)、Excel (.xlsx/.xls/.csv)、PowerPoint (.pptx) 或 PDF (.pdf) 文档。不传 path 时打开空预览器与近期文档列表。 |
| app_load_fileA | 供 Office 预览界面按路径读取本机 .docx / .xlsx / .xls / .csv / .pptx / .pdf 二进制数据。 |
| app_list_recentA | 供 Office 预览界面列出近期打开或本地常见目录中的 .docx / .xlsx / .pptx / .pdf 文档。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| office_viewer_ui | 基于 docx-preview、SheetJS、pptx-preview 与 PDF.js 的单文件本地离线文档预览器 |
TDQS
Scored across 3 tools
app_list_recent and app_load_file are clearly distinct (listing vs. reading bytes), but preview_office_file overlaps both: with no path it opens an empty previewer with a recent-documents list, duplicating app_list_recent, and it implicitly reads documents that app_load_file reads explicitly. The descriptions hint at the split, but an agent could plausibly pick the wrong tool for 'show me recent files'.
Two tools use an app_ prefix (app_list_recent, app_load_file) while the third uses preview_ (preview_office_file), and the verb-noun ordering differs (list_recent vs. load_file vs. preview_office_file). The names remain readable and snake_case throughout, but the prefix scheme is inconsistent.
Three tools is on the thin side even for a narrow preview-focused server; listing, previewing, and raw loading could arguably be two tools. Each does earn its place, so it is borderline rather than excessive.
The core flow of discover recent files, render a preview, and fetch raw bytes for a given path is covered for all advertised formats. Minor gaps exist (no document metadata/info, no search by name, no way to close or refresh the preview panel), but agents can work around these via app_list_recent and app_load_file.