Skip to main content
Glama
anythink-cloud

Anythink-MCP

Official

Email: shell update

email_shell_update
Destructive

Save a new HTML shell for all project emails or reset to the platform default. Use it to replace the layout around every sent email; preview drafts first.

Instructions

Save new shell HTML, or pass --reset to revert to the platform default. Replaces the HTML layout around every email the project sends, or with reset returns to the platform default. Keep the {{Content}} placeholder where the body goes; the server sanitises the HTML. Check a draft with email_preview first. It changes or deletes existing data, so check with the user before running it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
htmlNoPath to file with the new shell HTML (or '-' for stdin)
resetNoReset the shell to the platform default
html_textNoThe new shell HTML, passed inline

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.37

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already carry destructiveHint=true and readOnlyHint=false, and the description reinforces with 'changes or deletes existing data, so check with the user.' It adds genuinely new behavioral context: the server sanitises the HTML and the {{Content}} placeholder must be preserved.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the primary action and appropriately sized, but the reset behavior is stated twice ('revert to the platform default' and 'returns to the platform default'), which is mild redundancy rather than wasted length.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a no-output-schema mutation tool, it covers both operating modes, the placeholder constraint, sanitisation behavior, the destructive warning, and the preview-first workflow. Nothing an agent needs to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds usable semantics beyond the schema: the reset flag's effect (returns to platform default) and the invariant that the {{Content}} placeholder must remain. Minor friction: it expresses reset as a CLI-style '--reset' flag while the schema exposes a boolean.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource (save/replace the shell HTML layout around every project email) and covers both modes (save vs. reset to default). The scope 'around every email the project sends' cleanly separates it from siblings like email_templates_update and email_shell_show.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear workflow condition: 'Check a draft with email_preview first' and 'check with the user before running it.' It names one alternative (email_preview) explicitly, though it doesn't distinguish save-shell from email_templates_update or state when reset vs. save is appropriate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools