ZeptoMail Templates MCP
Manages ZeptoMail email templates across all agents in a Zoho account, providing tools to list agents, list/search/read/create/update/delete templates, with support for read-only mode, agent allowlisting, and OAuth-based authentication.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ZeptoMail Templates MCPlist all email templates in the production agent"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ZeptoMail Templates MCP
An MCP server that lets an AI agent (opencode, Claude Desktop, Cursor, ...) inspect and manage email templates across all ZeptoMail Agents in your Zoho account.
It intentionally does not send email, create/delete Agents, expose Send Mail Tokens, or manage domains. It only reads the Agent list and manages templates.
Quickstart (local, ~5 minutes)
1. Install the server
npm i -g zeptomail-mcpThis gives you a zeptomail-mcp command on your PATH. Skip this if you'd rather run from a local clone of the repo (node /path/to/zeptomail-mcp/dist/src/server.js).
2. Create a Zoho OAuth app
Open the Zoho API Console.
Create a Server-based Application:
Client name:
zeptomailmcp(no hyphens — Zoho rejects them)Homepage URL: anything, e.g.
https://github.com/P4rthPat3l/zeptomail-mcpAuthorized redirect URI:
http://localhost:4567/callback
Note the Client ID and Client Secret.
A Self Client also works. It has no redirect URI field, so instead of step 2 use its Generate Code tab (see Self Client setup below).
3. Get a refresh token
ZOHO_CLIENT_ID=<your-client-id> ZOHO_CLIENT_SECRET=<your-secret> zeptomail-mcp-loginYour browser opens Zoho's consent screen for scopes Zeptomail.MailAgents.READ + Zeptomail.MailTemplates.All. After you approve, the script prints a refresh token.
If you're running from a local clone instead of a global install, this same command is
npm run login.
4. Configure your MCP host
You can pass the Zoho credentials inline in the host config, or load them from a .env file so the config file itself stays secret-free. Both work; pick one.
Option A — load from a .env file (recommended)
Put the secrets in a .env file (gitignore it — it's a credential):
# .env
ZOHO_CLIENT_ID=<your-client-id>
ZOHO_CLIENT_SECRET=<your-secret>
ZOHO_REFRESH_TOKEN=<your-refresh-token>
ZOHO_ACCOUNTS_URL=https://accounts.zoho.comThen point the server at it with --env-file. The path is resolved relative to the host's working directory; use an absolute path if unsure.
opencode — opencode.json (or .opencode/opencode.json):
{
"mcp": {
"zeptomail": {
"type": "local",
"command": ["zeptomail-mcp", "--env-file=/absolute/path/to/.env"],
"enabled": true
}
}
}Claude Desktop — claude_desktop_config.json:
{
"mcpServers": {
"zeptomail": {
"command": "zeptomail-mcp",
"args": ["--env-file=/absolute/path/to/.env"]
}
}
}Option B — inline in the host config
opencode — opencode.json (or .opencode/opencode.json):
{
"mcp": {
"zeptomail": {
"type": "local",
"command": ["zeptomail-mcp"],
"enabled": true,
"environment": {
"ZOHO_CLIENT_ID": "...",
"ZOHO_CLIENT_SECRET": "...",
"ZOHO_REFRESH_TOKEN": "...",
"ZOHO_ACCOUNTS_URL": "https://accounts.zoho.com"
}
}
}
}Claude Desktop — claude_desktop_config.json:
{
"mcpServers": {
"zeptomail": {
"command": "zeptomail-mcp",
"env": {
"ZOHO_CLIENT_ID": "...",
"ZOHO_CLIENT_SECRET": "...",
"ZOHO_REFRESH_TOKEN": "...",
"ZOHO_ACCOUNTS_URL": "https://accounts.zoho.com"
}
}
}
}Running from a local clone instead of a global install
Run the built launcher directly with node. It parses --env-file the same way the global zeptomail-mcp command does, so the flag goes after the script:
opencode (Option A env-file):
["node", "/absolute/path/to/zeptomail-mcp/dist/src/cli.js", "--env-file=/absolute/path/to/.env"]opencode (Option B inline):
["node", "/absolute/path/to/zeptomail-mcp/dist/src/cli.js"]+ theenvironmentblockClaude Desktop:
"command": "node","args": [".../dist/src/cli.js", "--env-file=..."](or just[".../dist/src/cli.js"]with theenvblock)
5. Use it
Ask your agent to call the tools:
"list my ZeptoMail agents"
"find the template with alias
team_invite""show me the OTP template in the sandbox agent"
Related MCP server: Zoho Mail MCP Server
Self Client setup
A Self Client has no redirect URI, so zeptomail-mcp-login cannot catch its callback. Instead:
API Console → Self Client → Generate Code.
Scope:
Zeptomail.MailAgents.READ,Zeptomail.MailTemplates.All→ CREATE.Copy the generated code and exchange it:
curl -X POST https://accounts.zoho.com/oauth/v2/token \
-d "code=<generated code>" \
-d "client_id=<client id>" \
-d "client_secret=<client secret>" \
-d "grant_type=authorization_code" \
-d "redirect_uri=https://api-console.zoho.com/"The JSON response contains refresh_token.
Tools
MCP tool | Purpose | Mutates data |
| List accessible Agents and exact Agent keys/aliases | No |
| List templates in one explicit Agent | No |
| Search one Agent or all Agents by name/alias/subject | No |
| Read one complete template from one Agent | No |
| Dump every full template (HTML/text/subject) from one Agent as JSON for local backup | No |
| Create a template in one explicit Agent | Yes |
| Partial update with Agent + stale-write protection | Yes |
| Permanent delete with Agent/name/timestamp checks | Yes |
Write tools require both:
ZEPTOMAIL_MCP_ALLOW_WRITES=truein the server environment.confirm=truein the individual tool call.
Every write also requires the exact agentKey and expectedAgentName from a fresh zeptomail_list_agents call. Update/delete additionally require current template safety values (expectedModifiedTime, expectedTemplateName), so a stale read can never overwrite a newer edit.
Configuration reference
Variable | Required | Default | Purpose |
| yes | — | Zoho OAuth app client ID |
| yes | — | Zoho OAuth app client secret |
| yes (stdio) | — | Long-lived token; the server mints 1-hour access tokens from it |
| no |
| Zoho data center ( |
| no |
| ZeptoMail API base URL |
| no |
| Set |
| no | all agents | Comma-separated |
| no |
|
|
All variables can be provided either as process environment variables (set by the host config) or via a --env-file=<path> argument to the server (see Configure your MCP host above). Process vars take precedence; the file only fills vars that are unset.
Hosted (remote) mode with OAuth 2.0 + PKCE
For a shared/public MCP endpoint, run with ZEPTOMAIL_MCP_TRANSPORT=http. The server becomes an OAuth authorization server that proxies to Zoho as the upstream authorization server:
MCP client ⇄ this MCP server (OAuth AS + resource server) ⇄ Zoho (upstream AS) ⇄ ZeptoMail APIZEPTOMAIL_MCP_TRANSPORT=http \
ZEPTOMAIL_MCP_SERVER_URL=https://mcp.example.com \
ZEPTOMAIL_MCP_PORT=3006 \
ZEPTOMAIL_MCP_TOKEN_STORE=/var/lib/zeptomail-mcp/tokens.json \
node dist/src/server.jsClients discover metadata at
/.well-known/oauth-protected-resourceand/.well-known/oauth-authorization-server, dynamically register, and consent in the browser.The server redirects to Zoho with the client's PKCE S256 challenge and
access_type=offline, exchanges the code with the server's Zoho client secret, and stores a per-client Zoho refresh token that never leaves the server.Each user's tools operate on their own ZeptoMail account.
Host config (opencode):
{
"mcp": {
"zeptomail": {
"type": "remote",
"url": "https://mcp.example.com/mcp",
"oauth": {}
}
}
}Requirements for hosted mode: HTTPS (the SDK rejects non-HTTPS issuer URLs except localhost), the Zoho callback URI registered in the API console (https://mcp.example.com/callback), and a persistent token store. Restarting the server invalidates issued tokens — clients re-consent once.
Development
npm install
npm run typecheck
npm test
npm run buildSecurity notes
Agent discovery is read-only; there are no tools for creating Agents, generating API keys, or accessing Send Mail Tokens.
The MCP never sends email.
ZEPTOMAIL_MCP_ALLOWED_AGENT_KEYSconstrains which Agents the MCP may touch even when the OAuth account can see more.The refresh token is a long-lived credential: keep it server-side, treat it like a password, and revoke it in the Zoho console if it ever leaks.
Available Tools
8 toolszeptomail_create_templateCreate ZeptoMail templateA
Create a template in one explicit Agent. Requires agentKey plus expectedAgentName from a fresh zeptomail_list_agents call, server writes enabled, and confirm=true.
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| subject | Yes | ||
| agentKey | Yes | Exact mailagent_key / Agent alias returned by zeptomail_list_agents. Never guess this value. | |
| htmlBody | No | ||
| textBody | No | ||
| templateName | Yes | ||
| templateAlias | No | ||
| expectedAgentName | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already convey that this is a write, non-idempotent, non-destructive operation. The description adds useful behavioral context beyond those hints: the agentKey must come from a fresh list call, server writes must be enabled, and confirm=true is required. No contradiction with annotations exists.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single dense sentence with no filler. It front-loads the action and immediately states the most important prerequisites and safety requirements. Every clause earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a mutating tool with no output schema and sparse parameter documentation, the description includes the critical preconditions to avoid mis-keying an Agent. However, it omits any guidance on the remaining parameters, expected response behavior, or duplicate-template handling, so it is only minimally complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is only 13%, so the description must compensate. It does helpfully explain agentKey, expectedAgentName, and confirm usage, but leaves templateName, subject, htmlBody, textBody, and templateAlias entirely to name-based inference. This is adequate but not thorough for an 8-parameter tool.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a clear verb-resource pair: create a template, and identifies the target scope as a specific ZeptoMail Agent. It is distinguishable from the list/get/update/delete siblings, though the phrase 'one explicit Agent' is slightly awkward and could be clearer.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives concrete invocation prerequisites: obtain agentKey and expectedAgentName from a fresh zeptomail_list_agents call, ensure server writes are enabled, and set confirm=true. It does not explicitly contrast this with zeptomail_update_template, but the prerequisites and confirmation gate provide strong usage direction.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
zeptomail_delete_templateDelete ZeptoMail templateADestructiveIdempotent
Permanently delete a template from one explicit Agent. Requires expectedAgentName, expectedTemplateName, and expectedModifiedTime from fresh reads. Requires writes enabled and confirm=true.
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| agentKey | Yes | Exact mailagent_key / Agent alias returned by zeptomail_list_agents. Never guess this value. | |
| templateKey | Yes | ||
| expectedAgentName | Yes | ||
| expectedModifiedTime | Yes | ||
| expectedTemplateName | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate destructive and non-read-only behavior. The description adds valuable context: deletion is permanent, expected values must come from fresh reads to prevent stale operations, and confirm=true is required. This goes meaningfully beyond the structured annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three short sentences with no filler. The destructive action, freshness requirement, and confirmation gate are all stated efficiently and front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a destructive tool with six parameters and no output schema, the description covers the critical preconditions: fresh reads, writes enabled, confirm=true, and explicit agent scope. It doesn't describe behavior when confirm=false or when expected values mismatch, but the essentials for safe invocation are present.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is only 17%, so the description must compensate. It does explain that expectedAgentName, expectedTemplateName, and expectedModifiedTime must come from fresh reads, and that confirm must be true. However, templateKey is left undocumented in both schema and description, so coverage is not complete.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly identifies the action ('Permanently delete'), the resource ('a template'), and the scope ('from one explicit Agent'). This distinguishes it from listing, getting, creating, and updating templates, even without naming a sibling.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives clear usage context: the tool should only be used after fresh reads, with writes enabled, and with confirm=true. It doesn't explicitly contrast with sibling tools, but the destructive delete semantics and prerequisites make the appropriate use case clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
zeptomail_export_templatesExport all ZeptoMail templates from one AgentARead-onlyIdempotent
Fetch every full template (HTML body, text body, subject, alias, attachments metadata) from one explicit Agent and return them as a single JSON dump. Read-only. Use when the caller wants to back up an Agent templates to local files; the caller writes the files itself — this tool returns the data, it does not write to disk.
| Name | Required | Description | Default |
|---|---|---|---|
| agentKey | Yes | Exact mailagent_key / Agent alias returned by zeptomail_list_agents. Never guess this value. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, and the description reinforces these by saying 'Read-only' and adding valuable clarification that the tool does not write to disk—the caller handles file writing. This goes beyond the annotations by explicitly addressing side-effect expectations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences deliver both the functional scope and the usage context with no wasted words. The key behavior is front-loaded, and the clarifying 'does not write to disk' earns its place in the same sentence.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-parameter, read-only export tool, the description covers what is returned, the scope, the caller's responsibility, and the primary use case. It does not describe output size or pagination, but the absence of an output schema and the straightforward nature of the operation make this adequate.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% and the sole parameter agentKey is already well documented as an exact mailagent_key/alias returned by zeptomail_list_agents. The description mentions 'one explicit Agent' but adds no new parameter-level meaning beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb 'Fetch' with a precise resource: every full template from one explicit Agent, returned as a single JSON dump. It lists the exact fields included, which clearly distinguishes it from sibling list/find/get tools even without naming them.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly states the intended use case: backing up an Agent's templates to local files, and clarifies that the caller writes files while this tool only returns data. It does not explicitly name alternatives or say when not to use it, but the use-case framing provides clear directional guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
zeptomail_find_templatesFind ZeptoMail templatesARead-onlyIdempotent
Search template name, alias and subject. Omit agentKey to search across every accessible Agent; provide agentKey to restrict the search to one Agent. Results always include the owning Agent.
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| agentKey | No | Exact mailagent_key / Agent alias returned by zeptomail_list_agents. Never guess this value. | |
| maxResults | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, so the safety profile is covered. The description adds useful behavioral context beyond that: the scope of the search with and without agentKey, and that results always include the owning Agent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three sentences, each earning its place: the search action, the scoping behavior, and the guaranteed result field. No redundancy or filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the safe annotations and simple parameter set, the description covers the essential behavior: what is searched, how to scope the search, and what results always include. The absence of an output schema is partially mitigated by the 'owning Agent' note, though full result shape is still not described.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is only 33%, but the description compensates by explaining that query searches name, alias, and subject, and by clarifying agentKey's optionality. maxResults is not mentioned, though its schema defaults, min, and max make its behavior reasonably inferable.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource: 'Search template name, alias and subject.' It clearly separates this search-oriented tool from sibling list/get/create/update/delete operations, and the agentKey scoping further sharpens its purpose.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives clear context for use: omit agentKey to search all accessible Agents, or provide it to restrict to one Agent. It does not explicitly name alternatives or state when not to use the tool, but the search scope guidance is straightforward.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
zeptomail_get_templateGet ZeptoMail templateARead-onlyIdempotent
Fetch one complete template from one explicit Agent by exact template key. Always call this before updating or deleting.
| Name | Required | Description | Default |
|---|---|---|---|
| agentKey | Yes | Exact mailagent_key / Agent alias returned by zeptomail_list_agents. Never guess this value. | |
| templateKey | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotations already declare readOnlyHint, idempotentHint, and destructiveHint, covering the safety profile. The description adds a workflow rule ('before updating or deleting') and indicates the return is a 'complete template', but does not describe error conditions, auth, or pagination. This is adequate given annotation coverage, but not richly transparent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences with no fluff. The primary action is front-loaded, and the workflow requirement is stated immediately after. Every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple read-only fetch with two required parameters and no output schema, the description covers what is returned ('complete template'), the key inputs, and when to call it. It does not enumerate the template fields or failure modes, but that level of detail is not essential for invoking it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already gives a thorough description for agentKey, but templateKey is only a bare string. The description adds that both keys must be 'exact' and that agentKey comes from zeptomail_list_agents, but it does not say where templateKey originates (e.g., zeptomail_list_templates). With 50% schema coverage, the description partially compensates but leaves a meaningful gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('Fetch'), a clear resource ('one complete template'), and the selection criteria ('from one explicit Agent by exact template key'). It clearly distinguishes this tool from siblings like list_templates or find_templates by emphasizing exactness and a single full template, and from update/delete by explicitly positioning it as a prerequisite before those operations.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The directive 'Always call this before updating or deleting' provides explicit when-to-use guidance and places this tool in a workflow. It does not explicitly state when not to use it or name alternatives for searching/listing, but the context is clear enough for an agent to select this over mutation or search tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
zeptomail_list_agentsList ZeptoMail AgentsARead-onlyIdempotent
List accessible Agents in the ZeptoMail account. Returns each Agent name and exact mailagent_key (Agent alias). Always use the returned key for template tools; do not guess Agent identifiers.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare this as read-only and idempotent. The description adds meaningful behavioral context by explaining that the tool returns exact mailagent_key values and warning against guessing identifiers, which goes beyond the annotation baseline.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences with no filler. It front-loads the primary action, then provides the essential output detail and a practical warning.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given that there is no output schema, the description adequately explains the return contents: Agent name and exact mailagent_key. It also explains why this matters for subsequent template tools, making it complete for a simple list operation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so no parameter documentation is needed. The description correctly focuses on what the tool returns rather than input semantics.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: 'List accessible Agents in the ZeptoMail account.' It also clarifies the exact output value, the mailagent_key (Agent alias), and distinguishes this tool from the template-focused siblings.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives a clear usage directive: always use the returned key for template tools and do not guess Agent identifiers. It doesn't name explicit alternatives or exclusion conditions, but the context makes the intended workflow clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
zeptomail_list_templatesList ZeptoMail templatesARead-onlyIdempotent
List templates in one explicit ZeptoMail Agent. Use zeptomail_list_agents first and pass the exact returned mailagent_key.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| agentKey | Yes | Exact mailagent_key / Agent alias returned by zeptomail_list_agents. Never guess this value. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already communicate readOnlyHint, idempotentHint, and destructiveHint, so the safety profile is covered. The description adds that the tool is scoped to one explicit Agent and depends on the prior agent lookup. It does not disclose pagination, ordering, or return format, but these are minor given the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two tight sentences with no filler. The core action and the most important usage note are front-loaded, and every word contributes to correct invocation.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a read-only listing tool, the critical dependency on zeptomail_list_agents is explicit and the schema covers pagination bounds. The absence of an output schema means the return shape is not described, which is a minor gap but not a blocker since the resource and listing behavior are clear.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is only 33%, and the description mostly restates what the agentKey schema field already says: pass the exact mailagent_key returned by zeptomail_list_agents. It adds little meaning for limit and offset, which rely on names and numeric constraints rather than explanatory descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: 'List templates in one explicit ZeptoMail Agent.' It also conveys the agent-scoped nature, which separates it from listing agents or cross-agent template operations. However, it does not explicitly distinguish itself from sibling tools like zeptomail_find_templates or zeptomail_export_templates.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives a clear prerequisite: use zeptomail_list_agents first and pass the exact returned mailagent_key. This is strong contextual guidance for when this tool should be called. It does not, however, state when to prefer alternatives such as zeptomail_find_templates instead.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
zeptomail_update_templateUpdate ZeptoMail templateADestructiveIdempotent
Partially update a template in one explicit Agent. Requires expectedAgentName and expectedModifiedTime from fresh reads so a stale or wrong-Agent edit is rejected. Requires writes enabled and confirm=true.
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| subject | No | ||
| agentKey | Yes | Exact mailagent_key / Agent alias returned by zeptomail_list_agents. Never guess this value. | |
| htmlBody | No | ||
| textBody | No | ||
| templateKey | Yes | ||
| templateName | No | ||
| templateAlias | No | ||
| expectedAgentName | Yes | ||
| expectedModifiedTime | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already mark this as non-read-only and destructive. The description adds meaningful guardrail context beyond annotations: stale or wrong-Agent edits are rejected, confirmation is mandatory, and writes must be enabled. This goes beyond what the schema or annotations alone convey.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two dense sentences with no filler. The core action is front-loaded, and the critical requirements are stated immediately after, making it easy for an agent to parse and act on.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a destructive, mutation-focused tool with 10 parameters and no output schema, the description covers the key invocation requirements: partial update, single Agent, fresh expected values, writes enabled, and confirmation. It does not describe return values or detailed error behavior, but the lack of an output schema lowers that burden.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is only 10%, so the description must compensate. It usefully explains expectedAgentName and expectedModifiedTime as optimistic-concurrency guards and mentions confirm=true, but it does not clarify the semantics of subject, htmlBody, textBody, templateName, or templateAlias beyond their raw string types.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb and resource: 'Partially update a template in one explicit Agent.' It distinguishes this from create, delete, get, and export sibling tools by emphasizing partial update and single-Agent scope, so an agent can tell what the tool is for without opening the schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description clearly states preconditions: expectedAgentName and expectedModifiedTime must come from fresh reads, writes must be enabled, and confirm=true. It shows when to use the tool but does not explicitly contrast it with related tools or state when not to use it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
8 tool updates
v0.3.7- First observed
zeptomail_create_template - First observed
zeptomail_delete_template - First observed
zeptomail_export_templates - First observed
zeptomail_find_templates - First observed
zeptomail_get_template - First observed
zeptomail_list_agents - First observed
zeptomail_list_templates - First observed
zeptomail_update_template
TDQS
Scored across 8 tools
Each tool targets a distinct resource and action: agents vs templates, and list/search/get/export/create/update/delete are clearly separated. Even the similar list_templates and find_templates are disambiguated by one being an enumeration and the other being a search across name, alias, and subject.
All tool names use the consistent zeptomail_ prefix followed by verb_noun snake_case, such as zeptomail_list_agents and zeptomail_update_template. The naming pattern is uniform and predictable across the entire set.
Eight tools is well-scoped for a ZeptoMail template management server. Each tool covers a necessary operation without redundancy or bloat, and the count is within the ideal range for a focused domain server.
The tool surface provides full lifecycle coverage for templates: list, search, get, export, create, update, and delete. Agent enumeration supports the required context for template operations, so agents can accomplish end-to-end template management without dead ends.
Maintenance
Related MCP Connectors
Email inboxes and calendars for AI agents: send, receive, search, draft and schedule.
Email inboxes and calendars for AI agents: send, receive, search, draft and schedule.
Transactional email for AI agents: templates, domain verify, and sends.
Multiple Gmail accounts, editable Google Sheets & Docs for AI agents. Deny-by-default access rules.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to read, search, send, and reply to Zoho Mail via IMAP/SMTP using an application-specific password.1MIT
- AlicenseNot gradedqualityBmaintenanceProvides full access to Zoho Mail accounts, enabling email search, read, send, reply, thread management, folder/label operations, and more via 14 tools.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with email accounts via IMAP and SMTP, supporting mailbox listing, email search, retrieval, sending, and management.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to read, send, search, reply to, and delete emails directly from a Zoho Mail account.7MIT