Skip to main content
Glama
pavelpikta

lampa-mcp-server

by pavelpikta

extract_template_html

Extract HTML markup from Lampa template files to reveal structure, CSS classes, data bindings, and attributes for UI analysis without running the app.

Instructions

Extract the actual HTML markup from Lampa template files (src/templates/*.js). Shows template structure, CSS classes, data-binding placeholders, and data attributes. Useful for understanding UI structure without running the app.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesTemplate name to find, e.g. 'card', 'modal', 'player', 'settings'. Matches by filename.
Behavior3/5

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

No annotations are provided, so the description carries the burden. It correctly implies a read-only operation but does not disclose any potential behaviors like file scope, limitations, or output format. It is adequate but not detailed.

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?

Three sentences packed with information, no fluff, front-loaded with the main action. Perfectly 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?

For a simple tool with one parameter, no annotations, and no output schema, the description covers the purpose and what the output reveals. It could mention the output format (HTML string), but overall complete.

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?

The schema fully describes the single parameter 'name' with examples. The tool description adds context about file location but does not add new semantics beyond the schema. Baseline 3 due to high schema coverage.

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 the verb 'extract' and the resource 'HTML markup from Lampa template files'. It lists what it shows (structure, CSS classes, placeholders, data attributes) and its utility, distinguishing it from siblings like 'list_templates'.

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?

The description indicates when to use ('understanding UI structure without running the app') but does not explicitly state when not to use or provide alternative tools. However, the context of sibling tools implies differentiation.

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