Skip to main content
Glama

Configure Authentication

configure_auth
Idempotent

Set a Gemini API key from Google AI Studio to authenticate and enable AI image generation and editing.

Instructions

Set a Gemini API key for authentication. Get your key from Google AI Studio (https://aistudio.google.com/apikey).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
apiKeyYesGemini API key from Google AI Studio (https://aistudio.google.com/apikey)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYesResult message confirming the API key was saved

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already supply idempotentHint=true and destructiveHint=false. The description adds relevant context by clarifying the operation configures authentication and by pointing to the key source. It does not detail persistence or overwrite behavior, but the annotation coverage reduces the need.

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, no filler: the action is front-loaded and the key-source instruction earns its place. Nothing extraneous is present.

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

Completeness5/5

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

For a one-parameter, idempotent configuration tool with an output schema and full schema coverage, the description is complete. It gives the single input, its source, and the purpose; an agent has what it needs to invoke it correctly.

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?

The schema already fully documents apiKey with the same Google AI Studio URL and a minLength constraint, so schema coverage is 100%. The description only repeats the source link rather than adding new parameter meaning, which lands at the baseline 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action ('Set') on a specific resource ('Gemini API key') and ties it to 'authentication'. That scope is clearly distinct from the sibling image/model/status tools, so an agent can tell it apart.

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?

It communicates the intended use case—setting up authentication—and tells the user where to obtain the key. There are no overlapping sibling tools to exclude, though it could more explicitly say to run this before other Gemini API calls.

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

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/DevShiftTeam/nano-banana-mcp'

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