Skip to main content
Glama
pavelpikta

lampa-mcp-server

by pavelpikta

list_templates

List all Lampa UI templates or read a specific template's source to examine its HTML structure and data bindings.

Instructions

List all Lampa UI templates in src/templates/. Optionally read a specific template's source to understand its HTML structure and data bindings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoTemplate name or partial name to read, e.g. 'card', 'modal', 'player', 'settings'. Omit to list all templates.
Behavior3/5

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

No annotations are provided, so the description carries full burden. It describes the tool as listing/reading templates, implying read-only behavior, but does not explicitly state that no modifications occur or mention permissions. Adequate but lacks explicit behavioral disclosure.

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 clear sentences with no unnecessary words. The information is front-loaded and every sentence adds value. Highly concise.

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?

Given a single optional parameter and no output schema, the description covers the core functionality. It could mention the output format (e.g., list of names or file contents) for completeness, but overall it is adequate 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?

The input schema describes the 'name' parameter with 100% coverage. The description adds value by specifying the directory (src/templates/) and explaining that omitting the parameter lists all templates. This enhances understanding beyond the schema alone.

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 lists Lampa UI templates in a specific directory, and optionally reads a specific template's source. The verb 'list' and resource 'Lampa UI templates' are precise, and the scope (src/templates/) distinguishes it from generic file listing tools.

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 indicates the optional parameter usage for reading a specific template, but does not provide explicit guidance on when to use this tool instead of siblings like find_files or doc_lookup. Usage is implied but not explicitly contrasted.

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/pavelpikta/lampa-mcp-server'

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