Skip to main content
Glama

session_agent_update

Destructive

Mark the session's agent onboarded from inside its onboarding conversation

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_agent_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
sessionIdYes
workspaceSlugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=false and destructiveHint=true, so the safety profile is largely supplied. The description adds a genuine precondition (call it during the onboarding conversation) but never explains why the call is flagged destructive, whether it is idempotent, or what else the session state changes.

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?

One front-loaded sentence with no filler; the mutation and its context appear immediately. It is efficient, though the terseness leaves the destructive annotation unexplained rather than being paired with any caveat.

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?

For a three-required-parameter write with a nested body, no output schema, and a destructive annotation, the definition is thin. It covers the intent and the conversational context but leaves parameter meaning and destructive consequences entirely to the schema and annotations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across three required parameters, including a nested body object, so the description must carry the burden. It hints at sessionId and the onboarded flag but says nothing about workspaceSlug, why the flag is nested under body, or whether onboarded can be set back to false.

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?

States a specific verb and target: mark the session's agent as onboarded. The qualifier 'from inside its onboarding conversation' scopes it usefully and separates it from generic siblings like session_update and agent_session_default_update, though it does not name an alternative outright.

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 phrase 'from inside its onboarding conversation' implies the activation context, which is real usage guidance. It stops short of stating when not to use it or which sibling to prefer for other session/agent mutations, so an agent must infer the boundary.

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