Skip to main content
Glama

Get a motion component

get_component
Read-only

One component's source files, its props (JSON Schema) and how to play it in a web page, React, Remotion or HyperFrames. name is what search_components gives as name with its package (moga/motion/title-card, stat-tile), or its install URL.

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

Input Schema

NameRequiredDescriptionDefault
nameYesmoga/motion/title-card, @moga/stat-tile, or the install URL

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 already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds behavior beyond that by describing the shape of the payload (source files, props JSON Schema, multi-framework usage snippets), which matters because there is no output schema. It omits any note on payload size or failure behavior for an unknown name.

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 return contents front-loaded before the parameter guidance, and no filler. The second sentence is slightly compressed ('name is what search_components gives as name with its package') but still parses correctly.

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 one required parameter and no output schema, the description covers the two things an agent needs: what it gets back and how to form the identifier. Nothing essential is missing, though a hint about what happens when the name is unknown would close the remaining gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single parameter is already documented, so the baseline would be 3. The description earns above baseline by giving the provenance of the value (search_components output) and concrete accepted forms, including the install-URL alternative.

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 the specific resource (one component) and enumerates exactly what comes back: source files, props as JSON Schema, and play instructions for web, React, Remotion and HyperFrames. That is far more informative than 'get a component', though it doesn't explicitly contrast itself with search_components beyond naming it as the source of the identifier.

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 tells the agent where the `name` value must come from (the `name` field returned by search_components, with package prefix, or the install URL), which is the key usage precondition for a lookup tool. It doesn't state any when-not-to-use case, but for a pure single-item fetch there is little to exclude.

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.