Skip to main content
Glama

hello

Generate personalized greeting messages by providing a name. This tool creates custom hello world outputs for testing and demonstration purposes.

Instructions

A simple hello world tool

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe name to say hello to

Implementation Reference

  • The handler for the 'hello' tool. It returns a text content block with a personalized greeting message using the 'name' argument or defaults to 'world'.
    case "hello": { return { content: [ { type: "text", text: `Hello, ${args?.name || "world"}!`, }, ], }; }
  • The input schema for the 'hello' tool, defining a required 'name' property of type string.
    inputSchema: { type: "object", properties: { name: { type: "string", description: "The name to say hello to", }, }, required: ["name"], },
  • The registration entry for the 'hello' tool in the tools list returned by ListToolsRequestHandler, including name, description, and input schema.
    name: "hello", description: "A simple hello world tool", inputSchema: { type: "object", properties: { name: { type: "string", description: "The name to say hello to", }, }, required: ["name"], }, },

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/Aeven-AI/mcp-nanobanana'

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