Skip to main content
Glama

UXON AI

courses_payload_patch

Idempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Apply a minimal reviewed Course payload patch through the shared atomic draft save, preserving unseen fields. Return its committed revision; publication is separate.

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>",
      "operations": "<operations>",
      "expectedRevision": "<expectedRevision>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "courses_payload_patch"
  }
}

Input Schema

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

B3.3/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-destructive, idempotent behavior, so the bar is lower; the description still adds real context beyond them. It discloses that writes land in a shared atomic draft (not live content), that unseen fields are preserved on merge, that a committed revision is returned, and that publication is a separate step. What it omits is concurrency behavior — expectedRevision is not mentioned anywhere in prose — and any note on idempotencyKey semantics beyond the schema.

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 no filler, but the leading sentence is an ecosystem-wide read-first directive that occupies the highest-salience position ahead of the tool's actual purpose. The substantive content about atomic draft save and preserved fields is compact and earns its place; the preamble merely displaces it.

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-shape explanation is rightly omitted, and the description covers draft-vs-publish and merge semantics. However, a seven-parameter mutation with optimistic concurrency leaves the agent without prose on expectedRevision conflicts, idempotent retry behavior, or the operations format. Adequate but with clear gaps 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?

Only 29% of the seven parameters have schema descriptions, so the description must compensate and it largely does not. It never explains the operations array (JSON-patch-style add/replace/remove/move with path/from), the role of expectedRevision, or idempotencyKey. 'Minimal reviewed patch' and 'preserving unseen fields' are the only hints, and they do not resolve how paths are addressed or what a conflicting revision does.

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 states a specific verb and resource: apply a Course payload patch, and it names the delivery mechanism (shared atomic draft save) and the output (committed revision). It also separates itself from publication ('publication is separate'), which implicitly distinguishes it from a publish step. It does not name the preview or save siblings, so the differentiation from those is left to inference.

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?

Usage is implied through the phrase 'minimal reviewed' patch, which suggests a preview-then-apply workflow, but no explicit condition tells the agent when to pick this over courses_payload_preview_patch, courses_payload_save, or courses_payload_replace. The only explicit directive is a global one to read agent.instructions.get first, which is a prerequisite rather than tool-choice 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