Skip to main content
Glama

Update site email

update_site_email
DestructiveIdempotent

Save a site email's subject, preheader and/or full flat node map, or reset: true. Validated: unknown variables, missing/duplicate required slots and unsupported classes are rejected. Theme and company data are injected at send time. preview_site_email renders the saved result.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoSite id.
kindYesEmail kind from list_site_emails.
nodesNoFull flat node map (ROOT + every node).
resetNoRestore the default email.
subjectNo≤200 chars; empty = default.
preheaderNoInbox preview text, ≤200 chars; empty = default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "order_receipt",
      -  "subscription_welcome",
      -  "gift_card_gifted",
      -  "gift_card_self",
      -  "customer_login",
      -  "download_delivery",
      -  "download_update"
      -]New value: +[
      +  "order_receipt",
      +  "subscription_welcome",
      +  "order_shipped",
      +  "gift_card_gifted",
      +  "gift_card_self",
      +  "customer_login",
      +  "download_delivery",
      +  "download_update"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / id / description
      Previous value: -"Site id. Pass it on every call."New value: +"Site id."
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the bar is lowered, yet the description still adds real value: validation behavior (unknown variables, missing/duplicate required slots, unsupported classes are rejected) and the fact that theme and company data are injected at send time rather than stored. It does not spell out partial-update semantics for unspecified fields, which matters for a destructive write.

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?

Three tight sentences with no filler, and the core action plus the reset alternative are front-loaded. Structure is good; density is high enough that a slightly clearer separation of write-vs-render would help, but nothing is wasted.

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

Completeness4/5

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

No output schema exists, but the description covers the return path by pointing to preview_site_email for rendering the saved result. Given a destructive, idempotent 6-parameter mutation tool, the main remaining gap is what happens to fields the caller omits (implicit 'and/or' partial update), which is left to inference.

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

Parameters3/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. The description largely restates the schema's own fields (subject, preheader, nodes, reset) and adds only the validation angle, which is behavioral rather than parameter syntax; empty-string-equals-default is already in the schema.

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

Purpose4/5

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

Specific verb+resource: 'Save a site email's subject, preheader and/or full flat node map, or reset: true' tells the agent exactly what is mutated and which fields are in play. It also names the downstream sibling preview_site_email, which helps separate saving from rendering, but it does not explicitly contrast with the read siblings get_site_email / list_site_emails.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the agent gathers that this is the write counterpart to preview_site_email and get_site_email, and that reset:true restores defaults. There is no explicit 'use this when...' clause, no precondition (e.g. that id/kind must come from list_site_emails), and no exclusion of alternatives.

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.

Resources