Skip to main content
Glama

get_quote

Retrieve specific quote details from Autotask PSA using the quote ID to access pricing, line items, and customer information for sales and service operations.

Instructions

Get a specific quote by ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
quoteIdYesThe quote ID to retrieve

Implementation Reference

  • Core implementation of getQuote that retrieves a specific quote by ID using the autotask-node client
    async getQuote(id: number): Promise<AutotaskQuote | null> { const client = await this.ensureClient(); try { this.logger.debug(`Getting quote with ID: ${id}`); const result = await client.quotes.get(id); return result.data as AutotaskQuote || null; } catch (error) { this.logger.error(`Failed to get quote ${id}:`, error); throw error; } }
  • MCP tool handler dispatches 'get_quote' calls to the AutotaskService
    case 'get_quote': result = await this.autotaskService.getQuote(args.quoteId); message = `Quote retrieved successfully`; break;
  • Registers the 'get_quote' tool with its input schema in listTools() method
    { name: 'get_quote', description: 'Get a specific quote by ID', inputSchema: { type: 'object', properties: { quoteId: { type: 'number', description: 'The quote ID to retrieve' } }, required: ['quoteId'] } },

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/asachs01/autotask-mcp'

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