Skip to main content
Glama

my_tool

Extend AI application functionality in Claude Desktop using modular tools without modifying core code. Configure custom parameters to add specific capabilities.

Instructions

自定义工具

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramYes

Implementation Reference

  • The handler implementation for the 'my_tool' tool, decorated with @server.tool() which also handles registration. It takes a string parameter and returns a formatted processing message.
    @server.tool() def my_tool(param: str) -> str: """自定义工具""" return f"处理参数: {param}"
  • The @server.tool() decorator registers the my_tool function in the module's register method.
    @server.tool()
  • The function signature defines the input schema (param: str) and output type (str) for the my_tool.
    def my_tool(param: str) -> str:
Install Server

Other Tools

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/gooboot/MCP-BOS'

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