Skip to main content
Glama

auto_respond_common_questions

Automatically answer customer questions about store hours, location, stock availability, and pricing to reduce response time and improve customer service efficiency.

Instructions

Enable automatic responses to frequently asked questions (hours, location, stock availability).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
enableYesEnable or disable auto-responses
questionTypesNoTypes to auto-respond: hours, location, stock, pricing (comma-separated)

Implementation Reference

  • src/index.ts:487-497 (registration)
    Registers the 'auto_respond_common_questions' tool, including its name, description, and input schema for enabling/disabling auto-responses to common FAQs.
    { name: 'auto_respond_common_questions', description: 'Enable automatic responses to frequently asked questions (hours, location, stock availability).', inputSchema: { type: 'object', properties: { enable: { type: 'boolean', description: 'Enable or disable auto-responses' }, questionTypes: { type: 'string', description: 'Types to auto-respond: hours, location, stock, pricing (comma-separated)' }, }, required: ['enable'], },
  • The handler function for 'auto_respond_common_questions' tool. Simulates toggling auto-responses for specified question types and returns a status message. Mock implementation noting production would use Messenger API.
    case 'auto_respond_common_questions': { const enable = Boolean(args?.enable ?? false); const questionTypes = String(args?.questionTypes || 'hours,location,stock'); const types = questionTypes.split(',').map(t => t.trim()); return { content: [{ type: 'text', text: `🤖 Auto-Response Settings ${enable ? 'ENABLED' : 'DISABLED'}\n\n${enable ? '✅ Will auto-respond to:\n' + types.map(type => ` • ${type.charAt(0).toUpperCase() + type.slice(1)} questions` ).join('\n') : '❌ Auto-responses are disabled'}\n\n⚙️ Note: Auto-responses help provide quick answers, but always review and personalize when possible!\n\n💡 This is a mock feature. In production, this would integrate with Facebook's Messenger API for automated responses.` }] }; }
  • src/dashboard.ts:83-83 (registration)
    Mock registration of the tool in the dashboard's toolsData for UI display and simulation.
    { name: 'auto_respond_common_questions', description: 'Auto-respond to FAQs', category: 'Social Media Management' },

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/wspotter/mcpart'

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