Skip to main content
Glama

session_update

Destructive

Update session title, archive state, pin, read position, or the side-panel view it shows; personal archive and read position apply to you

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": {
      "workspaceSlug": "<workspaceSlug>",
      "sessionId": "<sessionId>",
      "body": "<body>"
    },
    "name": "session_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
sessionIdYes
workspaceSlugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / body / properties / view
      Added value: +{
      +  "description": "The side-panel tab to show: apps/<slug>, files, files/<drive path>, lineage, desktop, or none",
      +  "maxLength": 1024,
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • removedInput schema / properties / body / properties / cwd
      Removed value: -{
      -  "maxLength": 1024,
      -  "minLength": 1,
      -  "pattern": "^[^\\u0000-\\u001f\\u007f]+$",
      -  "type": "string"
      -}
  3. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the safety profile is carried by structured data. The description adds genuinely useful context the annotations do not contain: that personal archive and read position apply only to the calling user, implying pinned/changes to others may be shared. It does not, however, warn about what the destructive flag actually threatens (e.g. a global archive affecting other users) nor whether omitted body fields are left untouched or reset.

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?

A single compact sentence front-loads the action and enumerates the mutable fields, with a semicolon clause for the scope caveat. Nothing is redundant, though the clause ordering puts the least common fields (side-panel view) before the more important scope distinction.

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

Completeness2/5

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

This is a nested-body mutation tool flagged destructive with no output schema, so the description needs to carry more weight. It omits whether the update is a partial patch or full replacement of the body object, what the destructive hint actually risks, and whether permissions are required to change global state, all of which an agent needs before invoking it safely.

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?

Top-level schema coverage is reported at 0%, and workspaceSlug/sessionId receive no clarification, so the description does carry some burden. It does list the updatable body fields and clarifies the two per-user ones, which partially compensates, but it says nothing about archiveScope's personal/global enum, the view string format, or partial-update semantics, leaving the most ambiguity-prone inputs unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (update) and resource (session) and enumerates the exact fields touched: title, archive state, pin, read position, side-panel view. It lets an agent recognize this as the session mutator among the many other *_update siblings, but never explicitly distinguishes itself from session_agent_update or session_audience_update by name.

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?

Usage is implied by the field list: call this when you need to change a session's metadata or UI state. There is no guidance on prerequisites, no exclusions, and no statement of when a sibling updater would be the correct choice instead. The trailing clause about personal scope implies per-user vs global targeting but does not frame it as a selection criterion.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources