Skip to main content
Glama
lpm-dev

@lpm-registry/mcp-server

Official
by lpm-dev

lpm_browse_source

Browse LPM package source code remotely to evaluate or check capabilities without installing it.

Instructions

LAST RESORT: Browse source code of an LPM package remotely. Only use this when you cannot install the package (e.g., evaluating before purchase, checking capabilities without access). If you can install the package, prefer lpm_add or lpm_install first, then read the local files directly — it is faster.

Requires authentication. Pool packages require Pool subscription, marketplace packages require a license.

If you must use this tool: fetch directory paths (e.g., "src") to get multiple files in one request rather than individual files.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesPackage name in owner.package-name or @lpm.dev/owner.package-name format
versionNoSpecific version to browse (defaults to latest)
pathNoFile or directory path to browse (e.g., "src/index.js" or "src"). Omit to get file tree only. Pass empty string "" to get ALL source files at once.
Behavior5/5

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

No annotations are provided, so the description bears full responsibility. It discloses authentication requirements, subscription/license dependencies for different package types, and advises on minimizing requests. No contradictions with annotations.

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. It opens with a bold 'LAST RESORT' emphasis, then presents conditions, authentication details, and a usage tip. Every sentence adds value without redundancy.

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 no output schema and moderate complexity, the description covers purpose, usage conditions, authentication, and optimization. It is sufficiently complete for an agent to use the tool correctly.

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 description coverage is 100% and the description adds strategic context (e.g., using empty string for all files) that the schema lacks. However, the param descriptions in the schema already explain the fields adequately.

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 explicitly states the tool's purpose: browsing source code of an LPM package remotely, and emphasizes it is a 'last resort' when installation is not possible. It clearly distinguishes from siblings like lpm_add and lpm_install.

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

Usage Guidelines5/5

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

The description provides clear when-to-use guidance ('only use this when you cannot install the package') and specifies alternatives ('prefer lpm_add or lpm_install'). It also offers tips for efficient usage (fetch directory paths).

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