Skip to main content
Glama

Update lesson pack

update_lesson_pack
Destructive

Update a prepaid lesson pack.

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": {
      "lesson_pack_id": "<lesson_pack_id>"
    },
    "name": "update_lesson_pack"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
currencyNo
sessionsNo
is_activeNo
resort_idNo
business_idNoThe id of the business to act on, from list_businesses. Optional when this connection covers a single business.
price_centsNo
activity_idsNo
lesson_pack_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

D1.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the description is not obligated to restate that. However, it adds nothing about update semantics (full replace vs partial patch), whether omitted fields are cleared, permission requirements, or irreversibility — context that matters a lot for a destructive mutation with nine parameters.

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

Conciseness2/5

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

It is a single front-loaded sentence with no filler, but it is under-specified rather than concise for a nine-parameter destructive mutation. Brevity here costs information the agent needs.

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?

Given nine parameters, low schema coverage, no output schema, and destructive semantics, the definition is far too thin. An agent cannot determine what a call will change or what the response confirms without trial and error.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Nine parameters with only 11% schema description coverage (just business_id), yet the description mentions no parameter at all. It does not clarify units for price_cents, the sessions 1–100 bound, currency format, or how activity_ids replaces existing associations, so the coverage gap is left entirely unaddressed.

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

Purpose2/5

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

"Update a prepaid lesson pack" restates the tool name and title almost verbatim; the only new information is the word "prepaid." It gives no indication of what aspects of the pack can be changed or how it differs from create_lesson_pack / list_lesson_packs.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this versus create_lesson_pack or list_lesson_packs, no prerequisites, and no exclusions. The agent must infer usage entirely from the tool name.

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