Skip to main content
Glama

Create class package

create_class_package

Create a class package (pass): a bundle of class credits sold for a price, optionally expiring after validity_days.

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>",
      "credits": "<credits>"
    },
    "name": "create_class_package"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
creditsYes
currencyNo
descriptionNo
price_amountNo
validity_daysNoDays until the pass expires; omit for no expiry.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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, idempotentHint=false, and destructiveHint=false, so the mutation profile is covered. The description adds useful domain context (a sellable credit bundle with optional expiry) but says nothing about permissions, whether created packages are immediately purchasable, or what happens on duplicate names.

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 a helpful parenthetical gloss on 'pass' and the expiry caveat attached to the relevant parameter. No wasted wording, though it trades brevity for thin coverage elsewhere.

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 six-parameter creation tool with no output schema and low schema documentation, the description leaves the agent without important context: required fields, currency/price coupling, and the lifecycle of the created package. It is not wrong, but it is under-specified for the tool's complexity.

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 coverage is only 17% (just validity_days documented), so the description must compensate, and it largely does not. It echoes the price concept and the optional expiry, but adds no meaning for name, credits, currency, or description, nor which fields are mandatory.

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 uses a specific verb ('Create') plus resource ('class package') and immediately glosses the domain term as 'a bundle of class credits sold for a price', so an agent knows what entity is being produced. It does not differentiate from siblings like update_class_package, purchase_package, or redeem_package, which keeps it from 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 Guidelines2/5

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

There is no statement of when to use this tool versus alternatives. An agent must infer on its own that 'create' defines a package template rather than selling one (purchase_package) or applying one (redeem_package); no prerequisites or exclusions are given.

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