Skip to main content
Glama

Get Component Implementation

get_component_implementation

Returns an entitled component for the target: react-nextjs gets its verified React source inline (the copy counts when returned); astro and static-html get the exact HTML as a single-use download that counts only when downloaded (React with html_alternative for a component without HTML). Unavailable formats fail without a copy charge. When the component has Velox demo images or videos, media lists them with a download command. prepare_item_install returns the same together with the website-building guide.

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_implementation"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYes
targetNoreact-nextjs

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 only declare this is non-readonly and non-destructive; the description adds the consequential detail that inline returns consume a copy, downloads consume a copy only when actually downloaded, downloads are single-use, and unavailable formats fail without charge. That is genuine side-effect disclosure an agent could not infer from the annotations. It does not describe entitlement failure modes beyond "fail" or how download commands are shaped.

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?

The purpose is front-loaded in the opening clause and most clauses carry real information, but the paragraph is dense with nested parentheticals and billing shorthand ("the copy counts when returned") that slows parsing. It reads as one long run-on rather than a structured set of usage points.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and 0% schema coverage, the description must cover response shape and parameter meaning itself. It does cover billing behavior, format fallbacks, media listings, and the sibling relationship, but omits what the returned payload looks like (inline vs. download command structure) and leaves the required slug unexplained, so an agent still has gaps before a confident call.

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 0%, so the description must carry parameter meaning. It does explain the consequences of each target enum value (inline vs. download, HTML fallback), which is meaningful added semantics. The required slug parameter is never explained — no hint that it identifies a component or where to obtain one from list_components/search_library — leaving half the parameters undocumented.

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 names a specific action and resource (returning component source/HTML for a slug and target) and enumerates what each target yields, which lets an agent distinguish it from prepare_item_install. The lead phrase "Returns an entitled component" is murky — "entitled" reads as licensing jargon rather than a plain statement of what the tool retrieves — so it is clear but not crisp.

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?

It gives real selection guidance for the target parameter (react-nextjs for inline verified React, astro/static-html for HTML download) and names the fallback when a component lacks HTML. It also positions prepare_item_install as the superset that adds the website-building guide, which is a usable routing cue. It stops short of stating an explicit "use this when…" condition or when to prefer get_component instead.

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