Skip to main content
Glama
pavelpikta

lampa-mcp-server

Guide to CUB cloud APIs in Lampa

guide_cub
Read-onlyIdempotent

Documents how Lampa talks to CUB from source for REST endpoints, auth, models, sync, and timeline hashing, returning markdown without network calls.

Instructions

Document how Lampa talks to CUB from source — this makes no network calls of its own (pure snapshot read, no auth needed to call this tool), and is not a substitute for cub.rip/developer. Returns markdown text (see output schema), never raw JSON. Unlike list_catalog topic=mirrors/socket, this is CUB-specific. topic=catalog lists REST paths (category/search filter the catalog only, no effect on other topics); endpoint requires path (e.g. bookmarks/dump) and ignores category/search; auth reads auth_focus only (device/add, headers, Permit, Premium, mirrors); models reads model only (bookmark/timeline/favorite shapes); sync takes no parameters and maps dump/changelog/WebSocket; timeline_hash reads example only and explains Utils.hash. Passing any parameter that does not apply to the chosen topic is silently ignored, never an error.

Input Schema

NameRequiredDescriptionDefault
pathNoFor topic=endpoint: path such as 'bookmarks/dump' or 'device/add'.
modelNoFor topic=models: which schema. Default all.
topicYescatalog=endpoint table; endpoint=one path; auth=login/headers; models=schemas; sync=dump/changelog; timeline_hash=hash algorithm.
searchNoFor topic=catalog: filter by path substring.
exampleNoFor topic=timeline_hash: worked example.
categoryNoFor topic=catalog: filter by API category. Default all.
auth_focusNoFor topic=auth: focus area. Default overview.

Output 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

A5/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, but the description adds material behavior the annotations cannot express: no network calls of its own, pure snapshot read, no auth required to invoke, and markdown rather than raw JSON output. These are real operational facts an agent needs and none contradict the hints.

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?

One dense but well-ordered paragraph: identity/scope first, then the non-substitute warning, then a topic-by-topic parameter map. Every clause carries routing or semantics information; nothing is filler.

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 7 parameters, 5 enums, a required topic, and an output schema already in place, the description covers the remaining risk area — which params apply to which topic and what happens when they don't — and confirms the return format. Nothing material is left to inference.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description goes further by defining the cross-parameter applicability matrix per topic (e.g. `endpoint` requires `path` and ignores `category`/`search`), which the flat schema cannot express. Example values like `bookmarks/dump` reinforce the format.

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?

Opens with a specific verb+resource ('Document how Lampa talks to CUB from source') and immediately scopes what it is not (a substitute for cub.rip/developer). It also distinguishes itself from the sibling tool `list_catalog` topic=mirrors/socket, so an agent can route correctly without opening schemas.

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?

The description enumerates each `topic` value and states exactly which parameters it honors (catalog→category/search, endpoint→path, auth→auth_focus, models→model, sync→none, timeline_hash→example). It even states the failure-tolerance rule ('silently ignored, never an error'), which is explicit when/when-not guidance.

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