Skip to main content
Glama

UXON AI

content_templates_save

Idempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Save a complete reusable content template through the editor's existing service. A new stable templateId creates it; replacing an existing owned ID requires its exact expectedRevision from get. Omitted/null revision creates only. Preserve unrelated content. Does not apply it to a resource, publish or send email.

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>",
      "templateType": "<templateType>",
      "templateId": "<templateId>",
      "name": "<name>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "content_templates_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlNo
nameYes
siteIdYes
teamIdNoTarget organization ID from organizations_list. Applies to this request only.
payloadNo
subjectNo
templateIdYes
templateTypeYes
idempotencyKeyYesRequired unique request key for safe retries, for example client-action-2026-07-20-001.
expectedRevisionNo

Output Schema

NameRequiredDescriptionDefault
okNo
dataYes
scopeYes
auditIdNo
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuine behavioral context on top: preserving unrelated content, the revision guard that prevents clobbering an owned template, and the explicit statement that it does not apply the template to a resource, publish it, or send email. It does not mention rate limits, permission requirements, or what happens on a revision mismatch, which keeps it below 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.

Conciseness4/5

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

The substantive sentences are dense and front-loaded, with the create-versus-replace rule stated before the scope exclusions and no redundant filler. The opening meta-instruction to read agent.instructions.get consumes prime position without describing this tool, which slightly dilutes the otherwise tight structure.

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 no explanation, and the mutation semantics and negative scope are well covered. For a 10-parameter mutation with a nested payload object, though, the description leaves the payload shape, templateType meanings, and idempotencyKey retry behavior entirely to the schema, where only 20% of parameters are described.

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 only 20% across 10 parameters, so the description has to carry weight, and it does explain the two hardest ones: templateId stability and the null-versus-exact expectedRevision semantics. However, it says nothing about payload (a nested object requiring schemaVersion const 1), html, subject, name, templateType values, siteId, or teamId. Coverage of the revision logic is real but the parameter explanation is partial.

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 ('Save a complete reusable content template through the editor's existing service') and immediately splits the operation into create-with-new-templateId versus replace-with-expectedRevision. It is clear what the tool does, but it never names a sibling such as checkouts_templates_save or content_templates_catalogue_import, so the boundary between this and other template-save tools must be inferred from the templateType enum.

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

Usage Guidelines4/5

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

It states precise selection logic: a new stable templateId creates, an existing owned ID requires the exact expectedRevision from get, and omitted/null revision creates only. That routes the agent to content_templates_get as a prerequisite and rules out blind overwrites. The remaining gap is that it does not say when to prefer this tool over the catalogue-import or checkout-specific save siblings.

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