Skip to main content
Glama

Analyze repo stack

lavela.analyze_stack
Read-only

Inspect a GitHub repo — framework, language, package manager, database/email use — and lavela, the lane that runs it (hosting = a web frontend, compute = an app with its own server) with a one-line why. Call it before lavela.launch_saas. Private repos work after lavela.connect_github. Free, read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
branchNoExplicit branch, overriding any /tree/<branch> suffix on githubUrl. Use this (not URL concatenation) for branch names containing "/" (e.g. "feature/x") — the URL's /tree/ suffix can't represent a slash-containing branch.
subdirNoSubdirectory to analyze (monorepos) — package.json + config probes run under it.
githubUrlYeshttps://github.com/<owner>/<repo>[/tree/<branch>]

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safe-read profile is covered; the description reinforces with 'Free, read-only' and adds the private-repo auth dependency on connect_github. It also sketches the return concept (lane + why). Useful added context, though it stops short of describing scope limits or analysis depth.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the verb and target, and the sequencing/private-repo facts are packed efficiently. Slightly dense with parenthetical lane definitions, but no sentence is wasted.

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 no output schema, the description carries the burden of describing returns and does so concretely (framework, language, package manager, database/email, lane, one-line why), plus the call-ordering and auth prerequisites. Nothing an agent needs to call it correctly is missing.

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?

Schema description coverage is 100%, with branch and subdir already richly documented (slash-containing branch caveat, monorepo probes). The description adds no parameter meaning beyond the schema, so the baseline 3 is appropriate.

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?

States a specific verb ('Inspect a GitHub repo') and enumerates exactly what it detects: framework, language, package manager, database/email use, plus the `lavela` lane with a one-line `why`. This is clearly distinguishable from siblings like provision_* or launch_saas, which act on the repo rather than analyzing it.

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?

Explicitly routes usage with 'Call it before lavela.launch_saas' and gives a precondition for private repos ('work after lavela.connect_github'). Both the when-to-use and the prerequisite are stated, leaving nothing to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources