Skip to main content
Glama
LensBench MCP

LensBench MCP

Official
by OpticChat

new

Create a lens design from a singlet, cooke, or blank template and open it for editing.

Instructions

Create a new lens design from a template (singlet, cooke, blank) and open it. [Mutates design]

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

Input Schema

NameRequiredDescriptionDefault
pathYes
templateNosinglet

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; the '[Mutates design]' tag is the main contribution and does disclose state change plus the 'open it' side effect. Critical behavior is still undisclosed: whether writing to the required 'path' overwrites an existing file, and whether current unsaved work is discarded. For a mutation tool with zero annotation coverage, that is a meaningful gap.

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?

Two short clauses with the verb and the mutation warning front-loaded; nothing is padded. The bracketed mutation tag is an efficient convention, though it sits after the main sentence rather than leading.

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?

No annotations and no output schema mean the description is the only behavioral source, yet it omits the meaning of the required 'path' parameter and any overwrite or naming-conflict behavior. For a two-parameter mutating tool this leaves an agent guessing on the one required input.

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?

With 0% schema description coverage, the description must compensate. It fully covers the template parameter by naming all three enum values, which is genuinely useful, but the required 'path' parameter is never explained — an agent cannot tell whether it is a file path to write, a directory, or a design identifier.

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 description gives a specific verb and resource ('Create a new lens design from a template') and names the open action that follows. The enumerated templates (singlet, cooke, blank) pin down the source of the design. It stops short of explicitly distinguishing itself from template-free entry points like import_zmx, leaving sibling differentiation partly inferred.

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?

Using this tool is implied by 'from a template' — an agent can infer it is the from-scratch constructor rather than a file importer. However, there is no explicit when-to-use/when-not statement, no mention of create-vs-import as a choice, and no note on whether an existing design must be closed first.

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