Skip to main content
Glama

UXON AI

checkouts_notification_preview

Read-onlyIdempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Render an existing variant notification rule without saving or sending email. Return rendered subject/HTML for inspection, not a delivery claim.

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>",
      "checkoutId": "<checkoutId>",
      "variantId": "<variantId>",
      "rule": "<rule>"
    },
    "name": "checkouts_notification_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
ruleYesUse the exact existing notification_email node config or complete notification_email node from checkouts.context.get. The email composer renders messageHtml/introHtml even in plain_text style. When changing content, keep messageHtml and introHtml synchronized with messageText/bodyText, as the editor does; changing messageText alone leaves existing HTML authoritative. Preview/test does not save or activate this rule; save its builderDocument separately.
siteIdYes
teamIdNoTarget organization ID from organizations_list. Applies to this request only.
variantIdYes
checkoutIdYes

Output Schema

NameRequiredDescriptionDefault
okNo
dataYes
scopeYes
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?

Annotations already declare readOnlyHint/idempotent/non-destructive, so the description only needed to add context, and it does: preview does not persist or dispatch email, and the return value is a rendered subject/HTML artifact rather than proof of delivery. It does not disclose whether rendering can fail on invalid rule configs or what errors look like.

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 two purpose sentences are tight and front-loaded with the key non-persistence guarantee, but the leading sentence is off-topic instruction-routing text that consumes attention without describing this tool.

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 non-save/non-send behavior is covered. However, for a 5-parameter tool with a nested open-ended rule object, the description omits where the rule config comes from, which IDs must be consistent, and how preview differs from the test sibling.

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 40% and the description text itself says nothing about siteId, checkoutId, variantId, or teamId. The rich guidance about the rule node lives in the schema, not the description, so the description does not compensate for the coverage gap on the identifier parameters.

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 an existing variant notification rule, explicitly without saving or sending. The 'not a delivery claim' clause distinguishes it from a delivery/status check, though it never names the closest sibling (checkouts_notification_test) or the subject-verb scope difference directly.

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

Usage Guidelines2/5

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

The only conditional guidance is the preamble about reading agent.instructions.get, which is unrelated to tool selection. It does not say when to choose this over checkouts_notification_test or checkouts_context_get, nor what prerequisite state (an existing variant and rule) is required beyond the word 'existing'.

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