Skip to main content
Glama

Reset session

sessions_reset
DestructiveIdempotent

Resets a channel's session counters and latest events, clearing session data. This operation cannot be undone.

Instructions

Reset the channel's session data (session counters and latest events). Cannot be undone.

Input Schema

NameRequiredDescriptionDefault
channelNoStreamElements channel id (24-char hex). Defaults to SE_CHANNEL_ID or the channel that owns the token.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=true, so the safety profile is largely covered. The description still adds real value beyond the hints by naming the exact data destroyed (session counters, latest events) and stating irreversibility ('Cannot be undone'), which idempotent/destructive hints do not express. No auth or rate-limit detail, but that is a minor gap relative to what is provided.

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 tight sentences with zero filler, and the destructive consequence and irreversibility are front-loaded rather than buried. Every clause earns its place.

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 one-parameter destructive mutation with no output schema, the description covers what is wiped and that it is permanent, and annotations cover the safety profile. Only the absence of auth/permission expectations keeps it short of complete.

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?

Schema description coverage is 100% and the single 'channel' parameter is fully documented there, including the 24-char hex format and the SE_CHANNEL_ID default. The description adds no parameter semantics beyond the schema, so the baseline of 3 applies.

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?

States a specific verb ('Reset') and resource ('the channel's session data'), then parenthetically enumerates exactly what is cleared: session counters and latest events. This distinguishes it from siblings like sessions_get, sessions_update, and sessions_top without opening any schema.

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?

No explicit guidance on when to reset versus using sessions_update or sessions_update_settings, and no prerequisites noted. Usage is only implied by the destructive framing. The 'Cannot be undone.' line flags caution but does not route the agent among alternatives.

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

Deploy Server

Other Tools