Skip to main content
Glama
zackscriven

ghl-mcp-server-v2

by zackscriven

ghl_course_delete_offer

DestructiveIdempotent

Deletes a course membership offer by offer ID and location ID, letting you remove outdated or incorrect offers from a sub-account.

Instructions

COURSES API — the {productId} path parameter is the course (product) id. Delete Offer Delete a membership offer. Requires a Location token with courses.write. Send Version: v3. Endpoint: DELETE /courses/offers/{offerId} (Version header: v3; source: v3/courses-v3.json) Requires a Sub-Account (location) token. OAuth scopes: courses.write

Input Schema

NameRequiredDescriptionDefault
offerIdYesOffer id
locationIdYesLocation id or sub-account id is required.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.0

TDQS

A3.8/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 description's obligation is lower; it still adds real context by naming the required token type, OAuth scope, and mandatory Version: v3 header. It stops short of saying whether deletion is recoverable or what happens to existing enrollments.

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 useful information (action, auth, version header, endpoint) is present, but it is padded: 'COURSES API' banner, a redundant 'Delete Offer' line restating the title, and the courses.write requirement stated three times in different phrasings.

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?

For a two-parameter delete with no output schema, the description covers the essentials an agent needs to invoke it correctly: required token type, scope, API version, and endpoint. Missing only the irreversible-deletion note and the stale productId reference, which should be removed.

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 100%, so offerId and locationId are already documented, establishing a baseline of 3. The description only restates that {offerId} identifies the offer, and its opening line about the '{productId} path parameter' references a parameter that does not exist in this tool's schema, adding noise rather than clarity.

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

Purpose5/5

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

States a specific verb and resource ('Delete a membership offer') and the endpoint DELETE /courses/offers/{offerId}, which cleanly separates it from sibling offer tools (get/update/list/create_offer). The agent can identify the operation without opening the schema.

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?

Prerequisites are spelled out (Location/Sub-Account token, courses.write scope, Version: v3 header), which tells the agent when the call can succeed. However, it never states when to prefer this over alternatives, nor does it warn that the offer is permanently removed or what to do if the offer has enrollments.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools