Skip to main content
Glama

UXON AI

courses_payload_save

Idempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Validate and save the complete reviewed Course draft through the existing editor path. Never pass a partial context selection as this payload.

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>",
      "payload": "<payload>",
      "expectedRevision": "<expectedRevision>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "courses_payload_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdYes
teamIdNoTarget organization ID from organizations_list. Applies to this request only.
payloadYes
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

C2.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds two useful behavioral facts beyond that: the payload is validated before persisting, and partial context selections are rejected. It says nothing about what happens on revision conflict, what the validation failure looks like, or what is overwritten by the save.

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?

Three sentences, with the tool-specific content buried in the middle behind a generic "read agent.instructions.get" preamble. The actionable statement ("Validate and save...") should be front-loaded, and the boilerplate first sentence does not describe this tool at all.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a mutation tool with a nested, unconstrained `payload` object (additionalProperties only, no defined fields) and a required expectedRevision, yet the description never explains what the payload must contain or how revision conflicts are handled. An output schema exists, so return values need not be explained, but the input side is materially under-specified for a write operation of this complexity.

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 only 29% (7 parameters, 6 required), and the description only alludes to payload completeness. Critical parameters such as expectedRevision (optimistic concurrency), courseId, variantId, and siteId carry no explanatory text in either the schema or the description, leaving the agent to guess at conflict semantics and identifier sourcing.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb pair and resource ("Validate and save the complete reviewed Course draft"), so the action is broadly clear. However, it does not distinguish this tool from close siblings such as courses_payload_validate, courses_payload_patch, or courses_payload_preview_patch, and "through the existing editor path" is unexplained jargon that does not help an agent differentiate.

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?

There is a precondition (read agent.instructions.get first) and a constraint ("Never pass a partial context selection"), but no guidance on when to choose this save over courses_payload_patch, courses_payload_validate, or courses_payload_preview_patch. The agent is left to infer the selection rule from sibling names alone.

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