Skip to main content
Glama
list.ts835 B
import { listDrafts } from '../../services/gmail/drafts.js'; import { ListDraftsArgs } from '../../services/gmail/types.js'; import { DEFAULTS } from '../../config/constants.js'; export const LIST_DRAFTS_TOOL = { name: "listDrafts", description: "List Gmail draft messages", inputSchema: { type: "object", properties: { maxResults: { type: "number", description: "Maximum number of drafts to return (default: 10)" }, query: { type: "string", description: "Search query for drafts" }, verbose: { type: "boolean", description: "Whether to show full draft details (default: false)" } } } }; export async function handleListDrafts(args: ListDraftsArgs = { maxResults: DEFAULTS.LIST_MAX_RESULTS }) { return await listDrafts(args); }

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

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