Skip to main content
Glama

Close Session

close_session
DestructiveIdempotent

Disconnect from a Blender session: background Blender exits while live Blender stays open; use when work is saved, or allow discard for unsaved or busy work.

Instructions

Disconnect: a background Blender exits, a live one stays open. Returns: the mode closed. WHEN TO CALL: when the work is saved.

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": "close_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
discardNoAllow losing unsaved or busy work

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is carried structurally. The description adds real value by explaining the mode-dependent outcome (background exits, live stays open) and the returned mode value. It does not say what happens to unsaved work when discard is false, which is the critical unknown for a destructive tool.

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?

Three short labeled clauses (behavior, return, when-to-call) with zero filler and the key constraint front-loaded. The phrasing is telegraphic — 'the mode closed' is slightly cryptic — but nothing is wasted.

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?

For a one-parameter tool with no output schema, the description covers behavior, return value, and the call precondition adequately. The remaining gap is the consequence of discard=false, which an agent would want stated explicitly for a destructive call.

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 coverage is 100% and the discard parameter is documented in the schema as 'Allow losing unsaved or busy work'. The description only implies the parameter via the 'work is saved' precondition, adding no explicit meaning beyond the schema. Baseline 3 applies.

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 (close/disconnect) and the mode-dependent behavior: background Blender exits, live one stays open. This is meaningfully more than the name restated, though the description does not explicitly name open_session as the counterpart.

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?

Explicit call condition: 'WHEN TO CALL: when the work is saved.' This gives a clear safety precondition for a destructive operation. It stops short of stating when not to call, though the discard parameter and 'work is saved' framing imply it.

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