list_services
Discover available SMS verification services like Telegram and WhatsApp to identify valid service codes before purchasing a virtual phone number.
Instructions
Get all available SMS verification services (Telegram, WhatsApp, Google, etc.). Use this to discover valid service codes before buying a number.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Filter services by name (optional) |
Implementation Reference
- src/tools.ts:375-385 (handler)The handler function that retrieves services using the client and formats them as text for the MCP response.
export async function handleListServices(client: VirtualSMSClient) { const services = await client.listServices(); return { content: [ { type: 'text' as const, text: JSON.stringify(services, null, 2), }, ], }; } - src/tools.ts:56-66 (registration)The tool registration definition for 'list_services', including its schema and description.
{ name: 'list_services', title: 'List Available Services', description: 'Get all available SMS verification services (Telegram, WhatsApp, Google, etc.). ' + 'Use this to discover valid service codes before buying a number.', inputSchema: { type: 'object' as const, properties: { search: { type: 'string',