Skip to main content
Glama

set_session_topic

Assign or update a topic to a conversation session, helping identify and organize session history for easier review.

Instructions

Set or update the topic for a conversation session.

Topics help identify what conversations were about when reviewing session history. Can be auto-detected or manually set.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topicYesTopic description for the session
session_idYesSession ID to update

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Describes operation as a set/update, which is a write operation. However, without annotations, the description should disclose more about side effects (e.g., overwrites existing topic), authorization needs, or idempotency. The presence of an output schema partially compensates but isn't described.

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?

Two sentences, front-loaded with the action. The second sentence provides context without being overly verbose. Could be slightly tighter but is effective.

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 two-parameter setter with full schema coverage and an output schema, the description is adequate. It explains purpose and usage context. No major gaps identified.

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%, so the schema already documents both parameters. The description adds no extra semantics beyond what the schema provides. Baseline score of 3 is appropriate.

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?

Clearly states the specific verb 'Set or update' and the resource 'topic for a conversation session'. Distinguishes this tool from siblings like get_session (retrieve) and summarize_session (summarize) by focusing on topic assignment.

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?

Implies usage when a topic needs to be set or updated on a session. States that topics can be auto-detected or manually set, providing context but no explicit exclusion or alternatives.

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/michael-denyer/memory-mcp'

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