Skip to main content
Glama

update_attendance_session

Control attendance sessions by closing, reopening, hiding, unhiding, or renaming them to adjust visibility and session details.

Instructions

Update an attendance session. Use this to close/reopen, hide/unhide, or rename a session.

Args: event_id: The session ID (from list_attendance_sessions results). title: New title (omit to keep current). is_closed: Set true to close the session, false to reopen. is_hidden: Set true to hide from students, false to show.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNo
event_idYes
is_closedNo
is_hiddenNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations provided, the description must disclose behavioral traits on its own. It explains boolean semantics for is_closed and is_hidden, but does not mention side effects (e.g., whether closing affects check-ins), permission requirements, or reversibility. The description provides basic operation details but lacks deeper behavioral context.

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 well-organized with a clear opening sentence followed by a compact Args list. Each argument gets one line, and the text avoids unnecessary filler. The structure is front-loaded and efficient, though the Args section partially duplicates schema property names.

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?

The tool is simple (update operation) and the description covers all parameters and their semantics. The presence of an output schema removes the need to detail return values. It could mention error handling or the impact of closing a session, but the description is adequate for an agent to invoke the tool correctly.

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

Parameters4/5

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

The input schema has no per-property descriptions, but the description compensates by explaining event_id as the session ID from list_attendance_sessions, title as a new title with 'omit to keep current,' and the true/false meanings for is_closed and is_hidden. This adds meaningful semantics beyond the bare schema types and defaults.

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

Purpose5/5

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

The description opens with 'Update an attendance session' and enumerates the specific operations: close/reopen, hide/unhide, or rename. This clearly distinguishes it from sibling tools like create_attendance_session, delete_attendance_session, and get_attendance_session by focusing on modifying an existing session.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

The description explicitly states 'Use this to close/reopen, hide/unhide, or rename a session,' providing direct usage context. It does not mention alternatives or exclusions, but for a straightforward update tool, the intended use cases are clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/januarharianto/ed-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server