Skip to main content
Glama
node2flow-th

gemini-file-search-rag-mcp

by node2flow-th

gemini_list_documents

Read-only

List documents in a Gemini File Search store, returning names, display names, state, size, and MIME types. Supports pagination via page_size and page_token.

Instructions

List documents in a Gemini File Search store. Returns document names, display names, state, size, and MIME types.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_sizeNoNumber of documents to return per page (default 10, max 20)
page_tokenNoToken for next page from previous response
store_nameYesStore resource name, e.g. "fileSearchStores/abc123"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds value by enumerating the returned fields (names, display names, state, size, MIME types), but says nothing about pagination behavior or ordering, which matter for a list operation.

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?

Two compact sentences, front-loaded with the purpose and followed by the return shape. No filler and nothing redundant with the schema.

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 no output schema, the description usefully enumerates returned fields, and annotations cover the safety profile. Pagination is handled by the schema, but the description could note that results are paged, a common pitfall for list tools.

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%: page_size, page_token, and store_name all carry their own schema descriptions including defaults and limits. The description adds no parameter-level detail, so the baseline 3 applies.

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 and resource ('List documents in a Gemini File Search store'), which cleanly separates it from gemini_list_stores (lists stores) and gemini_get_document (retrieves one). It stops short of explicitly naming those siblings, so an agent must infer the distinction from the noun alone.

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?

Usage is implied by the scope: enumerate documents within a known store. However, there is no explicit guidance on when to prefer this over gemini_get_document for a single document, and no mention of required store existence or prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.