Skip to main content
Glama

Layro

Install Layro components

get_installation
Read-onlyIdempotent

Installation for one or more components: the one-time @layro registry setup for components.json, the shadcn CLI command (always @layro/, never a bare URL), a ready-to-run agent command with a 15-minute install token when this connection carries a CLI token, the npm packages still missing (pass installed_packages from package.json), the files and where they go, and the theme setup.

Input Schema

NameRequiredDescriptionDefault
modeNoDefault "cli": the shadcn CLI install, packages and files. "manual" or "both" adds copy-by-hand steps, for when you cannot run the CLI.
slugsYesOne or more component slugs.
package_managerNoDefault npm.
installed_packagesNonpm packages the project already has (from package.json), so they are not suggested again.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, closed-world behavior, yet the description adds real value beyond them: the registry setup is one-time, the CLI command is always @layro/<slug> and never a bare URL, and the agent command carries a 15-minute install token gated on the connection having a CLI token. It also explains that installed_packages suppresses already-present packages. It stops short of stating auth requirements for the tool itself or behavior on invalid slugs.

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

Conciseness3/5

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

It is front-loaded with a clear lead-in ('Installation for one or more components:'), but the entire description is a single sprawling sentence built from a long comma-separated list. Every clause carries information, yet the run-on structure makes it harder to parse than a short structured list would be.

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?

With no output schema, the description correctly assumes the burden of describing the return contents, and it does so comprehensively (registry, CLI command, agent command, packages, files, theme). Minor gaps remain: no statement about error behavior for unknown slugs or whether output differs by mode beyond what the schema says.

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 coverage is 100%, so the schema already documents all four parameters, including the meaning and provenance of installed_packages and the mode enum semantics. The description reinforces the slug format constraint ('always @layro/<slug>') and the package.json origin of installed_packages, but adds little beyond what the schema already states, so the baseline 3 applies.

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?

The description clearly identifies the resource (installation setup for one or more components) and enumerates the concrete artifacts it produces: registry setup, shadcn CLI command, agent command, missing npm packages, files, and theme setup. It does not, however, explicitly differentiate itself from siblings like get_component_code or get_recipe, so an agent must infer the boundary.

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?

Usage is only implied. The description includes operative hints such as 'pass installed_packages from package.json' and 'when this connection carries a CLI token,' but these describe output conditions rather than when to choose this tool over alternatives. No explicit when-not or sibling routing is given.

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