Skip to main content
Glama

Update class package

update_class_package
Idempotent

Update a class package (partial).

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": {
      "package_id": "<package_id>"
    },
    "name": "update_class_package"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
activeNo
creditsNo
currencyNo
package_idYes
descriptionNo
price_amountNo
validity_daysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.4/5.0
Behavior3/5

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

Annotations already declare non-destructive, idempotent, non-open-world mutation semantics, so the safety bar is lowered. The description's one contribution is "(partial)", which usefully signals merge-style updates where omitted fields are left untouched, but says nothing about required permissions or whether price/credit changes affect existing purchases or subscriptions.

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 single clause is front-loaded and contains no filler, but at four words it is under-specified rather than concise. There is no wasted text, yet nothing earns its place beyond the bare name restated with a qualifier.

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 an 8-parameter mutation tool with no output schema and no schema descriptions, the definition is materially incomplete: an agent cannot know what each field controls, whether changes are reversible, or what is returned. Annotations cover idempotency and safety but cannot substitute for field-level meaning.

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?

Schema description coverage is 0% across 8 parameters, so the description carries the full burden and does not compensate at all. Fields like credits, currency, price_amount, and validity_days have significant business implications (billing, entitlements) that are left completely undefined in both schema and description.

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

Purpose3/5

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

"Update a class package" gives a clear verb and resource, but "class package" is unelaborated domain jargon and nothing distinguishes it from create_class_package or the many other update_* siblings. The "(partial)" qualifier hints at scope but the purpose is only minimally viable.

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 instead of create_class_package or other update_* tools, and no preconditions such as needing an existing package_id or the relevant permission. The agent must infer usage entirely from the 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