Lens

19 tools. 10 can modify or destroy data without limits.

2 destructive tools with no built-in limits. Policy required.

Last updated:

10 can modify or destroy data
9 read-only
19 tools total

Verified server · catalogue entry verified 05/07/2026 · full schemas captured for 19 of 19 tools

How to control Lens ↓

What Lens exposes to your agents

Read (9) Write / Execute (8) Destructive / Financial (2)

What Lens costs in tokens

3,060 tokens of tool definitions, loaded on every request
1.5% of a 200k context window
386 heaviest tool: create_workflow
Critical Risk

The most dangerous Lens tools

10 of Lens's 19 tools can modify, destroy, or commit something on every call — and an agent calls them with no built-in limits.

How to control Lens

PolicyLayer is an MCP gateway — it sits between your AI agents and Lens, and nothing reaches the server without passing your rules. These are the rules we recommend:

Deny destructive operations
{
  "delete_agent_session": {
    "deny_if": [
      {
        "conditions": [],
        "on_deny": "Blocked by default. Requires approval."
      }
    ]
  }
}

Destructive tools should never be available to autonomous agents without human approval.

Rate limit write operations
{
  "create_agent": {
    "limits": [
      {
        "counter": "create_agent_per_hour",
        "window": "hour",
        "max": 30,
        "scope": "grant"
      }
    ]
  }
}

Prevents bulk unintended modifications from agents caught in loops.

Cap read operations
{
  "get_execution_formatted_outputs": {
    "limits": [
      {
        "counter": "get_execution_formatted_outputs_per_minute",
        "window": "minute",
        "max": 60,
        "scope": "grant"
      }
    ]
  }
}

Controls API costs and prevents retry loops from exhausting upstream rate limits.

  1. Create a free account and register Lens — nothing to install.
  2. Add these rules — paste them, or build them visually. Tune the limits to your setup.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
ENFORCE POLICY ON LENS →

Instant setup, no code required.

All 19 Lens tools

Related servers

Other MCP servers with similar tools — same risk classification, starter policies for each.

Questions about Lens

Can an AI agent delete data through the Lens MCP server? +

Yes. The Lens server exposes 2 destructive tools including delete_agent_session, delete_workflow_schedule. These permanently remove resources with no undo. PolicyLayer blocks destructive tools by default so they never reach the upstream server.

How do I prevent bulk modifications through Lens? +

The Lens server has 6 write tools including create_agent, create_workflow, create_workflow_schedule. Set a rate limit in your policy -- for example, 10 calls per hour prevents an agent from making more than 10 modifications per hour. PolicyLayer enforces this at the gateway, before calls reach Lens.

How many tools does the Lens MCP server expose? +

19 tools across 4 categories: Destructive, Execute, Read, Write. 9 are read-only. 10 can modify, create, or delete data.

How do I enforce a policy on Lens? +

Register the Lens MCP server in PolicyLayer, apply the suggested rules above (adjust the limits to your use case), and point your AI client at the PolicyLayer proxy URL instead of the server directly. Your agents keep the same tools; PolicyLayer evaluates every call against policy before it executes. Nothing to install, live in minutes.

Enforce policy on every Lens tool call.

Deterministic rules across all 19 Lens tools. Per-identity grants. Full audit log. Live in minutes. Nothing to install.

Instant setup, no code required.

19 Lens tools catalogued and risk-classified — across an index of 43,000+ MCP servers.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.