Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GEMINI_MODELNoDefault Gemini model.gemini-2.5-pro
GEMINI_CLI_PATHNoPath to the gemini binary.gemini
GEMINI_TIMEOUT_MSNoTimeout per invocation in milliseconds.120000

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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
gemini_queryA

Send a query to Google Gemini with optional file context. Use this tool when you need to delegate a task that would consume a large amount of tokens — for example: reading and analyzing a very large file (>1000 lines), summarizing lengthy logs, getting a second opinion on complex analysis, or processing content that exceeds your comfortable context window. Gemini has a very large context window (1M+ tokens) and can handle these tasks efficiently. You can attach files as context by providing their absolute paths. Returns Gemini's text response.

gemini_summarizeA

Summarize a file or an entire directory/codebase using Gemini's large context window. USE THIS TOOL WHEN: (1) You need a quick overview of a large file (>500 lines) without reading it yourself. (2) You need to understand the structure and purpose of an unfamiliar codebase or directory. (3) You want to summarize lengthy logs, documentation, or data files. For directories, this tool automatically traverses the file tree, skipping node_modules, .git, binary files, and other non-essential content. It respects a ~4MB total content limit to stay within Gemini's context window. Returns a structured summary from Gemini.

gemini_analyzeA

Perform deep, structured analysis of a codebase or file using Gemini. USE THIS TOOL WHEN: (1) You need to understand the architecture of a large, unfamiliar project. (2) You want to audit code for bugs or security vulnerabilities across many files. (3) You need to map out dependencies or identify design patterns in a codebase. (4) You have a specific analytical question about a codebase that requires reading many files. This tool is MORE STRUCTURED than gemini_summarize — it uses specialized prompts for each analysis type and produces categorized, actionable findings. Automatically filters out node_modules, .git, binary files, and other non-essential content.

gemini_reviewA

Get a code review from Gemini on specific files or a git diff. USE THIS TOOL WHEN: (1) You want a second opinion on code you just wrote or are about to commit. (2) You need to review a large diff that would consume too many tokens to analyze yourself. (3) You want a focused review on a specific aspect like performance, error handling, or readability. (4) You need to review multiple files together to check for cross-file consistency. This tool differs from gemini_analyze: it is designed for reviewing CHANGES (diffs, specific files) rather than analyzing an entire codebase. It provides actionable review comments with severity levels.

gemini_searchA

Search the web using Gemini with Google Search grounding. USE THIS TOOL WHEN: (1) You need current, up-to-date information that may be beyond your training data. (2) You need to look up latest versions, release notes, or changelogs. (3) You need to research a topic with real-time web results. (4) You need to verify facts or find documentation URLs. Gemini will automatically search Google and synthesize results into a comprehensive answer with source citations. This is more powerful than a raw search engine — it reads, understands, and summarizes the search results.

gemini_pr_reviewA

Review a pull request or branch diff using Gemini. USE THIS TOOL WHEN: (1) You want to review all changes in a PR or feature branch before merging. (2) You need a thorough review of a large diff that would consume too many tokens. (3) You want to compare changes between two branches or commits. This tool automatically fetches the git diff and optionally collects the full content of changed files for deeper context. It differs from gemini_review: this tool is git-aware and fetches diffs automatically, while gemini_review requires you to pass in the diff or file content manually.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 6 tools

Disambiguation4/5

Each tool has a distinct intent: query (arbitrary delegation), summarize (overview), analyze (structured deep analysis), review (manual diffs/files), pr_review (git-aware diff fetching), and search (web grounding). The boundaries between summarize/analyze/review are explicitly explained in the descriptions, though gemini_query is a generic catch-all that could plausibly be used where the specialized tools are intended.

Naming Consistency5/5

All six tools follow a strict gemini_<verb> pattern (query, summarize, analyze, review, search, pr_review). The convention is predictable and the names read cleanly.

Tool Count5/5

Six tools is well-scoped for a Gemini delegation wrapper, with each tool covering a distinct workflow (query, summarize, analyze, review, search, PR review). No filler tools appear.

Completeness4/5

The surface covers the main use cases of offloading large-context work: arbitrary queries, file/directory summarization, structured analysis, code review, git-aware PR review, and web search. Minor gaps exist, such as no dedicated diff-between-commits reporting beyond pr_review or a batch multi-file review tool, but the catch-all gemini_query lets agents work around these.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues