Skip to main content
Glama

UXON AI

emails_compose

Read-onlyIdempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Convert a complete structured email document to native editable authoring HTML with current account branding using the same codec as the dashboard editor. Does not save, apply personalization or send. Save new reusable emails with content_templates.save.

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>",
      "document": "<document>"
    },
    "name": "emails_compose"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdYes
teamIdNoTarget organization ID from organizations_list. Applies to this request only.
documentYesComplete email document validated against emails.options documentSchema. Read blockType or path for needed block/style settings; partial documents cannot replace content.

Output Schema

NameRequiredDescriptionDefault
okNo
dataYes
scopeYes
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and the description is consistent with them. Beyond those, it discloses that output HTML carries current account branding and is produced by the dashboard editor's codec, which is real behavioral context an agent would not otherwise know. It withholds only secondary details like error behavior on incomplete documents.

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?

The core content is dense and front-loadable, with the essential exclusions stated in one crisp sentence. The leading instruction to read agent.instructions.get is boilerplate overhead that consumes the most valuable position for a tool-specific fact.

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?

With an output schema present, return values need no explanation, and the description covers the mutation-free contract, the transformation performed, and where to go to persist results. Remaining gaps are modest: no guidance on invalid or partial documents and no mention of the siteId/teamId scoping that the schema exposes.

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 67%, so the schema does most of the work. The description reinforces that the input document must be complete and that nothing is persisted, but adds no meaning about siteId or teamId, and the critical 'read blockType or path' guidance lives in the schema, not the description.

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?

Uses a specific verb and resource: converts a complete structured email document into editable authoring HTML with the account's current branding, using the same codec as the dashboard editor. This clearly distinguishes it from persistence tools, explicitly noting it does not save, personalize, or send, and pointing to content_templates.save for the save path. It is slightly less explicit about relationships to conversion-adjacent siblings such as emails_preview or emails_screenshot.

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?

The definition gives a strong negative boundary (no save, no personalization, no send) and routes persistence to content_templates.save, which is genuinely useful. However, it offers no positive when-to-use trigger relative to alternatives like emails_preview or emails_update, and the opening line about reading agent.instructions.get is a global preamble rather than guidance for this tool.

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