Skip to main content
Glama

Branch Session (v3)

lyzr_session3_branch

Create a new session branch from a specific message to maintain multiple conversation paths in Lyzr.

Instructions

Branch a v3 session off from a specific message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
metadataNoMetadata to attach to the new branch
session_idYesSession id to branch from
branch_nameNoHuman-readable name for the branch
new_session_idNoId to assign to the new branched session
from_message_idYesMessage id the new branch starts from
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false. The description adds minimal behavioral context beyond the schema—it mentions branching from a message, but this is already in the required parameter from_message_id. It does not disclose side effects, return values, or prerequisites beyond the schema.

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?

The description is one sentence of 10 words, front-loaded with the action. Every word contributes meaning, with no filler or repetition.

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?

With no output schema, the description does not explain what the tool returns or any postconditions (e.g., how to reference the new branch). It adequately conveys the core action but leaves a gap for the agent regarding expected results.

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 baseline is 3. The description does not add any parameter semantics beyond what the schema already provides; all parameters are fully described in 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 uses a specific verb ('Branch') and resource ('v3 session') with a precise starting point ('from a specific message'). This clearly distinguishes it from sibling tools like session3_create or session3_list_branches.

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 clearly states what the tool does and the context (v3 session, from a message). While it doesn't explicitly list when not to use it or alternative tools, the unique 'branch' verb and resource make the usage context unmistakable.

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/nandanNM/lyzr-mcp'

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