Skip to main content
Glama

Get class details

get_class
Read-onlyIdempotent

Look up a schedule entry by its exact ID, its next four available dates (one for a dated event), and other listings at the venue on its next date.

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": {
      "id": "<id>"
    },
    "name": "get_class"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Output Schema

NameRequiredDescriptionDefault
idYes
hostYes
kindYes
noteYes
pageYes
focusYes
levelYes
priceYes
titleYes
venueYes
stylesYes
drop_inYes
currencyYes
end_timeYes
scheduleYes
timezoneYes
ends_lateYes
instructorYes
kind_labelYes
next_datesYes
start_timeYes
booking_urlYes
other_classesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / other_classes / items / properties / status
      Added value: +{
      +  "enum": [
      +    "scheduled",
      +    "cancelled"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / other_classes / items / required
      Previous value: -[
      -  "id",
      -  "title",
      -  "kind",
      -  "kind_label",
      -  "drop_in",
      -  "note",
      -  "styles",
      -  "level",
      -  "focus",
      -  "instructor",
      -  "price",
      -  "currency",
      -  "start_time",
      -  "end_time",
      -  "ends_late",
      -  "venue",
      -  "page",
      -  "host",
      -  "booking_url",
      -  "timezone",
      -  "schedule",
      -  "date",
      -  "weekday",
      -  "starts_at",
      -  "ends_at"
      -]New value: +[
      +  "id",
      +  "title",
      +  "kind",
      +  "kind_label",
      +  "drop_in",
      +  "note",
      +  "styles",
      +  "level",
      +  "focus",
      +  "instructor",
      +  "price",
      +  "currency",
      +  "start_time",
      +  "end_time",
      +  "ends_late",
      +  "venue",
      +  "page",
      +  "host",
      +  "booking_url",
      +  "timezone",
      +  "schedule",
      +  "date",
      +  "status",
      +  "weekday",
      +  "starts_at",
      +  "ends_at"
      +]
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered without the description. The description adds some behavioral context by disclosing that the response bundles the next four available dates plus other venue listings on the next date, but with an output schema present this is largely restating return content rather than adding new operational context.

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?

It is a single sentence with the purpose front-loaded, but the trailing clause 'its next four available dates (one for a dated event), and other listings at the venue on its next date' is convoluted and hard to parse on first read, costing clarity for little gain.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter read tool with full annotations and an output schema, the description covers the essential lookup semantics and scope. The remaining gap is minor: no statement of behavior when the ID does not resolve.

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

Parameters3/5

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

There is a single parameter (id) with 0% schema description coverage, so the description must carry the semantics. It does add the key meaning that the ID must be an exact match, but it says nothing about format, case sensitivity, or what happens on a miss.

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 ('look up') and resource ('schedule entry') and scopes it to an exact ID, which is distinguishable from a search-style sibling like find_classes. The only weakness is the terminology drift between the tool name 'class' and the description's 'schedule entry' / 'listings at the venue', which muddies exactly what entity is returned.

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?

The phrase 'by its exact ID' implicitly signals this is the direct-lookup path rather than a search, which is useful context. However, it never names find_classes as the alternative or states the condition that selects it, so the when-to-use guidance must be inferred.

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