Skip to main content
Glama

whmcs_delete_quote

Remove quotes from WHMCS by specifying the quote ID. This tool helps manage your WHMCS installation by deleting unwanted or outdated quotes.

Instructions

Delete a quote

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
quoteidYesQuote ID

Implementation Reference

  • src/index.ts:1273-1287 (registration)
    Registers the 'whmcs_delete_quote' MCP tool, defining its input schema (quoteid) and handler that delegates to whmcsClient.deleteQuote
        'whmcs_delete_quote',
        {
            title: 'Delete Quote',
            description: 'Delete a quote',
            inputSchema: {
                quoteid: z.number().describe('Quote ID'),
            },
        },
        async (params) => {
            const result = await whmcsClient.deleteQuote(params);
            return {
                content: [{ type: 'text', text: JSON.stringify(result, null, 2) }],
            };
        }
    );
  • The core handler implementation for deleting a quote via WHMCS API 'DeleteQuote' action using the generic call method
    /**
     * Delete a quote
     */
    async deleteQuote(params: { quoteid: number }) {
        return this.call<WhmcsApiResponse>('DeleteQuote', params);
  • Zod input schema validation for the tool requiring a numeric quote ID parameter
    inputSchema: {
        quoteid: z.number().describe('Quote ID'),
    },

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/scarecr0w12/whmcs-mcp-server'

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