Skip to main content
Glama

UXON AI

courses_variants_update

Idempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Rename or assign Main to the reviewed Course variant. Main can change existing published visitor selection, so confirmation is required. Does not publish drafts.

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>",
      "variantId": "<variantId>",
      "expectedRevision": "<expectedRevision>",
      "idempotencyKey": "<idempotencyKey>",
      "confirm": "<confirm>"
    },
    "name": "courses_variants_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
isMainNo
siteIdYes
teamIdNoTarget organization ID from organizations_list. Applies to this request only.
confirmYesRequired for this high-impact action. Set to true only after the user has approved the action.
courseIdYes
variantIdYes
idempotencyKeyYesRequired unique request key for safe retries, for example client-action-2026-07-20-001.
expectedRevisionYes

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.5/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false and idempotentHint=true. The description adds genuinely new behavioral detail: assigning Main can change the selection existing published visitors see, which is why confirmation is required, and the call will not publish drafts. That side-effect disclosure goes meaningfully beyond the annotation set.

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 content is compact, but the first sentence is a generic cross-tool prerequisite rather than this tool's purpose, so the description is not front-loaded on the actual action. The remaining three sentences each add value, which keeps it from scoring lower.

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 side effect is well covered. For a 9-parameter, 6-required, confirmation-gated mutation, though, the absence of any mention of `expectedRevision` conflict handling leaves a real operational gap.

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 33% across 9 parameters, so the description should carry more weight than it does. It does imply `name`, `isMain`, and `confirm`, but says nothing about `expectedRevision` (optimistic concurrency) or `idempotencyKey`, leaving two required parameters to 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?

The description names a specific verb set and resource: 'Rename or assign Main to the reviewed Course variant.' An agent can tell this is a variant-mutation tool. It does not differentiate itself from siblings such as courses_variants_create or courses_variants_archive, so it stops short of a 5.

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 gives a precondition ('read agent.instructions.get') and one clear exclusion ('Does not publish drafts'), plus a confirmation gate. However, it never names an alternative among the many sibling variant tools, so an agent must infer that renaming a non-Main variant is in scope and that creation belongs elsewhere.

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