Skip to main content
Glama
pavelpikta

lampa-mcp-server

by pavelpikta

component_lifecycle

Analyze a Lampa component's lifecycle in one call: lifecycle methods, event hooks, API usage, storage operations, template references, and settings interactions.

Instructions

Deep-analyse a Lampa component's lifecycle: lifecycle methods (create/render/destroy), event hooks, Lampa APIs used, storage reads/writes, template usages, and settings interactions — all in one call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
componentYesComponent name (e.g. 'episodes', 'bookmarks', 'full') or repo-relative file path (e.g. 'src/components/episodes.js').
Behavior3/5

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

No annotations are provided, so the description bears full burden. While 'Deep-analyse' implies a read-only operation, the description does not explicitly state non-destructiveness, idempotency, or other behavioral traits like rate limits or required permissions.

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?

A single, efficient sentence that front-loads the core purpose and enumerates covered aspects without redundancy or fluff. Every part of the description contributes meaning.

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 the tool's complexity (covers multiple lifecycle aspects) and the absence of output schema and annotations, the description is fairly complete in describing what it does. However, it lacks information about the return format and whether the tool is read-only, which would help the agent anticipate the output.

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 single parameter 'component' has 100% schema coverage with examples in the schema description. The tool description adds no further detail about parameter usage or formats, so it adds minimal value 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 the verb 'Deep-analyse' and the resource 'Lampa component's lifecycle', with a detailed list of analysis areas (lifecycle methods, event hooks, Lampa APIs, storage reads/writes, template usages, settings interactions). This distinguishes it from sibling tools that focus on single aspects.

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 the tool is for comprehensive lifecycle analysis but provides no explicit guidance on when to use it versus alternatives like list_all_events, find_api_calls, or trace_event. No when-not-to-use or prerequisites are mentioned.

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