Skip to main content
Glama

Motion Brew

Get component

get_component
Read-only

Everything needed to add one component, fast: one shell command that installs its npm packages and downloads it as a single self contained .tsx file (animated icons and the cn() helper inside), plus a usage example and the props. Run the command rather than writing the file out. Pass files "single" only if you cannot run shell commands.

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": "get_component"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesComponent slug, e.g. "sidebar-nav"
filesNo"none" (default) gives a command that downloads the file; "single" includes the file's contents, for agents without a shellnone

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only say readOnlyHint=true/openWorldHint=false; the description goes further by disclosing that the command installs npm packages, downloads a single self-contained file, and bundles animated icons and the cn() helper. It does not mention any auth, rate limits, or failure modes for the download.

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?

Three sentences, front-loaded with the outcome, then the imperative instruction, then the parameter caveat. 'Everything needed... fast' is slightly promotional but does not obscure the content.

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 still tells the agent precisely what to expect back (a shell command, a .tsx file with contents, a usage example, props) and how to consume it. Nothing essential for correct invocation 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 coverage is 100% and both parameters are documented there, so the schema carries the load. The description adds only the rationale for files="single" ('only if you cannot run shell commands'), which largely restates the schema's own wording; slug is not discussed at all.

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?

States a concrete verb+resource — fetch one component with its install command, self-contained .tsx file, usage example and props — so the agent knows exactly what comes back. It implicitly contrasts with list_components/search_components by emphasizing 'one component,' but never names an alternative explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear operational guidance: run the returned command instead of writing the file out, and use files="single" only when shell execution is impossible. It stops short of saying when to prefer this over get_install_plan or get_setup, which is the remaining gap.

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.