Skip to main content
Glama

add_tool

Add a new tool to an existing MCP server by generating the required module, service stub, test file, and updating server configuration.

Instructions

Add a new tool to an existing scaffolded MCP server. Pass the project directory and a JSON tool definition. Creates the tool module, service stub, test, and updates server.py.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_dirYes
toolYes

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/gmoneyn/mcp-creator'

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