Skip to main content
Glama

UXON AI

emails_update

Idempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Save reviewed email content/style or supported settings to its original owner through existing feature services, preserving unrelated configuration. Requires the exact source revision. Commerce defaults affect future emails immediately; shared Form rules retain their existing parent scope and other resource edits remain drafts. Sent snapshots are immutable. No send, publication or automation launch.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "siteId": "<siteId>",
      "target": "<target>",
      "expectedRevision": "<expectedRevision>",
      "changes": "<changes>",
      "idempotencyKey": "<idempotencyKey>",
      "confirm": "<confirm>"
    },
    "name": "emails_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdYes
targetYes
teamIdNoTarget organization ID from organizations_list. Applies to this request only.
changesYes
confirmYesRequired for this high-impact action. Set to true only after the user has approved the action.
idempotencyKeyYesRequired unique request key for safe retries, for example client-action-2026-07-20-001.
expectedRevisionYes

Output Schema

NameRequiredDescriptionDefault
okNo
dataYes
scopeYes
auditIdNo
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior4/5

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

Beyond the annotations (readOnly=false, idempotent=true, destructive=false), the description discloses real side-effect nuance: commerce defaults apply to future emails immediately, shared Form rules keep their existing parent scope, other resource edits remain drafts, and sent snapshots are immutable. It also makes clear no send, publication, or automation launch occurs, which meaningfully bounds the blast radius of this write.

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

Conciseness3/5

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

Sentences are information-dense and mostly earn their place, but the lead sentence is an unrelated platform-level prerequisite and the remainder is a run-on chain of clauses rather than a structured statement of purpose followed by constraints. The annotation title also duplicates the description verbatim.

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

Completeness3/5

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

For a high-impact mutation with a nested polymorphic target, six required parameters, and an output schema, the description adequately covers safety semantics (revision check, no launch, draft behavior). What is missing is any account of the target/changes model that dominates the input schema, leaving the highest-risk structural choice undocumented.

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

Parameters2/5

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

Schema description coverage is only 43% across 7 parameters, so the description should compensate, yet it only clarifies expectedRevision ('requires the exact source revision'). The most complex parameter, target's nine-variant oneOf, plus changes.document and the operations patch array, receive no explanation beyond the schema itself; the passing mentions of 'shared Form rules' and immutable sent snapshots barely touch the target model.

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

Purpose3/5

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

The description frames the operation as saving reviewed email content, style, or supported settings back to their original owner, which conveys a mutation of existing email resources rather than creation. However, it never states plainly that this updates an existing email/template identified by the required target discriminator, and the many target variants (template, form, course, checkout, campaign, automation, delivery, notification) go unmentioned, so an agent gets only a partial picture of what is being modified.

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?

It sets implicit preconditions (read agent.instructions.get first, requires the exact source revision, content must already be 'reviewed'), which helps an agent decide when this tool is legal to call. But it names no alternative sibling and gives no explicit when-not guidance, so the boundary against emails_compose or emails_preview has to be inferred from the name alone.

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