Gemini API tools target outdated API code in AI-assisted development
Google DeepMind released two developer tools designed to reduce a common problem in AI-assisted coding: agents generating deprecated API code because their knowledge is stale. The two tools, Gemini API Docs MCP and Agent Skills, are built to give coding assistants access to current Gemini API documentation and structured best practices.
This addresses a simple but costly issue. AI coding agents work from knowledge limited by their training cutoff. Because of that, they can recommend API patterns that may already be deprecated. For developers using the Gemini API in production systems, that turns into wasted time spent figuring out why code that looks correct still fails.
How Gemini API Docs MCP works with real-time documentation
Model Context Protocol connects coding agents to live data
The Gemini API Docs MCP uses the Model Context Protocol, an open standard that connects AI systems to live data sources. Instead of depending only on fixed training knowledge, coding agents can query current documentation in real time through a public MCP server.
One command adds live documentation search to the project
Developers can connect to the system by running a single command in the project root. That adds a search_documentation function, which lets the agent retrieve up-to-date API definitions and integration patterns.
The practical value here is pretty clear: the coding assistant is no longer limited to what it knew at training time. It can check the latest documentation when generating or updating code.
How Agent Skills improves coding assistant accuracy
Best-practice instructions are added directly into the agent context
Agent Skills works alongside the documentation server by packaging best-practice instructions directly into an agent’s context. These instructions include details such as using the correct SDK versions and current model names.
Fallback documentation access works even without MCP installed
Even if the MCP server is not installed, Agent Skills can still fetch documentation from Google’s developer site. That fallback makes the tool useful in setups where live MCP access is not enabled.
Agent Skills is available across open ecosystems
The skill is available through the open-source skills.sh standard and the Context7 ecosystem. That gives developers multiple ways to use it within their existing workflows.
Early test results show a major jump in task success
Google evaluated the tools with a harness containing 117 coding prompts. These prompts covered agentic tasks, chatbot building, document processing, and SDK usage.
Without the skill enabled, Gemini 3.1 Pro Preview passed 28.2% of tasks. With the skill turned on, the pass rate rose to 96.6%. In this evaluation, a prompt counted as a failure if it used a deprecated SDK.
That gap stands out because it shows the issue is not just about code quality in a vague sense. It is specifically about whether the model can avoid outdated implementation choices that break real work.
Why older Gemini models benefit less from Agent Skills
Google said older Gemini 2.5 models saw much smaller gains from the skill. The company attributed that weaker improvement to lower reasoning ability in those models.
That detail matters. The tool can close part of the knowledge gap, but model capability still plays a role in whether the agent can use that information well. Current documentation helps, but it does not fully replace reasoning strength.
Google is exploring other ways to improve coding agents
Google also acknowledged research from Vercel suggesting that direct instructions through AGENTS.md files can sometimes outperform skills. The team said it is exploring additional methods, including deeper MCP integration.
So this release does not look like a final answer. It looks more like a focused step toward making coding agents more reliable when documentation, SDKs, and best practices change quickly.
Supported coding environments for Gemini API Docs MCP and Agent Skills
The tools support several coding environments, including:
- Claude Code
- Cursor
- Gemini CLI
- Antigravity
That broader compatibility fits the larger push into enterprise AI development. Rather than limiting the tools to a single interface, Google is making them available across multiple development environments.
Why the knowledge gap matters in fast-moving software engineering
Software engineering changes quickly. New libraries appear constantly, and best practices shift fast. That pace creates a knowledge gap that language models cannot solve on their own if they are relying only on frozen training data.
Gemini API Docs MCP and Agent Skills are meant to narrow that gap by combining real-time documentation access with structured usage guidance. One tool brings in current reference material. The other reinforces how that information should be applied inside the coding workflow.
For teams building on the Gemini API, that means less time spent chasing errors caused by deprecated SDKs or outdated model references, and more confidence that generated code reflects the current state of the platform.

