Skip to main content
Glama
MCP-Gemini-FileSearch

MCP-Gemini-FileSearch

by amsminn

list_documents

Browse indexed documents with pagination and optional author, tag, or year filters; returns metadata including title, authors, year, and tags for review or selection.

Instructions

List all indexed documents with pagination and optional filters. Returns document metadata including title, authors, year, and tags.

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": "list_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-indexed, default: 1)
filtersNoOptional filters
page_sizeNoResults per page (default: 20, max: 100)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose that results are document metadata (title, authors, year, tags) and that results are paginated, and the verb 'List' implies a non-mutating read, but it says nothing about total counts, ordering, empty-result behavior, or access requirements.

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 short sentences, front-loaded with the core action and followed by the return shape. No redundant or filler wording.

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?

For a zero-required-parameter read tool with a fully annotated schema, the description covers purpose, filtering, pagination, and the shape of returned metadata. The gap is the absence of any guidance relative to the 'search' sibling and no note on result ordering or paging limits beyond the schema defaults.

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%, including per-field descriptions for the nested filter object, page, and page_size, so the schema does the explanatory work. The description only restates 'pagination and optional filters' without adding format or interaction semantics (e.g. how filters combine).

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?

States a specific verb and resource ('List all indexed documents') and names the supporting capabilities (pagination, optional filters). It does not differentiate itself from the sibling 'search' or explain how a filtered list differs from a search, so differentiation is left to the sibling's own definition.

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 only implied: the mention of 'optional filters' suggests this is for enumerating or narrowing the document set, but there is no statement of when to prefer this over 'search' or 'get_passages', and no exclusions or prerequisites.

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