MCP Gemini Server

by bsmi021
Verified

exampleTool

Generate personalized greeting messages by inputting a name and selecting a language. The tool on MCP Gemini Server uses structured input parameters to deliver tailored outputs for various use cases.

Instructions

An example tool that takes a name and returns a greeting message. Demonstrates the basic structure of an MCP tool using Zod for parameter definition.

Input Schema

NameRequiredDescriptionDefault
languageNoOptional language code for the greeting (e.g., 'en', 'es', 'fr'). Defaults to 'en' if not provided or invalid.
nameYesThe name to include in the greeting message. Required, 1-50 characters.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "language": { "description": "Optional language code for the greeting (e.g., 'en', 'es', 'fr'). Defaults to 'en' if not provided or invalid.", "enum": [ "en", "es", "fr" ], "type": "string" }, "name": { "description": "The name to include in the greeting message. Required, 1-50 characters.", "maxLength": 50, "minLength": 1, "type": "string" } }, "required": [ "name" ], "type": "object" }
ID: fakxcprcnk