Skip to main content
Glama

UXON AI

customer_notifications_preview

Read-onlyIdempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Render saved or proposed commerce-email wording using actual current branding and an owned eligible Order OR the editor's paid/free example. Uses the existing read-only email preview. Does not save, send, publish, grant access or perform a refund. Order-specific readiness remains enforced.

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>",
      "type": "<type>",
      "language": "<language>"
    },
    "name": "customer_notifications_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes
siteIdYes
teamIdNoTarget organization ID from organizations_list. Applies to this request only.
exampleNo
orderIdNo
languageYes
templateNo

Output Schema

NameRequiredDescriptionDefault
okNo
dataYes
scopeYes
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the safety profile is covered. The description still adds real context beyond them: rendering uses live current branding rather than a stored snapshot, 'Order-specific readiness remains enforced' signals a precondition that can fail, and the explicit negative list (no save, send, publish, access grant, refund) bounds side effects concretely. It does not describe failure modes for ineligible orders, which keeps it from a 5.

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 rendering sentence is dense and front-loaded with the most important scoping rule. The leading sentence about reading agent.instructions.get is a procedural preamble that does not describe the tool itself and pushes the actual purpose back, and the negative-effect list partly restates the annotations. No egregious padding, but the structure is not optimally front-loaded.

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?

An output schema exists, so return values need not be explained, and the side-effect posture is well covered. The gaps are on the input side: a required language enum, an optional teamId with only a schema hint, and a nested template object are left undocumented for an operation whose whole purpose is producing localized branded HTML. For a 7-parameter nested-schema tool, that leaves an agent guessing on several required choices.

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 14% across 7 parameters, so the description must carry the semantic load and largely does not. It implicitly covers orderId ('owned eligible Order'), example ('paid/free example'), and hints at template ('saved or proposed ... wording'), but says nothing about siteId, teamId, language (a required param with a 10-value enum), or the template object's subject/messageHtml/labelOverrides structure. The orderId-vs-example alternative is the one meaningful addition.

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?

The description gives a specific verb and resource: 'Render saved or proposed commerce-email wording' with 'actual current branding', scoped to either an owned eligible Order or the editor's paid/free example. That is concrete enough to distinguish it from mutation siblings like customer_notifications_settings_update or orders_customer_notifications_resend. It stops short of naming a specific sibling preview tool (e.g. emails_preview, checkouts_notification_preview), so the boundary is clear in kind but not in name.

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 states the two valid input modes ('an owned eligible Order OR the editor's paid/free example'), which is genuinely useful selection guidance for the orderId vs example parameters. However, there is no explicit statement of when to use this tool rather than a sibling preview or the resend/test tools, and no exclusions beyond the 'does not save/send' note. Usage is implied rather than spelled out.

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