Skip to main content
Glama

Get a MotionKit piece

get_component
Read-onlyIdempotent

Everything needed to use one piece: when to use it, props, presets, temperament, a usage example, docs link and the right install command for the person's plan. Never returns component source: install it with the command.

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
slugYesPiece slug from search results, e.g. date-picker.

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 declare a safe, idempotent, read-only operation, so the bar is lower; the description still earns credit by adding non-obvious behavior. 'Never returns component source: install it with the command' tells the agent what it will not get and what to do instead, which prevents a wrong follow-up. It stops short of describing output structure or size, but the key behavioral caveat is stated plainly.

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

Conciseness5/5

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

Two sentences, both load-bearing: the first enumerates the returned payload, the second states the negative constraint and the remedy. It is front-loaded and contains no filler.

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 a single required parameter, rich annotations, and no output schema, the description usefully compensates by enumerating what the response contains and explicitly ruling out source code. That is close to complete. It could go further by saying what to do when the slug is unknown or invalid, but nothing critical for a correct call 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 description coverage is 100% and the slug parameter is documented with a concrete example ('date-picker'), so the schema does the work. The description adds no additional meaning about the slug's format, sourcing, or failure behavior, which lands it at the baseline for a fully documented 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 gives a concrete resource and scope: it returns the full usage bundle for a single MotionKit piece (props, presets, usage example, docs link, install command). That is clearly more specific than the title. It does not, however, contrast itself with siblings like search_components or get_guidelines, 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 Guidelines2/5

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

The phrase 'when to use it' describes what the result contains, not when to call this tool. There is no statement of preconditions (e.g. obtain the slug from search_components first) or of when to prefer get_guidelines or recommend_for_page instead. The only usage hint is implicit in the schema's parameter description.

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