Skip to main content
Glama

accept_delivery_quote

Accept a delivery quote for DoorDash orders and optionally add a tip for the Dasher.

Instructions

Accept a delivery quote and optionally add a tip

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
external_delivery_idYesThe delivery ID to accept
tipNoThe tip amount in cents (e.g. $5.99 = 599)
dropoff_phone_numberNoPhone number for Dasher to call for dropoff issues (E.164 format)

Implementation Reference

  • Handler function that destructures the arguments and calls the DoorDash client's deliveryQuoteAccept method to accept the delivery quote.
    handler: (client, args) => { const { external_delivery_id, ...acceptArgs } = args; return client.deliveryQuoteAccept(external_delivery_id, acceptArgs); },
  • Input schema for the accept_delivery_quote tool defining the required external_delivery_id and optional tip and dropoff_phone_number.
    inputSchema: { type: 'object', properties: { external_delivery_id: { type: 'string', description: 'The delivery ID to accept' }, tip: { type: 'number', description: 'The tip amount in cents (e.g. $5.99 = 599)' }, dropoff_phone_number: { type: 'string', description: 'Phone number for Dasher to call for dropoff issues (E.164 format)' }, }, required: ['external_delivery_id'], },
  • index.js:113-129 (registration)
    Full tool registration entry in the TOOLS array, including name, description, schema, and handler for accept_delivery_quote.
    { name: 'accept_delivery_quote', description: 'Accept a delivery quote and optionally add a tip', inputSchema: { type: 'object', properties: { external_delivery_id: { type: 'string', description: 'The delivery ID to accept' }, tip: { type: 'number', description: 'The tip amount in cents (e.g. $5.99 = 599)' }, dropoff_phone_number: { type: 'string', description: 'Phone number for Dasher to call for dropoff issues (E.164 format)' }, }, required: ['external_delivery_id'], }, handler: (client, args) => { const { external_delivery_id, ...acceptArgs } = args; return client.deliveryQuoteAccept(external_delivery_id, acceptArgs); }, },

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/amannm/doordash-mcp'

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