Skip to main content
Glama

UXON AI

courses_delete

DestructiveIdempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Delete the explicitly confirmed Course through existing app behavior. Read its exact identity first; this does not delete Contacts.

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>",
      "idempotencyKey": "<idempotencyKey>",
      "confirm": "<confirm>"
    },
    "name": "courses_delete"
  }
}

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
idempotencyKeyYesRequired unique request key for safe retries, for example client-action-2026-07-20-001.

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

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is known. The description still adds real context beyond them: the deletion is scoped to the Course and explicitly excludes Contacts, and it demands a prior identity read plus explicit confirmation. It stops short of describing irreversibility, permission requirements, or failure modes.

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 sentences are front-loaded and efficient, but the leading boilerplate instructing the agent to read agent.instructions.get is padding that does not describe this tool and dilutes the signal. The scoping clause is placed well at the end where it disambiguates side effects.

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

Completeness4/5

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

With an output schema present, return values need no explanation, and the description covers the essentials for a destructive one-shot operation: what is deleted, what is not, and the confirmation gate. The main residual gap is the absence of any guidance on recovery or permissions, which is minor given the annotation coverage.

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 60%, with confirm, teamId and idempotencyKey already documented in the schema. The description reinforces the confirm gate ('explicitly confirmed') and implies courseId must be a verified exact identifier, but says nothing about siteId or teamId scoping. This is baseline-level added meaning for a partially documented schema.

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 and resource ('Delete the ... Course') and bounds the blast radius by stating 'this does not delete Contacts', which distinguishes it from mutating siblings such as courses_update or courses_unpublish. The phrase 'through existing app behavior' adds no discriminating information, keeping it below 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 states preconditions — the target must be 'explicitly confirmed' and its 'exact identity' should be read first — and defers to agent.instructions.get for operating rules. However, it never says when a caller should delete rather than unpublish, archive, or transfer a course, and it does not name the tool to use for the identity lookup, so the routing guidance is implied rather than explicit.

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