Skip to main content
Glama

peopleByEmail

Identify the potential contact associated with an email address using Routine's 'peopleByEmail' tool. Input an email to retrieve ownership details efficiently.

Instructions

The potential contact owning this email address.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailYes

Implementation Reference

  • Full tool definition including registration, input schema (email: string), and handler logic that sends RPC request to 'people.by_email' with the email and returns formatted JSON response or error.
    "peopleByEmail", "The potential contact owning this email address.", { /* {"$schema":"https://json-schema.org/draft/2019-09/schema","type":"string"} */ email: z.string(), }, async ({ email }) => { try { const data = await sendRpcRequest("people.by_email", [email]); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }], }; } catch (error) { logger.error("Error fetching people.by_email: %o", error); return { content: [ { type: "text", text: `Error fetching auth id: ${error instanceof Error ? error.message : String(error)}`, }, ], isError: true, }; } } );
  • src/index.ts:234-234 (registration)
    Calls registerServerTools which registers all tools including peopleByEmail.
    registerServerTools(server, sendRpcRequest, logger);
  • Zod schema for input: email as string.
    /* {"$schema":"https://json-schema.org/draft/2019-09/schema","type":"string"} */ email: z.string(), }, async ({ email }) => {

Other Tools

Related Tools

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

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