Skip to main content
Glama

MotionSites

get_prompt

Fetch one prompt body, for blocks that ship no prebuilt code. Requires an API key from https://motionsites.dev (Authorization: Bearer sk-ryai-...).

Call this one slug at a time as you build each block. A body averages ~8,000 characters, so fetching several up front just fills context while they wait.

Blocks where search_prompts returned hasCode=true are REJECTED here — use fetch_blocks for those, it keeps their code out of context entirely.

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

Input Schema

NameRequiredDescriptionDefault
slugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/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 well: it discloses the auth requirement and exact header format, the rejection behavior for hasCode=true slugs, and the typical payload size with its context cost. It falls short of 5 because it never says what the returned body looks like, whether truncated, or how rejection surfaces (error vs empty).

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, then the batching rationale, then the exclusion rule — a sensible order with no filler sentences. Minor redundancy between 'one slug at a time as you build each block' and the following sentence's context-filling explanation, which restates the same constraint.

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?

For a single-parameter read tool with no annotations and no output schema, the description covers auth, size, batching strategy, and the key failure mode — nearly everything needed to call it correctly. The remaining gap is return-shape expectations, since no output schema exists to offload that.

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 0% and the lone 'slug' property has no description, so the description must compensate. It does: the slug is implicitly tied to a block, fetching is constrained to one slug per call, and a slug can be invalid on this tool if search_prompts reported hasCode=true. A concrete example of a slug format is the main thing missing.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Fetch one prompt body') plus the scope that distinguishes it: blocks that ship no prebuilt code. It also explicitly names the sibling path for the excluded case (fetch_blocks) and implies the search_prompts relationship, so an agent can route without opening a schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use ('one slug at a time as you build each block'), explicit when-not-to-use ('Blocks where search_prompts returned hasCode=true are REJECTED here'), and names the alternative tool to use instead. The batching warning is backed by a reason (~8,000 chars per body), not just an assertion.

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