MCP Tools
Create an MCP Tool
POST
Create a new MCP Tool
This endpoint creates a new tool for an existing MCP server. The tool defines how to execute a FileMaker script and what inputs/outputs it expects.
mcp_server_slug*stringPOST /otto/api/mcp-servers/:mcp_server_slug/tools Parameter
POST /otto/api/mcp-servers/:mcp_server_slug/tools Request body
application/json- body
description?stringinput_schema*is_active?booleanDefault
truename*stringLength
1 <= length <= 100script_name*stringLength
1 <= lengthPOST /otto/api/mcp-servers/:mcp_server_slug/tools Positive response
application/json- response
messages*array<>response*curl -X POST 'https://your.server.net/otto/api/mcp-servers/customer-management/tools' \ -H 'Content-Type: application/json' \ -d '{ "description": "Creates a new customer record", "is_active": true, "name": "Create Customer", "script_name": "Create Customer", "input_schema": { "email": { "isArray": false, "required": true, "type": "string" }, "firstName": { "isArray": false, "required": true, "type": "string" }, "lastName": { "isArray": false, "required": true, "type": "string" } }}'Example Response
{ "messages": [ { "code": 0, "text": "ok" } ], "response": {}}Was this page helpful?