Skip to main content
Glama

MotionSites

fetch_blocks

Get download URLs for blocks that ship real component code (hasCode=true). Requires an API key from https://motionsites.dev (Authorization: Bearer sk-ryai-...).

Returns one signed URL per file plus the dependency list. The code never enters your context — download each file straight to its destination: curl -fsSL '' -o components/Hero.tsx

Do NOT read the files back afterwards. They are already correct on disk, and a single component runs ~10,000 characters. Read one only if a build actually fails.

URLs expire in 15 minutes. Batch a whole page in one call.

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

Input Schema

NameRequiredDescriptionDefault
slugsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses the API-key/Bearer auth requirement, the return shape (one signed URL per file plus dependency list), the 15-minute URL expiry, and the important behavioral trait that code never enters context. These are exactly the traits an agent cannot infer from the schema.

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?

Front-loaded with purpose, then auth, return shape, and operational instructions in a logical order, with a concrete curl example. Some sentences (the do-not-read-back rationale) are longer than strictly needed but each carries actionable information.

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?

For a one-parameter tool with no output schema, the description covers everything needed to invoke and handle results correctly: auth, return contents, URL lifetime, download procedure, and batching limits.

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 0% for the single 'slugs' array parameter, so the description must compensate. 'Batch a whole page in one call' hints that multiple block identifiers can be passed, but it never defines what a slug is or that the array is capped at 12 items.

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 specific verb and resource — 'Get download URLs for blocks' — and narrows scope with 'that ship real component code (hasCode=true)'. It does not explicitly distinguish itself from the siblings (get_scaffold, search_prompts), but the resource and filter are unambiguous enough for an agent to select it.

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 concrete usage guidance: download files straight to disk with curl, don't read them back, read only on build failure, and batch a whole page in one call. It lacks explicit when-to-use-vs-siblings routing, which keeps it below a 5.

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