Skip to main content
Glama

Update session

update_session
Idempotent

Update a class session's fields and/or its assigned instructors.

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": {
      "class_session_id": "<class_session_id>"
    },
    "name": "update_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_atNo
room_idNo
capacityNo
start_atNo
location_idNo
offering_idNo
delivery_modeNo
instructor_idNo
booking_statusNo
class_session_idYes
waitlist_capacityNo
cancellation_reasonNo
additional_instructorsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.4/5.0
Behavior2/5

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

The annotations already declare that this is a non-read-only, idempotent, non-destructive mutation with closed-world behavior. The description adds only that instructors may be updated, but it does not explain partial-update semantics, whether additional_instructors replaces or appends existing assignments, or what happens to omitted fields.

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?

The description is a single front-loaded sentence with no wasted wording. It is concise and easy to scan, though its brevity reflects under-specification rather than completeness.

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

Completeness1/5

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

For a mutation tool with 13 parameters, no schema descriptions, and no output schema, this one-sentence description is far too sparse. An agent would have to infer the meaning of nearly every field, including required identifiers, enums, and instructor-assignment behavior.

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?

The schema has 13 parameters with 0% description coverage, and the description provides only a generic reference to 'fields' and 'assigned instructors.' It does not explain the required class_session_id, the enum values, or how instructor_id relates to additional_instructors.

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 specific verb and resource: update a class session, including its fields and assigned instructors. This is clear enough to distinguish it from create_session or delete_session, though it does not explicitly differentiate it from other update_* siblings.

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 tool versus alternatives such as create_session, delete_session, or other update tools. It also does not clarify whether it performs partial updates, full replacement, or how it handles instructor assignments.

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