Skip to main content
Glama

UXON AI

courses_variants_create

Idempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Create a named Course draft variant, from a returned builder_options.get variantTemplates templateId or an actual source variant from that Course. Does not publish content.

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>",
      "courseId": "<courseId>",
      "name": "<name>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "courses_variants_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
siteIdYes
teamIdNoTarget organization ID from organizations_list. Applies to this request only.
courseIdYes
templateIdNo
idempotencyKeyYesRequired unique request key for safe retries, for example client-action-2026-07-20-001.
sourceVariantIdNo

Output Schema

NameRequiredDescriptionDefault
okNo
dataYesExisting Course service fields are preserved. Resource creation/variant changes return actual resource plus canonical course identity; selected reads return course/revision. Payload writes return the committed payload/revision; do not reuse a different variant's revision. Publish returns actual publicUrl and committed revision; advisory status/checks alone do not publish. Field availability follows this exact operation.
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, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real value beyond that: the result is a draft (non-published) and the derivation source is constrained to a template or a sibling variant. It does not mention authorization needs, rate limits, or what happens on duplicate names.

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 actual tool purpose is buried after a boilerplate instruction to read agent.instructions.get, so the definition is not front-loaded with what the tool does. The remaining two sentences are dense and carry no filler, but the preamble costs the reader the first slot.

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?

An output schema exists, so return values need not be described. For a create operation the description covers the essential behavioral facts: it produces a draft, does not publish, and must be seeded from one of two defined sources. Remaining gaps around the mutually-exclusive relationship between templateId and sourceVariantId are minor but real.

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 29%, so the description must compensate and it partially does: it explains that templateId comes from builder_options.get variantTemplates and sourceVariantId must be an actual variant of the target Course, and that name labels the variant. Site, course, team, and idempotency parameters are left entirely to the schema, and it never states that templateId and sourceVariantId are alternate sources (mutually exclusive).

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: "Create a named Course draft variant," plus the qualifier "Does not publish content," which separates it from publish-oriented siblings like courses_publish. It also names the two acceptable sources (a variantTemplates templateId or a source variant from the same Course), so the operation is unambiguous. It stops short of naming sibling tools explicitly as alternatives.

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?

Gives clear prerequisite context: the variant must derive either from a templateId returned by builder_options.get variantTemplates or from an existing variant of that Course. It also implicitly excludes publishing behavior. What is missing is explicit when-to-use routing against courses_duplicate or courses_variants_update.

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