Skip to main content
Glama

Layro

Install Layro components

get_installation
Read-onlyIdempotent

Installation for one or more components: the shadcn CLI command, the npm packages still missing (pass installed_packages from package.json), the files and where they go, and the theme setup.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
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.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety profile is covered. The description adds meaningful behavior beyond that: it enumerates the returned content (CLI command, files and destinations, theme setup) and explains that installed_packages is used to suppress already-present dependencies — valuable since no output schema exists.

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?

A single efficient sentence with zero filler, front-loading the scope ('one or more components') before the enumerated outputs. It reads as an output list rather than an action statement, but nothing is wasted.

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 carries the burden of describing returns and does so by naming the four content groups. For a read-only, closed-world lookup with a fully documented schema, nothing essential is missing, though return shape/formatting details are still absent.

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%, so the schema already documents slugs, package_manager, and installed_packages (including the package.json provenance and de-duplication rationale). The description largely restates that, adding no syntax or format detail beyond the schema.

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 states what the tool returns for one or more components: the shadcn CLI command, missing npm packages, target files, and theme setup. It is a noun-phrase enumeration rather than a verb+resource statement, and it does not differentiate itself from siblings like get_component_code, which also returns code artifacts.

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 implied rather than stated: the parenthetical 'pass installed_packages from package.json' is a concrete invocation hint, and 'npm packages still missing' signals this is for post-selection install setup. No when-not-use condition or named alternative 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.