Skip to main content
Glama

update_chat

Idempotent

Rename, archive, or reopen a local Gemini conversation by setting its title or status while preserving the same conversation ID.

Instructions

Rename, archive, or reopen a local Gemini conversation. Supply title, status, or both. Its conversationId stays the same.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "conversationId": "<conversationId>"
    },
    "name": "update_chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoNew searchable title.
statusNoUse archived to file a chat or active to resume it.
conversationIdYesID returned by create_chat, list_chats, or gemini_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.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavior: the mutation is limited to local conversations and "Its conversationId stays the same," telling the agent the identity is stable across rename/archive. It does not state what happens if neither title nor status is supplied.

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?

Three short sentences, front-loaded with the action set, followed by the input requirement and the identity guarantee. No filler or redundant restatement of the name.

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?

With an output schema and full annotation coverage, the description needs only to supply action semantics and the at-least-one-field rule, both of which it does. Minor gap: it doesn't say what a rename does to search/indexing beyond calling the title "searchable" in the schema, nor any error behavior.

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 add one cross-parameter constraint absent from the schema — at least one of title/status must be supplied — which is a modest but real addition over per-field documentation.

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 precise verb set (rename, archive, reopen) against a specific resource (a local Gemini conversation), which is immediately distinguishable from the sibling verbs create_chat, get_chat, list_chats, and forget_chat. An agent can identify the operation without opening the schema.

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?

"Supply title, status, or both" gives practical invocation guidance about which fields drive which effect, and the status enum description clarifies archived=file vs active=resume. However, there is no explicit statement of when to prefer this tool over siblings (e.g., forget_chat for deletion) or any preconditions/exclusions.

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