Skip to main content
Glama

Class timetable

owner_upsert_sessions
DestructiveIdempotent

Only for business owners signed in to Awning. Set when a class runs; future classes are generated for the booking horizon.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scheduleYes
business_idNoOnly needed if you manage several businesses
offering_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / schedule / items / properties / days / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 100,
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "maxLength": 20,
      +      "type": "string"
      +    },
      +    "maxItems": 14,
      +    "type": "array"
      +  }
      +]
    • addedInput schema / properties / schedule / items / properties / time / maxLength
      Added value: +20
    • addedInput schema / properties / schedule / maxItems
      Added value: +50
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=true, so the mutation/repeat-safety profile is covered. The description adds genuine non-annotation context — that future classes are auto-generated up to the booking horizon — but never explains what the destructiveHint=true actually destroys (e.g. overwritten existing sessions).

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

Conciseness5/5

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

Two short sentences with the access constraint front-loaded and no filler; every clause carries information.

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, non-read-only mutation tool with a complex nested schedule parameter, no output schema, and only 33% schema coverage, the description is too thin. It omits how the schedule is structured, what happens to existing sessions, and the meaning of the booking horizon.

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 33%, and the description contributes nothing about parameters. It does not explain the nested 'schedule' array structure (days/time/capacity/duration_min/capacity_online), the accepted day formats, or the role of offering_id, so the coverage gap is not compensated.

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 states a clear action and resource: it sets when a class runs (a class timetable), and the name/verb 'upsert' is reflected in 'Set'. However, it does not differentiate from the very similar sibling 'owner_set_schedule', so an agent cannot tell which one to pick from purpose alone.

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?

It gives an audience constraint ('Only for business owners signed in to Awning'), which implies the usage context, but there is no when-to-use vs alternatives guidance. The near-identical siblings 'owner_set_schedule' and 'owner_add_offering' are never mentioned.

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