Skip to main content
Glama
devAndreotti

lenis-mcp-server

by devAndreotti

Optimize Lenis Performance

lenis_optimize_performance
Read-onlyIdempotent

Analyze your Lenis smooth scroll setup and receive prioritized optimization recommendations with code examples to reduce jank, improve FPS, and optimize for mobile devices.

Instructions

Provides performance optimization recommendations for Lenis smooth scroll setups.

Analyzes the described setup and returns targeted tips for reducing jank, improving fps, and optimizing for mobile devices.

Args:

  • setup_description (string): Description of current Lenis setup

  • target_fps (number): Target frames per second (default: 60)

  • mobile_optimized (boolean): Include mobile-specific tips (default: true)

Returns: Prioritized list of optimization recommendations with code examples.

Examples:

  • "React app with 50 GSAP animations and parallax" → heavy animation tips

  • "Simple landing page with smooth scroll" → lightweight optimizations

  • "E-commerce site with lazy loaded images" → scroll-aware loading tips

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
target_fpsNoTarget frames per second
mobile_optimizedNoWhether to include mobile-specific optimizations
setup_descriptionYesDescription of current Lenis setup (e.g., 'React app with 50 GSAP animations and parallax')
Behavior4/5

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

Annotations already indicate readOnlyHint, idempotentHint, and destructiveHint. The description adds valuable context about the return format (prioritized list with code examples) and input examples, which exceeds the annotation coverage without contradictions.

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?

The description is concise and well-structured: a single sentence summary followed by Args, Returns, and Examples sections. Every part adds value, and the most important information is front-loaded.

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

Completeness5/5

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

Given the 3 parameters with full schema coverage, annotations, and no output schema, the description fully explains the tool's behavior, inputs, and output format (prioritized list with code examples). Examples illustrate typical use cases, making it complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with descriptions for all parameters. The description adds examples for setup_description (e.g., 'React app with 50 GSAP animations') and clarifies the default values and return structure, providing extra meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it provides performance optimization recommendations for Lenis setups, with specific verb 'provides' and resource 'performance optimization recommendations'. It distinguishes from sibling tools like debugging or setup generation by focusing solely on optimization.

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?

The description implies usage for performance optimization but does not explicitly state when to use this tool versus alternative sibling tools (e.g., debug vs. optimize). No when-not guidance is provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/devAndreotti/lenis-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server