Skip to main content
Glama
pavelpikta

lampa-mcp-server

by pavelpikta

get_core_module

Read a Lampa core module using its name (e.g., 'lang', 'storage') or list all available core modules when no name is provided.

Instructions

Read a Lampa core module from src/core/. Core modules implement the fundamental Lampa APIs (storage, lang, player, api, component, etc.). Lists all available modules when no name is given.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoModule name, e.g. 'lang', 'storage', 'player', 'api', 'component'. Omit to list all.
max_linesNoMax lines to return. Default: 250.
Behavior3/5

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

No annotations provided, so description must convey behavior. It states read-only action and basic behavior (list if no name). Lacks details on side effects, permissions, error handling, or return format. Adequate for a simple read tool but could be more transparent.

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 concise sentences. First sentence covers purpose and context, second adds listing behavior. No wasted words, well-structured.

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

Completeness2/5

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

Tool has no output schema, so description should explain return format. It only says 'read' or 'lists all', but not what the output contains (e.g., source code string, list of names). Missing critical information for a complete understanding.

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?

Both parameters have schema descriptions, but the description adds value: explains 'name' examples and that omitting lists all, and 'max_lines' has default noted in schema. This provides context beyond the schema definitions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states verb 'read' and resource 'core module' with location 'src/core/'. It also notes that core modules implement fundamental Lampa APIs. However, it does not explicitly differentiate from sibling tool 'list_modules' which may perform a similar listing function.

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?

Implies usage: read a named core module, or list all when name omitted. Mentions what core modules are used for. No explicit when-not or alternatives to sibling tools, leaving some ambiguity about which tool to use for listing modules.

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