Skip to main content
Glama

UXON AI

emails_preview

Read-onlyIdempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Render the saved or proposed email through its existing feature's preview/personalization service. Returns subject/HTML for the shared read-only preview. Does not save/send. Real-source support follows that feature's current UI.

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

Input Schema

NameRequiredDescriptionDefault
siteIdYes
targetYes
teamIdNoTarget organization ID from organizations_list. Applies to this request only.
changesNo
exampleNo
orderIdNo
sourceIdNo
expectedRevisionNo

Output Schema

NameRequiredDescriptionDefault
okNo
dataYes
scopeYes
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true, so 'Does not save/send' largely restates structured data. It does add the useful fact that the output is subject plus HTML for a shared read-only preview, but 'Real-source support follows that feature's current UI' is opaque and does not tell the agent what data source is actually used for each target type.

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 opening sentence is an operational directive rather than tool description and delays the actual purpose. The remaining three sentences are tight, but the trailing 'Real-source support follows that feature's current UI' is vague filler that consumes space without adding actionable information.

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

Completeness2/5

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

This is a heavily nested tool (8 params, a deep discriminated union for target, a complex changes object), and an output schema exists so return values need no explanation. However, the description says nothing about which target variant to choose or how target and changes interact for saved versus proposed emails, which is the main risk of mis-invocation here.

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 13% across 8 parameters, and the description never mentions siteId, the nine-way discriminated 'target' union (template, customer_notification, form, course, checkout, testimonial_request, message_campaign, message_automation, delivery), or the changes/document/operations fields. 'Saved or proposed' hints at the target-vs-changes split but gives no per-variant meaning, leaving the agent to reverse-engineer the oneOf from the schema alone.

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?

States a specific verb and resource — 'Render the saved or proposed email ... preview/personalization service' — and adds 'Returns subject/HTML for the shared read-only preview. Does not save/send', which separates it from mutating siblings like emails_update. It never names the closest preview siblings (emails_screenshot, emails_test, customer_notifications_preview), so differentiation is inferential rather than explicit.

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 only implied: render 'saved or proposed' emails and note that it does not save/send. There is no statement of when to prefer this over emails_screenshot, emails_test, or the feature-specific *_preview tools. The only explicit precondition is the boilerplate pointer to agent.instructions.get, which is a reading step rather than a routing rule.

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