Skip to main content
Glama

create_chat

Open a named local Gemini chat for one topic, and optionally branch from an existing conversation by copying selected turns to continue related work.

Instructions

Open a named local Gemini chat immediately. Use one chat per topic. Send new messages to its conversationId with gemini_chat. Set fromConversationId to branch. Each call creates a new ID locally, without calling the provider.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoSearchable title, e.g. Interview edit. If omitted, the first user message supplies the title.
throughTurnNoCopy turns through this number, inclusive. Omit for all turns or use 0 for an empty branch.
fromConversationIdNoOptional source conversation to copy, including an archived chat.

Output Schema

NameRequiredDescriptionDefault
modelYes
titleYes
statusYes
createdAtYes
turnCountYes
updatedAtYes
forkedAtTurnNo
conversationIdYes
lastUserPreviewYes
parentConversationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-idempotent, non-open-world behavior; the description earns credit by explaining the consequence — every call mints a brand-new local ID with no provider round-trip. That is exactly the kind of detail an agent needs to know it cannot rely on repeat calls returning the same chat.

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?

Four short sentences, each carrying distinct information (what it does, topic discipline, where messages go, branching, local-only creation), with the core action front-loaded and no filler.

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

Completeness5/5

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

For a zero-required-param create tool with full schema coverage, complete annotations, and an output schema, the description covers everything an agent needs: local creation semantics, new-ID-per-call behavior, branching, and handoff to gemini_chat.

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 coverage is already 100%, so the baseline is 3, but the description adds a conceptual layer the schema lacks: fromConversationId is framed as a branching mechanism, not just a copy source. title and throughTurn are left to the schema, which documents them well.

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 and resource ('Open a named local Gemini chat') and immediately disambiguates from the sibling gemini_chat by telling the agent that messaging happens there, not here. The 'local' and 'without calling the provider' qualifiers further pin down what kind of creation this is.

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?

Gives concrete routing guidance: 'Use one chat per topic', send messages with gemini_chat, and set fromConversationId to branch. It stops short of explicit when-not conditions (e.g., when to prefer list_chats/get_chat or when not to branch), but the positive guidance is clear enough to act on.

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