Skip to main content
Glama
LensBench MCP

LensBench MCP

Official
by OpticChat

open

Load a .lens file or design folder as the active LensBench session for editing and analysis.

Instructions

Open a .lens file or design folder as the active session.

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": {
      "path": "<path>"
    },
    "name": "open"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It does not say whether opening replaces or closes the current session, what happens on an invalid/missing path, whether the operation is reversible, or whether additional permissions or companion files are needed. 'Active session' hints at state change but the consequences are undisclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with the verb, accepted input types, and resulting state; no redundant or filler wording.

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?

For a simple one-parameter entry-point tool with no output schema this is close to sufficient, but the session-replacement behavior and failure modes for a bad path are the main things an agent would need before calling it and they are absent.

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 0% (the single 'path' parameter is an undescribed string), so the description must compensate. It does add real meaning: the path accepts either a .lens file or a design folder, not an arbitrary string. It still gives no format details, relative-vs-absolute path expectations, or error behavior.

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 ('Open') plus the accepted resources ('.lens file or design folder') and the effect ('as the active session'), which is enough to separate it from 'new' or the import/export siblings. It does not explicitly name a sibling, so it stops short of a 5.

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?

Opening versus creating is implied by 'open' and the mention of existing .lens files/folders, but there is no explicit when-to-use or when-not guidance, and no pointer to 'new' when the user has no existing file. Adequate but inference is required.

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