Skip to main content
Glama

list_smime_info

Retrieve S/MIME encryption configurations for a specific Gmail sender alias to verify secure email settings.

Instructions

Lists S/MIME configs for the specified send-as alias

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sendAsEmailYesThe email address that appears in the 'From:' header

Implementation Reference

  • src/index.ts:1262-1273 (registration)
    Registration of the list_smime_info tool in the MCP server, including description, input schema (sendAsEmail), and handler function that uses the Gmail API to list S/MIME configurations for the specified send-as email.
    server.tool("list_smime_info", "Lists S/MIME configs for the specified send-as alias", { sendAsEmail: z.string().describe("The email address that appears in the 'From:' header") }, async (params) => { return handleTool(config, async (gmail: gmail_v1.Gmail) => { const { data } = await gmail.users.settings.sendAs.smimeInfo.list({ userId: 'me', sendAsEmail: params.sendAsEmail }) return formatResponse(data) }) } )
  • The inline handler function executing the core logic: authenticates via handleTool, calls Gmail API gmail.users.settings.sendAs.smimeInfo.list, and formats the response.
    async (params) => { return handleTool(config, async (gmail: gmail_v1.Gmail) => { const { data } = await gmail.users.settings.sendAs.smimeInfo.list({ userId: 'me', sendAsEmail: params.sendAsEmail }) return formatResponse(data) }) }
  • Zod schema defining the input parameter sendAsEmail for the list_smime_info tool.
    { sendAsEmail: z.string().describe("The email address that appears in the 'From:' header") },

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/nk900600/gmail-mcp'

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