Skip to main content
Glama

rename_session

Rename the current MCP session to a new name, ensuring it is unique and follows naming rules.

Instructions

Renames the current MCP session. Pass the new name as the name parameter — letters (any case), digits, and hyphens, capped at 25 characters, with no leading/trailing or consecutive hyphens. User-provided case is preserved; auto-generated names are lowercase. The name must be free: a session name is the address the mailbox delivers to, so a name another LIVE session already answers to is refused (compared case-insensitively) and "next" is reserved for the next-arrival address. Renaming to the name you already hold is fine.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoNew session name. Letters, digits, and hyphens only; max 25 characters. Cannot start/end with hyphen or contain consecutive hyphens. Case is preserved as entered. Must not be a name a live session already uses, and must not be 'next'.
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does an excellent job by covering case preservation, case-insensitive uniqueness checks, reservation of 'next', and the allowance of renaming to the current name. It does not mention side effects like return values or persistence, but the naming-related behavior is thoroughly explained.

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 paragraph of four sentences, all of which contribute useful information. It front-loads the core purpose and then details constraints. It does repeat some schema information, but the added context justifies the length. It is appropriately concise given the complexity.

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

Completeness3/5

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

The description is complete regarding naming rules and rejection criteria, but it does not mention what happens on success (e.g., return value or confirmation). Since there is no output schema, the description should ideally provide some hint about the result. It also does not state whether the rename affects existing messages or other sessions. This gap prevents a higher score.

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?

Schema description coverage is 100%, so the baseline is 3. The description adds meaningful context beyond the schema by explaining the mailbox analogy, case-insensitivity, and the fact that renaming to the same name is allowed. This enriches the parameter semantics without contradicting the schema.

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 starts with 'Renames the current MCP session', which is a specific verb+resource that clearly distinguishes it from sibling tools like rename_file and rename_symbol. It also includes sufficient detail about naming rules to eliminate ambiguity.

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 description explains the operation and its constraints, but it does not explicitly state when to use this tool versus alternatives, nor does it mention any exclusions or situations where other tools would be preferred. The context implies usage (when you need to rename the current session) but lacks explicit guidance.

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/plumbkit/plumb'

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