Skip to main content
Glama
LensBench MCP

LensBench MCP

Official
by OpticChat

spec_add

Append acceptance specification rows with explicit units to an optical lens design, with optional dry-run preview, so requirements stay recorded alongside the prescription.

Instructions

Append acceptance specification (spec) rows with explicit units. [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": {
      "spec": "<spec>"
    },
    "name": "spec_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
specYes
dry_runNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior3/5

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

With zero annotations, the description carries the full burden, and it does disclose the most critical trait: this operation mutates the design. 'Append' also usefully implies additive rather than destructive semantics. However, it says nothing about persistence, permission requirements, or the fact that a default dry_run=false means the write happens immediately.

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 compact fragments, front-loaded with the action and followed by the mutation flag. No filler, though the brevity comes partly at the cost of the missing dry_run and usage information.

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 mutating tool with no annotations, no output schema, and 0% schema description coverage, the description is too thin. It should at minimum explain the dry_run default and what happens to existing specs on append.

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 coverage is 0%, so the description must compensate for both parameters. It clarifies the shape of `spec` rows and that units must be explicit, which is genuinely useful, but the `dry_run` parameter is never mentioned at all, leaving an agent unaware of the preview path on a mutating tool.

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 (append) and resource (acceptance specification `spec` rows), plus a qualifier that units must be explicit. That is enough for an agent to distinguish it from sibling tools like check, verify, or optimize, though the description never names how it relates to them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance and no named alternative. The bracketed '[Mutates design]' is a warning about side effects, not a routing rule, so the agent must infer context from the tool name alone.

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