Skip to main content
Glama

agent_session_default_update

Destructive

Point an agent's default session alias at a session, or at nothing

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>",
      "agentSlug": "<agentSlug>",
      "body": "<body>"
    },
    "name": "agent_session_default_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
agentSlugYes
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 destructiveHint=true and readOnlyHint=false, so the safety profile is known. The description adds useful context that the alias can be set to 'nothing', revealing that null is a valid clearing operation rather than an error. It does not say what happens to the previously pointed-to alias, whether the session must exist, or whether the call is idempotent.

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 short sentence with the core operation front-loaded and no filler. It is efficient, though its extreme brevity borders on under-specification for a destructive mutation tool rather than being a model of structured guidance.

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 destructive mutation with no output schema, a nested body parameter, and zero schema documentation, the definition is thin. An agent gets no guidance on overwrite semantics, error conditions, or what the previous default becomes, which are exactly the details needed to call a destructive setter safely.

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% with three required parameters, including a nested body object, so the description carries the full burden. It only indirectly illuminates body.sessionId via 'or at nothing'; workspaceSlug, agentSlug, and the body wrapper are left entirely to inference from their names.

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 resource: 'Point an agent's default session alias at a session'. The trailing 'or at nothing' signals the clearing case, which is a real distinguishing behavior. It doesn't name siblings like agent_default_update or agent_session_default_get, so it doesn't fully route the agent, but the operation itself is unambiguous.

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 only implied by the verb 'point ... at' and by 'or at nothing', which suggests the null-clearing scenario without spelling it out. There is no explicit when-to-use versus when-not, no mention of prerequisites (e.g. agent or session must already exist), and no named alternative among the many sibling update tools.

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