Skip to main content
Glama

MCP Emails

Set Signature

signature_set
DestructiveIdempotent

Set or update the email signature for an inbox. Provide the signature as signature_text (plain text) and/or signature_html (rich HTML) — pass either or both; the missing half is derived automatically on send. Pass an empty string for both to clear the signature. Optionally set signature_enabled (default true; set false to stop appending without deleting the text) and signature_reply_mode ('always' = sign every reply/forward, 'first_only' = only the first message in a thread, 'never' = never sign replies/forwards). Setting a signature marks its source as 'manual', which permanently overrides Gmail auto-import for that inbox. sender_name sets the display name recipients see in the From header, e.g. "Acme Support support@acme.example"; it can be set on its own without touching the signature.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inboxNoInbox email address, an alternative to inbox_id.
inbox_idNoInbox UUID from inbox_list. Optional when the key has one inbox; pass this or `inbox`, not both — a pair naming different mailboxes is refused.
sender_nameNoDisplay name recipients see in the From header, e.g. 'Acme Support' gives "Acme Support <support@acme.example>". Omit to keep, empty string to clear. Whitespace is collapsed: a tab or newline becomes a single space, as does any run of spaces. Angle brackets and non-printable control characters are removed outright.
signature_htmlNoHTML signature. Omit to keep, empty string to clear. Derived from the text version when only that is given.
signature_textNoPlain-text signature. Omit to keep, empty string to clear.
signature_enabledNoWhether the signature is appended at all. Defaults to true.
signature_reply_modeNoSignature on replies and forwards; 'first_only' is the default.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
notesNoServer notes about how this call was handled — for example an argument that was not applied because the selected action does not accept it. Written by MCP Emails, not taken from any message, and absent when there is nothing to report.
savedNo
inbox_idNo
sender_nameNo
email_addressNo
signature_enabledNo
signature_reply_modeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / sender_name / description
      Previous value: -"Display name recipients see in the From header, e.g. 'Evancoe Bot' gives \"Evancoe Bot <bot@evancoe.com>\". Omit to keep, empty string to clear. Whitespace is collapsed: a tab or newline becomes a single space, as does any run of spaces. Angle brackets and non-printable control characters are removed outright."New value: +"Display name recipients see in the From header, e.g. 'Acme Support' gives \"Acme Support <support@acme.example>\". Omit to keep, empty string to clear. Whitespace is collapsed: a tab or newline becomes a single space, as does any run of spaces. Angle brackets and non-printable control characters are removed outright."
  2. Changed1 schema field changed
    • changedInput schema / properties / sender_name / description
      Previous value: -"Display name recipients see in the From header, e.g. 'Evancoe Bot' gives \"Evancoe Bot <bot@evancoe.com>\". Omit to keep, empty string to clear. Control characters and angle brackets are DELETED, not replaced, so a tab or newline joins the words around it; runs of spaces then collapse to one. Separate words with spaces."New value: +"Display name recipients see in the From header, e.g. 'Evancoe Bot' gives \"Evancoe Bot <bot@evancoe.com>\". Omit to keep, empty string to clear. Whitespace is collapsed: a tab or newline becomes a single space, as does any run of spaces. Angle brackets and non-printable control characters are removed outright."
  3. Changed2 schema fields changed
    • changedInput schema / properties / inbox_id / description
      Previous value: -"Inbox UUID from inbox_list. Optional when the key has one inbox; pass this or `inbox`, not both."New value: +"Inbox UUID from inbox_list. Optional when the key has one inbox; pass this or `inbox`, not both — a pair naming different mailboxes is refused."
    • changedInput schema / properties / sender_name / description
      Previous value: -"Display name recipients see in the From header, e.g. 'Evancoe Bot' gives \"Evancoe Bot <bot@evancoe.com>\". Omit to keep, empty string to clear. Whitespace is collapsed; control characters and angle brackets are removed."New value: +"Display name recipients see in the From header, e.g. 'Evancoe Bot' gives \"Evancoe Bot <bot@evancoe.com>\". Omit to keep, empty string to clear. Control characters and angle brackets are DELETED, not replaced, so a tab or newline joins the words around it; runs of spaces then collapse to one. Separate words with spaces."
  4. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare the write/destructive/idempotent profile, and the description adds genuinely non-obvious context: setting a signature marks its source as 'manual' and permanently overrides Gmail auto-import for that inbox, the missing text/HTML half is derived on send, and signature_enabled=false stops appending without deleting the text. These side effects are not derivable from the annotations or schema.

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?

The primary action and the two main signature fields are front-loaded, and most clauses carry distinct information (clearing, defaults, override behavior). It is a dense single paragraph, and the sender_name example restates schema text almost verbatim, so a little trimming is possible.

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?

Every parameter is addressed, defaults are stated, the clear-via-empty-string convention is repeated for each field, and the permanent Gmail auto-import override is disclosed; the output schema covers return values so it need not. Nothing material for a correct call 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 description coverage is 100%, so the baseline is 3, but the description adds real semantics: the automatic derivation between signature_text and signature_html, the 'clear' meaning of empty strings, and prose explanations of 'always'/'first_only'/'never' reply modes. The sender_name example largely duplicates the schema, which keeps this from a 5.

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 and resource up front ('Set or update the email signature for an inbox'), which cleanly separates it from the only nearby sibling, signature_get. An agent can tell immediately this is the write counterpart to the getter without opening either schema.

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 strong conditional guidance: pass either or both of signature_text/signature_html, empty string for both clears the signature, and sender_name can be set on its own without touching the signature. It never names an alternative tool (e.g. signature_get) or states when not to call this, so it stops short of explicit routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.