Skip to main content
Glama
lpm-dev

@lpm-registry/mcp-server

Official
by lpm-dev

lpm_add

Add LPM packages to your project by extracting source files for customization. Use for UI components, blocks, templates, and MCP servers.

Instructions

Add an LPM package to the project by extracting source files for customization. Use for UI components, blocks, templates, and MCP servers. Requires LPM CLI installed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesPackage name in owner.package-name or @lpm.dev/owner.package-name format
versionNoSpecific version to install (defaults to latest)
pathNoTarget directory for installation (e.g., src/components/ui)
aliasNoImport alias prefix for rewriting (e.g., @/components/ui)
targetNoSwift SPM target name (for Swift packages)
forceNoOverwrite existing files without prompting
installDepsNoAuto-install npm dependencies (default: true, set false to skip)
configNoConfig schema params as key-value pairs (e.g., { "styling": "panda" })
Behavior3/5

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

No annotations provided, so description carries full burden. It discloses extraction (file writing) and CLI requirement, but lacks details on side effects like overwriting existing files or dependency modifications.

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?

Two sentences, front-loaded with purpose, no unnecessary words. Efficient and easy to parse.

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

Completeness4/5

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

Adequate for an add tool with 8 parameters and no output schema. Explains general use case and prerequisite, though missing some behavioral context like confirmation prompts (handled by force param in schema).

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 description coverage is 100% with good individual parameter descriptions. The tool description does not add extra meaning beyond the schema, so baseline score of 3 is appropriate.

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?

Clearly states the verb (Add) and resource (LPM package), with 'extracting source files for customization' differentiating it from siblings like lpm_install which is likely a simpler install.

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

Usage Guidelines4/5

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

Explicitly lists use cases (UI components, blocks, templates, MCP servers) and prerequisite (LPM CLI installed). Does not explicitly mention when not to use, but the context is clear.

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/lpm-dev/mcp-server'

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