Skip to main content
Glama

Install a component

install_component
Read-onlyIdempotent

Needs a subscription, except for the free foundation components. Adds one React Native component to an existing Expo project: the files it and its dependencies need in install order with exact target paths, the single expo install line, the providers it needs and its runtime rules. A backend recipe's id, such as "supabase", adds that integration: its files and the per-app wiring an export writes.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "slug": "<slug>"
    },
    "name": "install_component"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYese.g. "button", or a recipe id such as "supabase"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / slug / description
      Previous value: -"e.g. \"button\" or \"bottom-sheet\""New value: +"e.g. \"button\", or a recipe id such as \"supabase\""
  2. Changed1 schema field changed
    • changedInput schema / properties / slug / description
      Previous value: -"the component slug, e.g. \"button\" or \"bottom-sheet\""New value: +"e.g. \"button\" or \"bottom-sheet\""
  3. First observed

TDQS

A3.8/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 behavior, so the bar is lower; the description still adds valuable context the annotations lack, namely the subscription gating and the exact shape of the guidance returned (install order, target paths, provider list, runtime rules). The one wobble is that "Adds ... to an existing Expo project" could be misread as performing writes, though the rest of the sentence makes clear it emits files and an install line.

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?

Two dense sentences, with the access constraint front-loaded before the capability, so a reader hits the gating condition first. The second sentence is clause-heavy (files, order, paths, install line, providers, runtime rules) and could be a short list, but 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 no output schema, the description carries the return-value burden and does so explicitly, enumerating the files, install order, target paths, install line, providers, and runtime rules. Combined with annotations covering the safety profile and a fully documented single parameter, an agent has enough to select and call it correctly.

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% and the single parameter already carries the example "button" or a recipe id such as "supabase", so the baseline is 3. The description's only addition is what a recipe id buys you (its files plus per-app wiring written at export), which is a marginal semantic gain over 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 uses a specific verb and resource ("Adds one React Native component to an existing Expo project") and spells out the payload: dependency files in install order with exact target paths, the expo install line, required providers, and runtime rules. It is clear what the tool produces, but it never names a sibling (find_component, get_component, update_components) to differentiate against, so an agent must infer boundaries.

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?

It states a real eligibility condition ("Needs a subscription, except for the free foundation components") and implicitly scopes use to adding a component into an existing Expo project or pulling a backend recipe such as "supabase". It gives no explicit when-not guidance and does not say how this differs from find_component or get_component, leaving alternative selection 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.