Tools and Workflow

Complete reference for the four LottieFiles MCP workbench tools, plus resources, prompts, example usage, and rate limits.

The LottieFiles MCP server exposes a compact GraphQL workbench: four tools that let your assistant discover the LottieFiles GraphQL schema and execute operations against it. Schema discovery runs against a cached snapshot, so browsing is fast and never touches your data — only graphql_execute reaches the live API.

The Four Tools

ToolWhat it doesAccess
operations_listBrowse the GraphQL root operations, filtered by kind, category, or riskRead-only
schema_searchSearch operations, types, fields, enums, and inputs by keywordRead-only
schema_detailsGet full detail for one named operation or type — arguments, input shapes, enum valuesRead-only
graphql_executeRun a complete GraphQL query or mutation against LottieFilesRead/write

operations_list

Lists GraphQL root operations from the schema catalog. Use it first to get an inventory of what the API can do.

ParameterTypeDescription
kindQUERY | MUTATION | SUBSCRIPTIONFilter by operation kind
categorystringFilter by category (see the lottiefiles-schema://categories resource)
querystringFilter names and descriptions by keyword
riskread | write | destructive | billing | adminFilter by risk classification
limitnumberPage size, 1–100 (default 25)
cursorstringPagination cursor from a previous call

Searches the whole cached schema — operations, types, fields, enums, and input objects. An empty query returns a paginated inventory.

ParameterTypeDescription
querystringSearch text (default "")
kindQUERY | MUTATION | SUBSCRIPTION | TYPE | FIELD | ENUM | INPUTRestrict the result kind
detail_levelname | summary | fullSet how much detail each result includes (default summary)
limitnumberPage size, 1–100 (default 10)
cursorstringPagination cursor from a previous call

schema_details

Returns exact details for one operation, type, input, or enum by name: full GraphQL type strings, arguments, nested input shapes, enum values, and pagination hints. Use it before writing a query so arguments and selections are correct on the first try.

ParameterTypeDescription
namestring (required)Operation or type name
include_fieldsbooleanInclude field lists (default true)
include_input_fieldsbooleanInclude input object shapes (default true)
include_enum_valuesbooleanInclude enum values (default true)

graphql_execute

Executes a complete GraphQL document against the LottieFiles API with your account's permissions.

ParameterTypeDescription
querystring (required)A complete GraphQL query or mutation document
variablesobjectValues for the document's variables
operation_namestringThe operation to run when the document contains several
Mutations are real

graphql_execute can run mutations that create, modify, or delete data in your account. Assistants confirm before destructive operations, but review what your assistant proposes to run — especially anything operations_list flags as destructive, billing, or admin.

Every execution is guarded: queries are capped at depth 10, responses at 1 MB, and upstream calls at 30 seconds. Subscriptions are rejected — this transport doesn't support them.

Use the tools in sequence:

operations_list  →  schema_search  →  schema_details  →  graphql_execute
   (survey)          (narrow down)      (get it exact)       (run it)

Most MCP clients let the assistant drive this on its own — you ask in plain language, and it works through the chain.

Example Prompts

List the projects in my LottieFiles workspace and how many animations each contains.

Find the GraphQL operations related to file uploads and explain what each one needs.

Draft — but don't run — a mutation that renames animation X to "hero-loader-v2".

Which operations in the schema are classified as destructive?

Fetch the details of my most recently modified animation, including its download URL.

Resources and Prompts

Beyond tools, the server publishes MCP resources and prompts that capable clients can use directly.

Resources

URIDescription
lottiefiles-schema://summaryCounts and a high-level inventory of the schema
lottiefiles-schema://categoriesThe operation category names that operations_list accepts
lottiefiles-docs://tool-workflowThe recommended tool workflow as Markdown
lottiefiles-schema://operations/{kind}Operations of one kind (template)
lottiefiles-schema://types/{name}One type by name (template)

Prompts

PromptArgumentsUse it to
discover_operationgoalFind the right operation for a goal
draft_graphql_querygoal, operation_nameDraft a correct query for a goal
review_graphql_mutationmutationReview a mutation before running it
inventory_workspaceworkspace_idSummarize a workspace's contents

The server also autocompletes operation names, type names, and categories through the standard completion/complete method.

Rate Limits

You can send up to 60 requests per second. Beyond that, the server responds with 429 and a Retry-After header; well-behaved clients retry automatically. Typical schema exploration stays well under this limit.

Last updated: July 21, 2026 at 1:02 PMEdit this page