Skip to main content
Glama
Yoon-jongho

Claude-to-Gemini MCP Server

by Yoon-jongho

gemini_analyze_codebase

Analyze entire codebases to identify patterns, duplications, architectural issues, and suggest improvements for architecture, security, performance, or general code quality.

Instructions

Specialized tool for analyzing entire codebases. Gemini will find patterns, duplications, architectural issues, and suggest improvements.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codebaseYesThe entire codebase or multiple files concatenated
focusNoWhat to focus on: 'architecture', 'duplications', 'security', 'performance', or 'general'
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions the tool 'will find patterns, duplications, architectural issues, and suggest improvements,' but lacks details on how it operates (e.g., processing time, output format, limitations like codebase size, or whether it modifies code). For a complex analysis tool with zero annotation coverage, this is a significant gap in transparency.

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?

The description is concise with two sentences that efficiently state the tool's purpose and capabilities. It's front-loaded with the main function ('analyzing entire codebases') and avoids unnecessary details. However, it could be slightly more structured by explicitly separating scope from outcomes.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of codebase analysis, lack of annotations, and no output schema, the description is incomplete. It doesn't cover behavioral aspects like processing constraints, error handling, or result format, which are crucial for an AI agent to use the tool effectively. The description should compensate for these gaps but falls short.

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%, so the schema already documents both parameters ('codebase' and 'focus') with descriptions and an enum for 'focus'. The description adds no additional meaning beyond what the schema provides, such as explaining how the 'codebase' should be formatted or what 'general' focus entails. Baseline 3 is appropriate 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 clearly states the tool's purpose: 'analyzing entire codebases' with specific outcomes like finding patterns, duplications, architectural issues, and suggesting improvements. It uses specific verbs ('find', 'suggest') and identifies the resource ('codebases'), but doesn't explicitly differentiate from sibling tools like 'ask_gemini' which might also handle code analysis in a different way.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools like 'ask_gemini' (which might handle general queries) or specify contexts where this specialized analysis is preferred over other options. Usage is implied by the description but lacks explicit when/when-not instructions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Yoon-jongho/claude-to-gemini'

If you have feedback or need assistance with the MCP directory API, please join our Discord server