Skip to main content
Glama
MCP-Gemini-FileSearch

MCP-Gemini-FileSearch

by amsminn

create_file_store

Create a Gemini File Search Store before uploading documents; reuse its Store ID across sessions to maintain document collections.

Instructions

Create a new Gemini File Search Store. You must create a File Store before uploading documents. The Store ID can be reused across sessions to maintain document collections.

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

Input Schema

NameRequiredDescriptionDefault
display_nameNoOptional display name for the File Store (max 512 characters)

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?

With no annotations supplied, the description carries the full burden. It usefully discloses lifecycle behavior — that the returned Store ID persists across sessions and anchors a document collection — which is real value beyond the schema. It omits permission/auth requirements, whether creation is reversible or how many stores may exist, and does not explicitly state that the store ID is the call's return value.

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?

Three short sentences, front-loaded with the action and followed by the prerequisite and the persistence note; nothing is wasted. Minor redundancy in restating "File Store" after the full "Gemini File Search Store" name costs it a point.

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?

The tool is simple (one optional parameter, no output schema, no nested objects) and the description covers purpose, prerequisite ordering, and the reuse semantics of the returned ID, which is enough to call it confidently. Residual gaps are modest: it doesn't note what is returned on success or any quota on the number of stores.

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%: the single optional parameter display_name is already documented with a max length in the schema. The description never mentions display_name or whether it is optional, so it adds no meaning beyond structured data. Baseline 3 applies when the schema does the heavy lifting.

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 opens with a specific verb and resource ("Create a new Gemini File Search Store"), so the agent immediately knows this is a provisioning call. No sibling in the catalog also creates stores, so no explicit differentiation is needed, but it also never contrasts itself with them — hence 4 rather than 5.

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

Usage Guidelines4/5

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

"You must create a File Store before uploading documents" gives an explicit prerequisite and ordering constraint relative to add_document, which is exactly the guidance an agent needs before a first call. It stops short of saying when *not* to create one (e.g., reuse an existing store instead of creating duplicates) or naming an alternative tool.

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