Skip to main content
Glama
Antigravity Office & PDF Preview

Antigravity Office & PDF Preview

获取近期文档列表

app_list_recent

Lists recently opened or common local Word, Excel, PowerPoint, and PDF files, helping you choose a document to preview in the Office panel.

Instructions

供 Office 预览界面列出近期打开或本地常见目录中的 .docx / .xlsx / .pptx / .pdf 文档。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "app_list_recent"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose the two data sources (recently opened items and common local directories) and the file-type filter, which is real behavioral context. It omits ordering, result-count limits, whether the local-directory scan touches the filesystem and could be slow, and what each returned item contains.

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?

A single front-loaded sentence with no filler, stating the caller context first and the scope second. It could be marginally tighter, but every clause carries information.

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?

For a zero-parameter read tool with no output schema, the description should at least sketch what a result entry looks like (path, name, recency) or how results are ordered. It establishes scope well but leaves the return shape entirely unspecified, which is the main gap for an agent deciding whether to call it.

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?

The tool takes zero parameters, so there is no parameter meaning for the description to add and the schema coverage is 100%. Baseline 4 applies; nothing is missing on this dimension.

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 gives a specific verb (列出/list) and resource (近期打开或本地常见目录中的文档), and further narrows it to four concrete file extensions. That is enough to tell it apart from app_load_file and preview_office_file, which open or render a file rather than enumerate candidates, though the description never names those siblings explicitly.

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

Usage Guidelines3/5

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

The phrase 供 Office 预览界面 implies this is the discovery step that feeds the preview flow, which is useful context. However, it never states when to prefer this over the sibling tools, nor any precondition or exclusion, so the routing guidance is only implied.

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