Skip to main content
Glama

Open Session

open_session
DestructiveIdempotent

Attach to a live Blender window or start a background session, optionally opening a .blend file, to set up the Blender connection for modeling, inspection, and export.

Instructions

Attach to the live Blender window or start a background one. Returns: the session. WHEN TO CALL: to pick a mode or file; else the first call attaches by BLENDERLENS_MODE.

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

Input Schema

NameRequiredDescriptionDefault
fileNo.blend to open
modeNoauto (default): live if the add-on replies
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 and idempotentHint=true; the description adds the implicit-attach fallback behavior on first call, which is useful context not captured by annotations. However it never states that data loss is possible or that an existing session is replaced, so the destructive profile is left to be inferred from the 'discard' parameter.

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?

Short and front-loaded: the core action comes first, the return value second, and the routing rule last. 'Returns: the session' is thin but not wasteful given there is no output schema, and no sentence is redundant.

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

Completeness3/5

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

With no output schema, the description should clarify what 'the session' actually contains, and it does not. For a three-parameter tool with an implicit-attach fallback and destructive potential, the definition covers the essentials but leaves return shape and replacement semantics unexplained.

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%, so all three parameters including the mode enum and its 'auto (default)' behavior are already documented. The description only gestures at 'mode or file' and mentions the environment-variable default, adding nothing about 'discard' beyond what the schema says.

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 first sentence names a specific verb and resource: attach to the live Blender window, or start a background one, which distinguishes the two modes of this tool. It does not name or contrast any sibling (close_session, open_file), so an agent must infer that boundary from the name alone.

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?

The WHEN TO CALL clause gives a real decision rule: call this when you need to choose a mode or a file, otherwise the first call implicitly attaches per BLENDERLENS_MODE. That is a genuine when-to-use versus when-not-to-use split, but the compressed phrasing and the unexplained environment variable make it harder to parse than it needs to be.

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