Skip to main content
Glama
pavelpikta

lampa-mcp-server

Summarize Lampa repo layout

summarize_repo
Read-onlyIdempotent

Get a compact overview of the Lampa repository with commit metadata, top-level folders, plugins, entrypoints, and npm scripts. Optionally list JS/TS files under a subfolder for quick orientation.

Instructions

Summarize the Lampa snapshot — commit metadata, top-level folders, plugins, entrypoints, and npm scripts — for first-session orientation. Do not use it to read bytes (read_source), search contents (search_code), or list files by name (find_files). Omit subfolder for the compact overview; subfolder='src/components' adds a recursive JS/TS-only listing under that prefix (an empty result is a valid 'no JS/TS files here' answer, not an error) on top of the same overview; unknown folder or missing repo → error; stdio needs LAMPA_REPO_PATH and Worker PAT is transport-only (no extra scopes or rate limits beyond GitHub's).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
subfolderNoRepo-relative prefix whose JS/TS files to list recursively, e.g. 'src/components'. Omit for the compact overview. Unknown folder → error.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
markdownYesHuman-readable markdown report. Always present, including empty-result cases. Does not write files.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.8.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, and non-destructive behavior, and the description goes well beyond them: it discloses that an empty result is valid, unknown folders or missing repos error, and that stdio requires LAMPA_REPO_PATH while the Worker PAT is transport-only. No contradiction exists between the description and 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 dense but every sentence earns its place: purpose, exclusions, parameter behavior, error semantics, and environment requirements. The key scoping information is front-loaded before the technical details.

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?

With an output schema already present, the description need not explain return values. It covers when to use the tool, how to choose between overview and recursive modes, error conditions, environment setup for stdio, and authorization constraints for the Worker PAT. This is complete for the tool's complexity.

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 already documents subfolder with 100% coverage, but the description adds valuable semantics: subfolder produces a recursive JS/TS-only listing on top of the same overview, and an empty result is meaningful rather than an error. This supplements the schema without merely repeating it.

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 uses a specific verb ('Summarize') and resource ('Lampa snapshot'), enumerates what is included (commit metadata, top-level folders, plugins, entrypoints, npm scripts), and states the intended use ('first-session orientation'). It also explicitly distinguishes itself from sibling tools by naming read_source, search_code, and find_files as tools not to use instead.

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?

It gives explicit when-to-use context, names the alternatives to avoid, and explains the conditional subfolder parameter behavior. The guidance about omitting subfolder for the compact overview and adding it for a recursive JS/TS listing leaves no ambiguity about how to invoke the tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.