Skip to main content
Glama

UXON AI

courses_payload_preview_patch

Read-onlyIdempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Preview JSON Pointer add/replace/remove/move operations in memory against the selected Course draft; validate without saving, sending or publishing.

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>"
    },
    "name": "courses_payload_preview_patch"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdYes
teamIdNoTarget organization ID from organizations_list. Applies to this request only.
courseIdYes
variantIdYes
operationsYes
expectedRevisionNo

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
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and idempotentHint=true, so the safety profile is covered by structured data. The description's contribution is the "in memory against the selected Course draft" framing, which clarifies the preview targets a draft rather than the live variant, but it adds no detail about failure behavior, what the preview returns on invalid paths, or limits.

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 second sentence is dense but front-loads the verb and the non-mutating guarantee efficiently. The opening sentence about reading agent.instructions.get is tenant-wide boilerplate that occupies the most prominent position and displaces tool-specific information.

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?

For a 6-parameter tool with only 17% schema coverage, the description omits the concurrency semantics of expectedRevision, the 1-100 operation limit, and the add/replace/remove/move distinctions. An output schema exists, so return values need not be explained, but the input contract is still substantially underspecified.

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 17%, with just teamId documented in the schema, so the description carries the burden for siteId, courseId, variantId, operations and expectedRevision. It adds nothing about the operations array shape, the meaning of `from` for move, or the role of expectedRevision as a concurrency/revision check, leaving most parameters unexplained.

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 concrete operation set (JSON Pointer add/replace/remove/move), a concrete target (the selected Course draft), and a concrete mode (preview in memory, validate without saving). An agent can distinguish it from the persisting courses_payload_patch without reading the schema, though it never names the sibling that actually writes.

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?

"validate without saving, sending or publishing" implies the use case is dry-run before applying changes, which is reasonable guidance. But it never states when to prefer this over courses_payload_validate or courses_payload_patch, nor any prerequisites such as needing an existing draft revision.

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