Skip to main content
Glama

UXON AI

courses_publish

Idempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Publish all saved active Course variants together, validating the current editor revision and explicit domain/path/settings and access mode. Confirm live completion effects; preserve paid learner access and inspect refresh warnings.

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>",
      "publishSettings": "<publishSettings>",
      "accessMode": "<accessMode>",
      "idempotencyKey": "<idempotencyKey>",
      "confirm": "<confirm>"
    },
    "name": "courses_publish"
  }
}

Input Schema

NameRequiredDescriptionDefault
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
passwordNo
variantIdYes
accessModeYes
idempotencyKeyYesRequired unique request key for safe retries, for example client-action-2026-07-20-001.
publishSettingsYes
expectedRevisionYes
createRedirectFromPreviousUrlNo

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, idempotentHint=true; the description adds real context beyond them — that the editor revision must still match, that paid learner access must be preserved, that refresh warnings can appear, and that live completion effects should be confirmed. Nothing here contradicts destructiveHint=false or idempotentHint=true. The unannotated risk of a stale expectedRevision is at least signaled.

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 publish sentence is dense and well-formed, but the definition is front-loaded with a sentence about reading agent.instructions.get that does not describe this tool at all and consumes the highest-attention slot. Trimming that leave would materially improve 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 not be explained, and the description does cover the high-stakes concerns of revision currency, access mode, and post-publish verification. However, for an 11-parameter, 8-required mutation with 27% schema coverage, several parameters — including password and createRedirectFromPreviousUrl — are left entirely to the caller's inference.

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 coverage is 27%, so the description must carry weight. It maps usefully to expectedRevision ('current editor revision'), accessMode ('access mode'), and hints at the internal shape of publishSettings ('domain/path/settings'), which the opaque object schema does not. It adds nothing for siteId, courseId, variantId, password, createRedirectFromPreviousUrl, confirm — the last two being genuinely consequential for a publish action.

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 second sentence states a specific verb and resource plus scope: 'Publish all saved active Course variants together,' with revision validation and access mode named. That is clearly distinct from siblings like courses_payload_save or courses_payload_validate. The leading sentence about reading agent.instructions.get is unrelated meta-guidance that dilutes, but does not obscure, the purpose.

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 implies when to use it (after saving active variants, with an explicit revision and access mode) but never names an alternative such as courses_payload_save, courses_payload_validate, or courses_publication_get, and gives no when-not-to-use condition. 'Confirm live completion effects' is post-call behavior rather than routing guidance.

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