Skip to main content
Glama

Create lesson pack

create_lesson_pack
Destructive

Create a prepaid lesson pack from eligible ski or snowboard lesson activities.

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": {
      "name": "<name>",
      "activity_ids": "<activity_ids>",
      "sessions": "<sessions>",
      "price_cents": "<price_cents>"
    },
    "name": "create_lesson_pack"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
currencyNo
sessionsYes
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_centsYes
activity_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the mutating nature is covered outside the description. The description adds the eligibility constraint on source activities, but leaves it undefined and says nothing about permissions, side effects, or the required business context. With annotations carrying the safety profile, this is adequate but thin.

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?

A single front-loaded sentence with no filler, and the purpose leads. Its brevity is also its weakness, but nothing in it is redundant.

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 destructive 8-parameter creation tool with no output schema and near-zero schema documentation, a one-line description is not enough. An agent cannot infer parameter meaning, constraints on activity_ids, or what a successful creation returns.

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 13% (just business_id), yet the description explains none of the 8 parameters. Critical semantics are absent: whether 'sessions' is the pack's session allotment, how 'price_cents' and 'currency' interact, what 'is_active' defaults to, or what 'resort_id' scopes.

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?

States a specific verb and resource ('Create a ... lesson pack') qualified by 'prepaid' and sourced from 'ski or snowboard lesson activities'. That is clearly distinct from update_lesson_pack and list_lesson_packs, though those siblings are not named.

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?

No when-to-use or when-not-to-use guidance, no prerequisites, and no routing to alternatives. The word 'eligible' hints at a precondition on lesson activities but never explains what eligibility means or how to satisfy it.

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