Skip to main content
Glama

Submit Udemy coupons

submit_coupons

Queue up to 500 Udemy coupon links for verification, in the name of the connected person. Free. Requires an OAuth connection with coupons:submit (without one, the server answers 401 with an OAuth challenge) or a Comidoc developer key with that scope. Returns a result for each link in input order.

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": {
      "submissions": "<submissions>"
    },
    "name": "submit_coupons"
  }
}

Input Schema

NameRequiredDescriptionDefault
submissionsYes

Output Schema

NameRequiredDescriptionDefault
dataYes
metaYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 schema fields changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedOutput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedOutput schema / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / data / items / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / data / items / properties / index / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / data / items / properties / index / minimum
      Removed value: -0
    • removedOutput schema / properties / meta / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / meta / properties / coupon_codes_included / description
      Removed value: -"Whether coupon_code values are included in this response."
    • removedOutput schema / properties / meta / properties / quota / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / meta / properties / quota / properties / limit / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / meta / properties / quota / properties / limit / minimum
      Removed value: -0
    • removedOutput schema / properties / meta / properties / quota / properties / remaining / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / meta / properties / quota / properties / remaining / minimum
      Removed value: -0
    • removedOutput schema / properties / meta / properties / quota / properties / resets_at / pattern
      Removed value: -"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    • removedOutput schema / properties / meta / properties / quota / properties / used / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / meta / properties / quota / properties / used / minimum
      Removed value: -0
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and openWorldHint=true, and the description adds real value on top: the exact scope needed (coupons:submit), the concrete failure mode (401 with an OAuth challenge), the developer-key alternative, the 500-item cap, and that results come back in input order. It does not say whether duplicate or already-verified links are rejected or re-queued, which for a non-idempotent submit tool is the remaining behavioral gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the action and scope, then the cost note, then the auth contract. The one-word 'Free.' sentence is terse but earns its place as a cost signal; the auth sentence is dense but every clause (scope, 401 behavior, dev-key fallback) is actionable.

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, the description needn't describe return values, and it sensibly limits itself to noting per-link results in input order. Combined with the annotations, the only missing pieces are idempotency semantics for repeat submissions and any queue/rate expectations — minor for a batch-submit tool.

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 reported at 0% for the single top-level parameter 'submissions', so the description has to carry meaning — and it does clarify that the parameter is a batch of up to 500 links submitted on the user's behalf. It stops short of explaining the per-item shape (URL with embedded ?couponCode= versus a separate coupon_code field), leaving that entirely to the nested schema.

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?

The description opens with a specific verb and resource — 'Queue up to 500 Udemy coupon links for verification' — and names the acting identity ('in the name of the connected person'). That is far more precise than the sibling tools, which are all fetch/search/list operations, so an agent can tell this is the only write-path submission tool.

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 by the verb 'queue ... for verification' and the 'Free' note signals there is no cost barrier, but the description never states when to reach for this versus the discovery siblings (find_offers, search_courses) or what preconditions the caller should satisfy before submitting. Auth requirements are covered, but that is a prerequisite rather than when-to-use 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