{
  "name": "Layer",
  "description": "Layer is the AI platform for creative teams in games and entertainment. These MCP servers expose asset generation, custom style training, node-based workflows, and workspace administration as tools any MCP client can call.",
  "vendor": "Layer",
  "homepage": "https://layer.ai",
  "documentation_url": "https://layer.ai/docs/mcp",
  "specification": "https://modelcontextprotocol.io",
  "mcp_apps": {
    "supported": true,
    "specification": {
      "name": "MCP Apps",
      "extension": "io.modelcontextprotocol/ui",
      "version": "2026-01-26",
      "url": "https://github.com/modelcontextprotocol/ext-apps/blob/main/specification/2026-01-26/apps.mdx",
      "documentation_url": "https://apps.extensions.modelcontextprotocol.io/api/"
    },
    "mime_type": "text/html;profile=mcp-app",
    "view_delivery": "inline",
    "view_url_template": "https://mcp.app.layer.ai/apps/{view}/index.html",
    "description": "Layer's creative MCP server ships an MCP Apps view. Tools that carry `_meta.ui.resourceUri` return a `ui://` HTML resource the host renders inline, so a generation appears as an interactive result in the conversation rather than as a run id to poll. Hosts that do not negotiate the `io.modelcontextprotocol/ui` extension are unaffected — the tools return their normal structured result.",
    "documentation_url": "https://layer.ai/docs/mcp",
    "servers": [
      "creative"
    ],
    "views": [
      {
        "server": "creative",
        "uri": "ui://layer/execute-generation",
        "name": "execute-generation",
        "mimeType": "text/html;profile=mcp-app",
        "url": "https://mcp.app.layer.ai/apps/execute-generation/index.html"
      }
    ]
  },
  "servers": [
    {
      "name": "Layer MCP Server",
      "id": "creative",
      "description": "Generate and edit images, video, 3D, and audio; run Blueprint workflows; train styles; assemble video timelines; upload and score files.",
      "url": "https://mcp.app.layer.ai/mcp",
      "transport": "streamable-http",
      "documentation_url": "https://layer.ai/docs/mcp",
      "setup_url": "https://layer.ai/docs/mcp/setup",
      "instructions": "IMPORTANT: Call tool `get_instructions` first for general platform guidance.\n\nIf any tool call fails with an authentication error (401 Unauthorized), tell the user they need to connect their Layer account — they should complete the OAuth flow in their MCP client settings.",
      "authorization": {
        "type": "oauth2",
        "flow": "authorization_code",
        "pkce_required": true,
        "dynamic_client_registration": true,
        "authorization_servers": [
          "https://auth.app.layer.ai/"
        ],
        "authorization_server_metadata": "https://auth.app.layer.ai/.well-known/oauth-authorization-server",
        "scopes_supported": [
          "openid",
          "profile",
          "email",
          "offline_access"
        ],
        "description": "Unauthenticated requests return 401 with a `WWW-Authenticate: Bearer resource_metadata=…` challenge pointing at the RFC 9728 protected-resource metadata for that server. Follow it to the authorization server, register dynamically, and run the authorization-code + PKCE flow.",
        "protected_resource_metadata": "https://mcp.app.layer.ai/.well-known/oauth-protected-resource/mcp"
      },
      "tool_count": 68,
      "tools": [
        {
          "name": "cancel_agent_turn",
          "title": "Cancel agent turn",
          "description": "Stop a Layer agent's turn. Work the agent already delivered is kept.",
          "annotations": {
            "title": "Cancel agent turn",
            "readOnlyHint": false,
            "destructiveHint": true,
            "idempotentHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "cancel_inference",
          "title": "Cancel model generation",
          "description": "Request cancellation of an in-flight inference launched with execute_forge.\nFire-and-forget: returns immediately after signaling the run to stop; poll get_forge_run for the\neventual CANCELLED status. A run that already COMPLETED can no longer be canceled and errors with\nINFERENCE_ALREADY_COMPLETE; the other terminal states are idempotent no-ops.\nPass the `inference_id` that execute_forge returned.",
          "annotations": {
            "title": "Cancel model generation",
            "readOnlyHint": false,
            "destructiveHint": true,
            "idempotentHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "cancel_training_run",
          "title": "Cancel training run",
          "description": "Cancel an in-flight training run and release any reserved Creative Units.\n\nOnly runs that are initializing or running can be canceled. Errors:\ntraining-run-not-found, invalid-status (run already finished).",
          "annotations": {
            "title": "Cancel training run",
            "readOnlyHint": false,
            "destructiveHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "cancel_workflow_run",
          "title": "Cancel workflow run",
          "description": "Cancel a running workflow. Stops generation immediately. Creative Units reserved but not yet consumed are released. Already-completed steps are not refunded.\n\nFor multi-step workflow guidance, call get_workflow_instructions.",
          "annotations": {
            "title": "Cancel workflow run",
            "readOnlyHint": false,
            "destructiveHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "compose_image",
          "title": "Compose image",
          "description": "Stack workspace images into one flat PNG: overlays, backgrounds with a foreground, or collages.\n\nA deterministic file operation: no model runs and no Creative Units are spent. Each layer places\none image in a box on the canvas (by default the size of the first layer's image), positioned by edge anchors and filled by its\nresize strategy; layers stack bottom first and blend by their alpha. Parts of the canvas no\nlayer covers stay transparent.\nThe image is saved to the workspace library and, when the call runs in a session, placed on\nits board (`image.placed_on_board`).",
          "annotations": {
            "title": "Compose image",
            "readOnlyHint": false,
            "destructiveHint": false,
            "idempotentHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "confirm_agent_spend",
          "title": "Confirm agent spend",
          "description": "Approve or decline the spend a Layer agent's turn waits on, as get_agent_response gives it in\n`pending_spend`. The answer is recorded as the user's own, as if they answered the card in the\nLayer app, and the turn carries on: wait for it with get_agent_response.\n\nSpending the workspace's Creative Units is the user's decision: show them the cost and approve only\nwhen they say so, never on their behalf.",
          "annotations": {
            "title": "Confirm agent spend",
            "readOnlyHint": false,
            "destructiveHint": false,
            "idempotentHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "create_product",
          "title": "Create product",
          "description": "Add a product (a game or app, a website, or a Shopify item) to an existing project.\n\nUse it for a game the project's store-listing import did not cover, or to record a product by\nhand. get_project lists a project's products. The project must be active, and you must be a\nmember of it or a workspace admin, with workspace permission to edit projects.",
          "annotations": {
            "title": "Create product",
            "readOnlyHint": false,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "create_project_from_app_listing",
          "title": "Create project from app listing",
          "description": "Create a project for a published game from its store listings (App Store, Google Play, Steam).\n\nReads the listings, then creates the project with the game's icon as its thumbnail and a\nproduct for the game carrying its store identifiers. Returns once the project and its\nproducts exist, which takes up to a couple of minutes while the stores are read.\n\nThe game's brand (Brand and Style reference sets of its logos, screenshots and palette, and a\nbrand-book skill) is imported onto the project in the background after this returns, and\nusually lands within a few minutes. To check, call get_project with the returned project_id:\nthe import is done once its reference_sets list them. If none appear after about 15 minutes,\nthe import did not complete; the project and its products stay.\n\nUse create_product to add a product a listing did not cover. Requires workspace permission\nto edit projects, assets, reference sets and skills, and to train styles. A scoped API key or\ntoken needs the projects:write, library:write, reference_sets:write and skills:write scopes.",
          "annotations": {
            "title": "Create project from app listing",
            "readOnlyHint": false,
            "destructiveHint": false,
            "openWorldHint": true
          }
        },
        {
          "name": "create_reference_set",
          "title": "Create reference set",
          "description": "Create a new reference set from a list of image, video or audio files in the workspace.\n\nA reference set is a curated collection of assets used to train a model: images or videos for a\nLoRA style, audio clips for a voice. Call this when the user wants to start training from assets\nthey have already uploaded. After creating an image or video set, call draft_captions then\nstart_training; for a voice, call start_training with a voice framework. A voice import\n(start_training with training_framework voice-import) needs no files: create the set with\nempty file_ids.\n\nCover thumbnails: pass cover_file_ids to choose them explicitly, or omit it to auto-pick the\nfirst few image files. The output's cover_count reports how many were set.\n\nErrors: invalid-dataset (no usable assets / all files foreign to the workspace),\ninvalid-session (the session does not belong to the workspace),\npermission errors propagated as-is.\n\nIMPORTANT: Call tool `get_instructions` first for general platform guidance.",
          "annotations": {
            "title": "Create reference set",
            "readOnlyHint": false,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "delete_product",
          "title": "Delete product",
          "description": "Delete a project's product and its identifiers for good; there is no undo, so confirm with\nthe user first. Campaigns that already copied the product keep what they copied. The project\nmust be active, and you must be a member of it or a workspace admin, with workspace\npermission to edit projects.",
          "annotations": {
            "title": "Delete product",
            "readOnlyHint": false,
            "destructiveHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "estimate_forge_price",
          "title": "Estimate model generation price",
          "description": "Estimate the Creative Units price of a forge run before executing it.\n\nRequires either a `base_model_id` or at least one reference set; passing neither is an error.\nPrices through the same reference-set translation and model selection as `execute_forge`, so\nthe returned price matches what the run itself charges for identical inputs. A seam repair or\nbackground removal that runs after it as its own child run is billed separately and is not\nincluded. Executes nothing.\n\nFor forge lifecycle guidance, call get_forge_instructions.",
          "annotations": {
            "title": "Estimate model generation price",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "estimate_training_price",
          "title": "Estimate training price",
          "description": "Estimate the Creative Units cost of training a LoRA for a reference set.\n\nRead-only. Resolves and validates the base model the same way start_training would, then prices the run.\nErrors: unknown-base-model (id not trainable), unsupported-training-framework (framework not\navailable for this base model), unsupported-training-parameter (a training_parameters field the\nframework does not take), invalid-training-parameter (a training_parameters value the model's\ntrainer does not accept), model-disabled (base model disabled for this workspace),\ninvalid-dataset (reference set not found or has no training images).\n\nIMPORTANT: Call tool `get_instructions` first for general platform guidance.",
          "annotations": {
            "title": "Estimate training price",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "estimate_video_timeline_price",
          "title": "Estimate video timeline price",
          "description": "Estimate the Creative Units price of a video editor render without rendering anything.\n\nAuthor the timeline exactly as for `render_video_timeline`. Prices through the same estimator the\nrender charges against, so the price matches for identical inputs. Returns the price plus the\nworkspace balance. Produces no file.",
          "annotations": {
            "title": "Estimate video timeline price",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "estimate_workflow_price",
          "title": "Estimate workflow price",
          "description": "Estimate the Creative Units price of running a workflow before executing it.\n\nUse this tool to check price and verify the workspace has sufficient Creative Units\nbalance before executing. Does not execute anything.\n\nFor multi-step workflow guidance, call get_workflow_instructions.",
          "annotations": {
            "title": "Estimate workflow price",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "execute_forge",
          "title": "Generate with a model",
          "description": "Execute a forge run to generate images, videos, 3D models, or audio.\n\nPass a `base_model_id`, at least one entry in `reference_sets`, or both. With reference sets\nand no base model, a compatible model is picked automatically from the sets.\n\nReturns immediately with an inference ID, which can be polled with `get_forge_run` for results.\n\nCall `get_forge_instructions` first for full forge lifecycle guidance.",
          "annotations": {
            "title": "Generate with a model",
            "readOnlyHint": false,
            "destructiveHint": true,
            "idempotentHint": false,
            "openWorldHint": false
          },
          "_meta": {
            "ui": {
              "resourceUri": "ui://layer/execute-generation"
            }
          }
        },
        {
          "name": "execute_workflow",
          "title": "Run workflow",
          "description": "Run one of the workspace's saved workflows to produce images, videos, 3D models, or audio.\n\nA workflow is a fixed pipeline the user built in Layer. Its steps are Layer's own\noperations: model generations, image/video/audio edits, text templating, fixed values,\nAI image judging, and filing outputs into the workspace's Drive. Every step reads and\nwrites only the workspace's own files. `inputs` must match the input schema list_workflows\nreturns for the workflow. Spends Creative Units.\n\nReturns immediately with a run ID. Poll with `get_workflow_run` for results.\n\nCall `get_workflow_instructions` first for full workflow lifecycle guidance.",
          "annotations": {
            "title": "Run workflow",
            "readOnlyHint": false,
            "destructiveHint": true,
            "idempotentHint": false,
            "openWorldHint": false
          },
          "_meta": {
            "ui": {
              "resourceUri": "ui://layer/execute-generation"
            }
          }
        },
        {
          "name": "export_parallax",
          "title": "Export parallax layers",
          "description": "Export a parallax background's layers with the files an engine scrolls them by, and return a\ndownload link to the zip.\n\nA deterministic file operation: no model runs and no Creative Units are spent. The file must be a\nparallax split's output (one run with `parallax` set), which records each layer's scroll speed and whether\nthe layers loop. Layers generated one image at a time are not a parallax split: they go to the engine\nas the images they are, and this tool refuses them. Every\nlayer is written at the background's full size, farthest first, so placed at one point they line up.\nThe zip holds a README with the engine's import steps.",
          "annotations": {
            "title": "Export parallax layers",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "export_tileset",
          "title": "Export tileset",
          "description": "Lay finished tiles out as a tileset a game engine imports, and return a download link to the zip.\n\nA deterministic file operation: no model runs and no Creative Units are spent. The tiles are\nused as they are stored, each placed by where it stands on its grid (recorded when it was made\nwith `tile_grid`), so they line up on the engine's own isometric, hex or square grid without\nany adjustment. Facings of one subject are named after it (`tower_0`, `tower_90`) and carry\ntheir subject and facing as tile properties. The zip holds a README with the engine's import\nsteps and the grid settings the map needs. Use `pack_sprite_sheet` instead for a single sheet\nimage on the board.",
          "annotations": {
            "title": "Export tileset",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "export_ui_kit",
          "title": "Export UI kit",
          "description": "Export 9-slice UI elements (buttons, frames, panels) with the files an engine draws them by,\nand return a download link to the zip.\n\nA deterministic file operation: no model runs and no Creative Units are spent. Every element must\ncarry 9-slice insets, recorded when it was generated with `nine_slice` or made as a 9-slice copy;\nthey are used as stored, so the corners never scale and the edges and center, made to tile when\nthe insets were recorded, repeat without a seam in Unity, Godot and CSS; PixiJS and Phaser, read from\nthe JSON, stretch them instead. The zip holds a README with the engine's import steps and each\nelement's insets.",
          "annotations": {
            "title": "Export UI kit",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "facebook_page_post_insights",
          "title": "Get Facebook Page post insights",
          "description": "How one post on the user's Facebook Page is doing, named by its link or its ID: its metrics in the shape its placement reports. Use it when the user shares a post; for a Layer file, use `file_insights`.\n\nEach network reports its own metrics, over the span and with the limits its section below gives. A metric missing from the answer was not reported; it is not 0.\n\nA connection made without insights reads none: tell the user to disconnect it and connect it again with insights, as the answer says.\n\nFacebook Pages and Instagram posts (Meta, organic): every value covers the post's whole life, from when it went up to now; counts and total watch times are totals, averages and rates are over that life. Meta reports no daily or weekly values for a single organic post, and its values can be up to 48 hours behind.\n\nFacebook Pages: a post reports views, unique viewers, reactions (in total and by type) and clicks. A Reel reports plays, total plays, replays, average and total watch time, follows, likes, and comments and shares; Meta reads them on the Reel's video, which Layer knows for a Reel it posted or a `/reel/` link, so another Reel reads as a post, without its interactions. A Story reports views and unique viewers. Not read: the impressions metrics (`post_impressions` and its unique, organic, fan and non-viral forms), deprecated by Meta; views replace them.",
          "annotations": {
            "title": "Get Facebook Page post insights",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": true
          }
        },
        {
          "name": "facebook_page_recent_insights",
          "title": "Get a Facebook Page's recent post insights",
          "description": "How the latest posts on one of the user's Facebook Pages are doing: its newest posts and Reels, each with its metrics in the shape its placement reports, or why it has none (`unavailable`). Use it when the user asks how their Page has been doing lately; for one post they link, use `facebook_page_post_insights`, and for a Layer file, `file_insights`.\n\nEach network reports its own metrics, over the span and with the limits its section below gives. A metric missing from the answer was not reported; it is not 0.\n\nA connection made without insights reads none: tell the user to disconnect it and connect it again with insights, as the answer says.\n\nFacebook Pages and Instagram posts (Meta, organic): every value covers the post's whole life, from when it went up to now; counts and total watch times are totals, averages and rates are over that life. Meta reports no daily or weekly values for a single organic post, and its values can be up to 48 hours behind.\n\nFacebook Pages: a post reports views, unique viewers, reactions (in total and by type) and clicks. A Reel reports plays, total plays, replays, average and total watch time, follows, likes, and comments and shares; Meta reads them on the Reel's video, which Layer knows for a Reel it posted or a `/reel/` link, so another Reel reads as a post, without its interactions. A Story reports views and unique viewers. Not read: the impressions metrics (`post_impressions` and its unique, organic, fan and non-viral forms), deprecated by Meta; views replace them.",
          "annotations": {
            "title": "Get a Facebook Page's recent post insights",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": true
          }
        },
        {
          "name": "file_insights",
          "title": "Get file insights",
          "description": "How a Layer file is doing on the networks the workspace connected: the newest posts Layer's exports made of it, each with its metrics in the shape its network and placement report, or why it has none (`unavailable`). Use it when the user asks about a Layer file. For a post they name by its link or ID, use that network's own insights tool.\n\nEach network reports its own metrics, over the span and with the limits its section below gives. A metric missing from the answer was not reported; it is not 0.\n\nA connection made without insights reads none: tell the user to disconnect it and connect it again with insights, as the answer says.\n\nFacebook Pages and Instagram posts (Meta, organic): every value covers the post's whole life, from when it went up to now; counts and total watch times are totals, averages and rates are over that life. Meta reports no daily or weekly values for a single organic post, and its values can be up to 48 hours behind.\n\nFacebook Pages: a post reports views, unique viewers, reactions (in total and by type) and clicks. A Reel reports plays, total plays, replays, average and total watch time, follows, likes, and comments and shares; Meta reads them on the Reel's video, which Layer knows for a Reel it posted or a `/reel/` link, so another Reel reads as a post, without its interactions. A Story reports views and unique viewers. Not read: the impressions metrics (`post_impressions` and its unique, organic, fan and non-viral forms), deprecated by Meta; views replace them.\n\nInstagram: a post reports views, reach, likes, comments, saves, shares, reposts, follows, profile visits and interactions; a Reel adds average and total watch time and its skip rate; a Story reports views, reach, replies, shares, reposts, follows, profile visits, link clicks and interactions. Meta marks views, interactions, a Reel's total watch time and skip rate as in development: they may change, so say so when you report them. Not read: impressions, deprecated by Meta for media posted after July 2, 2024; views replace them. Meta keeps a Story's metrics for 24 hours only, unless it was saved to a highlight: past that, its insights expired and the data is gone. A Story's replies read 0 for an account in Europe or Japan: unknown, not none. Meta shows nothing for a post seen by fewer than 5 people.",
          "annotations": {
            "title": "Get file insights",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": true
          }
        },
        {
          "name": "get_agent_response",
          "title": "Get agent response",
          "description": "Get a Layer agent's answer to a message sent with send_agent_message, waiting up to\n`wait_seconds` for the turn to finish.\n\nWhile the status is queued or working, call again: a question or a plan is back in seconds, a\nbuild in 15 to 45 minutes. Tell the user what the agent is doing from `progress` and `reply`.\nAnswer a question in `reply` yourself when the user's request settles it; otherwise ask the\nuser. A priced plan in `pending_plan` or a spend in `pending_spend` is the user's decision: never\napprove it for them. Answer a `pending_spend` with confirm_agent_spend.",
          "annotations": {
            "title": "Get agent response",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "get_base_model",
          "title": "Get base model",
          "description": "Get full details for a specific base model.\n\nReturns capabilities, timing, pricing, and the model's prompt guide,\nsourced from the model registry (not a Style row).\n\nIMPORTANT: Call tool `get_instructions` first for general platform guidance.",
          "annotations": {
            "title": "Get base model",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "get_blueprint_system_config",
          "title": "Get blueprint system config",
          "description": "Discover every Blueprint type, node kind, and casting rule available in this workspace.\n\nReturns:\n  - `types`: each available `BlueprintType` with its JSON schema. Static\n    values you set on a node input or output MUST conform to the type's\n    `json_schema` (resolving `$ref` via `json_schema_defs`) or the\n    backend will reject the mutation.\n  - `node_kinds`: every available `NodeKind` with full input/output\n    port specs (port_key, type, is_required, must_be_static, default).\n    Noop kinds (key prefix `noop.`) are static-data nodes used by the\n    workflow architect in lieu of parameters during early editing.\n  - `json_schema_defs`: shared `$defs` referenced by the per-type\n    schemas.\n  - `casting_rules`: type-compat edges. An output of type A may only\n    be wired to an input of type B when (A, B) is a casting rule (or\n    A == B). Rules carrying a `transformer` are NOT auto-inserted\n    in v1 — treat them as blocked and wire through the named\n    transformer node_kind explicitly if needed.\n\nCall this once per session and reuse the result; the config is\nworkspace-scoped but otherwise stable.\n",
          "annotations": {
            "title": "Get blueprint system config",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "get_file_scores",
          "title": "Get file scores",
          "description": "Read the output scoring verdicts recorded against one file.\n\nReturns the current score per rule (0-100 with the judge's rationale), plus the headline\nscore stamped on the file by whichever rule its scope nominated — that stamp is what the\nlibrary badge and score sort read.\n\nAn empty `scores` list means the file has not been judged yet, not that it scored zero.\nCall score_files to have it judged; scoring is asynchronous, so poll this afterwards.",
          "annotations": {
            "title": "Get file scores",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "get_files",
          "title": "Get files",
          "description": "Read files and whether each is still being processed, for a view to follow a run's outputs until\ntheir previews arrive. Pass `wait_seconds` to hold the call until one of the files still processing\nfinishes, then call again while any is processing. Pass `include_content` for what a viewer draws a\nfile from.",
          "annotations": {
            "title": "Get files",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "get_forge_instructions",
          "title": "Get model generation instructions",
          "description": "Get the guide for generating with a single model (execute_forge, get_forge_run, estimate_forge_price,\ncancel_inference). Read-only: returns text and runs nothing.\nCall this before generating. Covers the full generation lifecycle, guidance files, polling, and limits.\nIMPORTANT: Call tool `get_instructions` first for general platform guidance.",
          "annotations": {
            "title": "Get model generation instructions",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "get_forge_run",
          "title": "Get model generation status",
          "description": "Get the status and output files of a single-model generation started with execute_forge.\nReturns generated asset URLs and metadata when complete. Poll at the suggested interval.\nPass the `inference_id` that execute_forge returned.\n\nIMPORTANT: Call `get_forge_instructions` for full lifecycle guidance.",
          "annotations": {
            "title": "Get model generation status",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "get_generation_run",
          "title": "Get generation run",
          "description": "Check status of a generation run launched with a generation tool (e.g. render_video_timeline).\nReturns the output asset URLs and metadata when complete.\nPass the `generation_id` that the launch tool returned.",
          "annotations": {
            "title": "Get generation run",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "get_inference_tool",
          "title": "Get Layer tool",
          "description": "Get a Layer tool's fields on one of its base models, to fill in `input` for `run_inference_tool`.\n\nReturns the tool's summary, the base model the fields are for and the JSON Schema of `input`.\nThe schema says whether the tool works on a source file and whether the model takes a mask.\n\nIMPORTANT: Call tool `get_instructions` first for general platform guidance.",
          "annotations": {
            "title": "Get Layer tool",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "get_instructions",
          "title": "Get instructions",
          "description": "Get general instructions for using the Layer MCP server.\nALWAYS call this tool first in order to understand the platform, available tools, and common patterns.\nAll other tools reference this for general guidance.",
          "annotations": {
            "title": "Get instructions",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "get_project",
          "title": "Get project",
          "description": "Get details for a single project in a workspace.\n\nReturns the project's name, status, visibility, linked object count, description, instructions,\nthe products it advertises (apps with their store ids, websites), and the user-explicit linked library\nobjects (paginated, newest first). Implicit links (auto-added via generation\nworkflows) are counted but not returned here.\nUse list_projects to discover project ids.\n\n`instructions` is deprecated: standing guidance for a project belongs in a skill\nattached to it, and this field reads back null once a project's instructions have\nbeen converted into one.",
          "annotations": {
            "title": "Get project",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "get_reference_set",
          "title": "Get reference set",
          "description": "Fetch everything about a reference set: its metadata, files and trained finetunes.\n\nA reference set is a curated collection of reference files (images, video, audio; optionally\ncaptioned) describing a character, style or concept, and may carry trained finetunes. Call this to\ninspect, analyze, or describe a reference set. It returns the set's name, description, category,\nstatus and color palette, every attached reference file with its download URL, content type,\ncaption, and multi-view tag, the set's logo and font files as `brand_assets`, and its trained\nfinetunes as `trained_bindings` (a `voice` binding means the set speaks in a trained voice on that\ntext-to-speech model).\n\nUse the returned `file_id` / `url` to act on individual files (e.g. analyze_media, or as a\nreference input for generation). Pass a `brand_assets` logo as a guidance image only when the\nuser asks for it. Do not surface raw UUIDs or download URLs in prose.\n\nFor forge lifecycle guidance, call get_forge_instructions.",
          "annotations": {
            "title": "Get reference set",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "get_trained_model",
          "title": "Get trained model",
          "description": "Retrieve the trained LoRA for a completed training run. Gated on\nterminal-success — if the run is not complete, raises so the caller polls first.",
          "annotations": {
            "title": "Get trained model",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "get_training_status",
          "title": "Get training status",
          "description": "Poll a training run. Maps run status to in_progress / terminal_success /\nterminal_failure. Do not fetch the trained model until terminal_success.",
          "annotations": {
            "title": "Get training status",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "get_trend",
          "title": "Get trend",
          "description": "Fetch a trend's full detail: its scenario and variants (for a `creative` trend), its web\nresearch (for a `top` trend), and the public reference files that show it, each with a\ndownload URL. Pass a reference `file_id` as guidance to `execute_forge` or a workflow to\nmake an asset in the trend's style. Do not surface raw UUIDs or download URLs in prose.",
          "annotations": {
            "title": "Get trend",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "get_workflow_instructions",
          "title": "Get workflow instructions",
          "description": "Get detailed instructions for running generation workflows.\nCall this before using workflow tools. Covers the full generation lifecycle, file inputs, polling, and pricing.\nIMPORTANT: Call tool `get_instructions` first for general platform guidance.",
          "annotations": {
            "title": "Get workflow instructions",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "get_workflow_run",
          "title": "Get workflow run",
          "description": "Check status of a running workflow.\nReturns step information while in progress. Can be used to display a compact progress summary, and to display the completed/total ratio.\nReturns full results (asset URLs, metadata, price) only when generation is complete.\nPass `wait_seconds` to hold the call until the run or a step changes, then call again while it is in progress.\n\nFor multi-step workflow guidance, call get_workflow_instructions.",
          "annotations": {
            "title": "Get workflow run",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "get_workspace",
          "title": "Get workspace",
          "description": "Get details for a single workspace including Creative Units balance.\n\nReturns workspace id, slug, display name, balance, reserved units, available balance,\nand last activity timestamp. The authenticated user must be a member of the workspace.\n\nIMPORTANT: Call tool `get_instructions` first for general platform guidance.",
          "annotations": {
            "title": "Get workspace",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "import_workflow",
          "title": "Import workflow",
          "description": "Import a complete workflow graph as a new private workflow, optionally into a project.\n\nSaves a definition only: importing runs none of the graph's steps and spends no Creative\nUnits. The graph may only use the node kinds get_blueprint_system_config lists, all of them\nLayer operations; running the workflow later is a separate execute_workflow call.\n\nUse this to bring in a workflow authored outside the Blueprint editor, such as one\nconverted from another workflow tool, in one call. Call get_blueprint_system_config\nfirst for the node kinds, ports and value schemas the graph must use, then call with\n`validate_only=true` and fix the reported problems until `is_valid` is true.\n\nThe workflow is always created private and unfeatured; making it public or featured is\na separate curation step in the app. By default the version is published so the\nworkflow can run right away with execute_workflow; an invalid graph is then rejected and\nnothing is created. With `publish=false` a draft is created even when the graph has\nproblems.\n",
          "annotations": {
            "title": "Import workflow",
            "readOnlyHint": false,
            "destructiveHint": false,
            "idempotentHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "instagram_account_recent_insights",
          "title": "Get an Instagram account's recent post insights",
          "description": "How the latest posts on one of the user's Instagram accounts are doing: its newest posts and Reels (Stories are not listed), each with its metrics in the shape its placement reports, or why it has none (`unavailable`). Use it when the user asks how their account has been doing lately; for one post they link, use `instagram_media_insights`, and for a Layer file, `file_insights`.\n\nEach network reports its own metrics, over the span and with the limits its section below gives. A metric missing from the answer was not reported; it is not 0.\n\nA connection made without insights reads none: tell the user to disconnect it and connect it again with insights, as the answer says.\n\nFacebook Pages and Instagram posts (Meta, organic): every value covers the post's whole life, from when it went up to now; counts and total watch times are totals, averages and rates are over that life. Meta reports no daily or weekly values for a single organic post, and its values can be up to 48 hours behind.\n\nInstagram: a post reports views, reach, likes, comments, saves, shares, reposts, follows, profile visits and interactions; a Reel adds average and total watch time and its skip rate; a Story reports views, reach, replies, shares, reposts, follows, profile visits, link clicks and interactions. Meta marks views, interactions, a Reel's total watch time and skip rate as in development: they may change, so say so when you report them. Not read: impressions, deprecated by Meta for media posted after July 2, 2024; views replace them. Meta keeps a Story's metrics for 24 hours only, unless it was saved to a highlight: past that, its insights expired and the data is gone. A Story's replies read 0 for an account in Europe or Japan: unknown, not none. Meta shows nothing for a post seen by fewer than 5 people.",
          "annotations": {
            "title": "Get an Instagram account's recent post insights",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": true
          }
        },
        {
          "name": "instagram_media_insights",
          "title": "Get Instagram media insights",
          "description": "How one post on the user's Instagram account is doing, named by its link or its ID: its metrics in the shape its placement reports. Use it when the user shares a post; for a Layer file, use `file_insights`.\n\nEach network reports its own metrics, over the span and with the limits its section below gives. A metric missing from the answer was not reported; it is not 0.\n\nA connection made without insights reads none: tell the user to disconnect it and connect it again with insights, as the answer says.\n\nFacebook Pages and Instagram posts (Meta, organic): every value covers the post's whole life, from when it went up to now; counts and total watch times are totals, averages and rates are over that life. Meta reports no daily or weekly values for a single organic post, and its values can be up to 48 hours behind.\n\nInstagram: a post reports views, reach, likes, comments, saves, shares, reposts, follows, profile visits and interactions; a Reel adds average and total watch time and its skip rate; a Story reports views, reach, replies, shares, reposts, follows, profile visits, link clicks and interactions. Meta marks views, interactions, a Reel's total watch time and skip rate as in development: they may change, so say so when you report them. Not read: impressions, deprecated by Meta for media posted after July 2, 2024; views replace them. Meta keeps a Story's metrics for 24 hours only, unless it was saved to a highlight: past that, its insights expired and the data is gone. A Story's replies read 0 for an account in Europe or Japan: unknown, not none. Meta shows nothing for a post seen by fewer than 5 people.",
          "annotations": {
            "title": "Get Instagram media insights",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": true
          }
        },
        {
          "name": "list_agents",
          "title": "List agents",
          "description": "List the Layer agents you can hand work to with send_agent_message: managed specialists for\nlong jobs such as a playable ad, a motion-design video or a 3D model built in Blender.",
          "annotations": {
            "title": "List agents",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "list_base_models",
          "title": "List base models",
          "description": "List the base AI models available for generation in a workspace.\n\nSourced from the model registry and the AI policy in force, not the Style table,\nso every enabled base model is listed. Results are ranked by the requested `sort`, which\ndefaults to Layer's curated recommendation order.\n\nTo choose a model for a task, pass `filter.use_case` (and any required capabilities) and\ntake the first result. When the task has craft knowledge attached to it — pixel art,\nstoryboards, seamless textures, and similar — load the matching `model-guidance` skill for\nprompt and workflow technique before generating.\n\nIMPORTANT: Call tool `get_instructions` first for general platform guidance.",
          "annotations": {
            "title": "List base models",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "list_chat_sessions",
          "title": "List chat sessions",
          "description": "List the sessions on the user's My sessions list in a workspace that hold a conversation with\na Layer agent, most recently used first, each with a summary of its latest turn.\n\nRead a listed session's whole latest turn (`latest_turn` present) with get_agent_response and only\n`session_id`; continue any session with send_agent_message; when a follow-up without an agent_id is refused, pass one the\nrefusal names.",
          "annotations": {
            "title": "List chat sessions",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "list_file_lifecycle_statuses",
          "title": "List file statuses",
          "description": "List the lifecycle statuses files in a workspace can carry, each with its phase. A workspace\nstarts with Draft, Work In Progress, Intermediate, In Review, Approved, Published, On Hold and\nOmitted, and\nmay rename, reorder or delete them and add its own.\n\nUse it to find the status_id set_file_lifecycle_status takes, or to tell a user what a status\nstatus means.",
          "annotations": {
            "title": "List file statuses",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "list_inference_tools",
          "title": "List Layer tools",
          "description": "List the Layer tools the user can run in the workspace, such as `image.upscale` or `video.reframe`.\n\nA tool is one job (upscale an image, make a seamless texture, reframe a video) that runs on any\nmodel in its pool; it shows only the fields that job needs and fixes the rest. Each tool names the\nbase models the user can run it on and the one a run takes when it names none. Prefer a tool to\n`execute_forge` when the user's request is one of these jobs.\n\nIMPORTANT: Call tool `get_instructions` first for general platform guidance.",
          "annotations": {
            "title": "List Layer tools",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "list_output_scoring_rules",
          "title": "List output scoring rules",
          "description": "List the output scoring rules in force for a workspace or project.\n\nEach rule is a studio's own standard that generated assets are judged against, scored\n0-100. Read this before score_files to know what a scope asks and which rule ids you can\nnarrow to, and after get_file_scores to interpret a score — the same number means\ndifferent things under different rules.\n\nRules cannot be authored here; they are configured in workspace or project settings.",
          "annotations": {
            "title": "List output scoring rules",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "list_projects",
          "title": "List projects",
          "description": "List projects in a workspace with their name, status, visibility, and linked object count.\n\nProjects group related library objects (images, videos, models, etc.) into a shared\ncollection. By default only active projects are returned; set filter.include_archived\nto also include archived projects. Deleted projects are never returned.",
          "annotations": {
            "title": "List projects",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "list_reference_sets",
          "title": "List reference sets",
          "description": "List the reference sets (the user's trained styles / custom models) for a workspace.\n\nReturns compact summaries; optional fulltext matches on name/description, and an optional category\nnarrows to one kind of set. Only sets that are ready to generate with are listed: archived sets,\nand empty ones (no usable input files, no active finetune and no prompt fragments) are omitted.\n\nFor forge lifecycle guidance, call get_forge_instructions.",
          "annotations": {
            "title": "List reference sets",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "list_training_runs",
          "title": "List training runs",
          "description": "List training runs for the workspace (filterable by reference set and state).\n\nUse this to answer \"how's my training going?\" without a specific run id.\nResults are paginated.",
          "annotations": {
            "title": "List training runs",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "list_trends",
          "title": "List trends",
          "description": "List the trends on Layer's Trends page, for creative direction on game marketing assets.\n\n`creative` trends are hooks and formats distilled from mobile game UA video ads, ordered by\nhow many ads show them, weighted toward ads launched in the last four weeks. `top` trends\nare what is charting on public boards (TikTok, YouTube, Google Trends, ...), ordered by rank; `source` keeps to one board. Call `get_trend` on an\nitem for its scenario, variants, research and the reference files to generate from.",
          "annotations": {
            "title": "List trends",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "list_workflows",
          "title": "List workflows",
          "description": "List the published generation workflows in a workspace. Read-only.\n\nOnly published workflows are listed; a draft that was never published does not appear.\nA workflow is a fixed pipeline of Layer operations (model generations, image/video/audio\nedits and fixed values) that the user built in Layer. Each entry carries its input/output\nschemas, which execute_workflow validates `inputs` against.\n\nFor multi-step workflow guidance, call get_workflow_instructions.",
          "annotations": {
            "title": "List workflows",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "list_workspaces",
          "title": "List workspaces",
          "description": "List every workspace the current user belongs to.\n\nReturns workspace id, slug, display name, and last activity timestamp for each\nworkspace, ordered by most recently active first. Does NOT include Creative Units\nbalance — call `get_workspace` with a workspace_id to get the balance for one\nworkspace (do not call it for every workspace just to compare balances).\n\nIMPORTANT: Call tool `get_instructions` first for general platform guidance.",
          "annotations": {
            "title": "List workspaces",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "pack_sprite_sheet",
          "title": "Pack sprite sheet",
          "description": "Pack separate frame images into one uniform-cell sprite sheet on a transparent background.\n\nA deterministic file operation: no model runs and no Creative Units are spent. Frames fill\nthe grid in the order given; every frame is centered at its own scale in a cell of one size,\nso frames cut from one sheet or drawn at one scale stay registered. The tool centers: it\ndoes not align ground lines or rescale one frame against another. A frame larger than the\ncell is scaled down to fit, never cropped; a smaller one is never enlarged.\n\nWhen every frame is a game tile (made with `tile_grid`), the frames are aligned on their\nanchor instead: each keeps its scale, every frame's anchor (the bottom center of the cell it\nstands on) sits at the same point of its cell, `cell_width`/`cell_height` are ignored, and\n`frames` lists each frame's rect on the sheet with its cell center, anchor and Unity pivot.\nFor a tileset an engine imports directly, use `export_tileset` instead. The sheet is saved to the\nworkspace library and, when the call runs in a session, placed on its board\n(`sheet.placed_on_board`).",
          "annotations": {
            "title": "Pack sprite sheet",
            "readOnlyHint": false,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "render_text",
          "title": "Render text",
          "description": "Render exact text into a PNG in a chosen font, such as an uploaded brand font.\n\nA deterministic file operation: no model runs and no Creative Units are spent. Use it for\ntext that must read exactly or be set in a given typeface: image models misspell text and\ncannot use a font file. It sets flat, single-colour type, so lettering that must look drawn\ninto the art is a generation instead. The font is a workspace font file (`font_file_id`) or\nelse a named `font_family`. The text wraps at the canvas width and sits on the canvas by\nits alignments; text that does not fit is refused with the size it needs. The background is\ntransparent unless `background_color` is set. Size the canvas to roughly the box the text\nwill fill in the final image, so it is barely scaled there. To letter an image, pass the\nreturned `file_id` to `compose_image` as a layer above the base image, placed with\n`anchors` and sized with `fit_and_pad`.\nThe image is saved to the workspace library and, when the call runs in a session, placed on\nits board (`image.placed_on_board`).",
          "annotations": {
            "title": "Render text",
            "readOnlyHint": false,
            "destructiveHint": false,
            "idempotentHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "render_video_timeline",
          "title": "Render video timeline",
          "description": "Edit assets the user already has into ONE finished video — sequence clips, add transitions, overlay\ntext or logos, layer audio, and give clips a look with effects (chroma key, glow, vignette, film grain,\nglitch, color washes). This is editing, not generating new content.\n\nEstimate with `estimate_video_timeline_price` first. The render is asynchronous; check the returned\n`generation_id` with `get_generation_run`.\n\nPass `timeline_object_id` whenever that board timeline already exists — one you placed with\n`create_canvas_timeline` or read with `read_canvas_timelines` — so the render updates it in place\ninstead of placing a duplicate. It is the one input `estimate_video_timeline_price` does not take,\nso add it back on top of the arguments you estimated with. Omit it only when no board timeline\nexists yet.",
          "annotations": {
            "title": "Render video timeline",
            "readOnlyHint": false,
            "destructiveHint": true,
            "idempotentHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "report_feedback",
          "title": "Report feedback",
          "description": "Send feedback about the Layer MCP server to the Layer team. Call it when no tool does what\nthe task needs, when a tool fails or answers wrongly in a way its error does not explain, when\na description, parameter or error is unclear, or when something works well. Report each issue\nonce, then carry on with the user's task; this does not fix anything or reach Layer support,\nso point the user to the in-app support chat for help with their account.",
          "annotations": {
            "title": "Report feedback",
            "readOnlyHint": false,
            "destructiveHint": false,
            "idempotentHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "request_file_upload_url",
          "title": "Request file upload URL",
          "description": "Request a signed URL to upload a file directly to storage.\n\nReturns a signed upload URL, file_id and upload_headers. After receiving the URL, perform\nthe upload using this two-step resumable upload flow:\n\nStep 1 — Initiate the resumable upload:\n  POST {upload_url}\n  Headers: every entry of {upload_headers}, exactly as given:\n    Content-Type: {content_type}\n    x-goog-resumable: start\n    x-goog-content-length-range: 0,{file_size_bytes}\n  Body: (empty)\n  Response: 201 with Location header containing the session URI.\n\nStep 2 — Upload file content:\n  PUT {session_uri_from_Location_header}\n  Headers:\n    Content-Type: {content_type}\n  Body: raw file bytes\n  Response: 200 on success.\n\nAfter upload completes, use the returned file_id as input to generation tools.\nThe upload URL expires in 15 minutes. Maximum file size: 100 MB for video and 3D meshes, 64 MB for images and\naudio.\n\nIMPORTANT: Call tool `get_instructions` first for general platform guidance.",
          "annotations": {
            "title": "Request file upload URL",
            "readOnlyHint": false,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "run_inference_tool",
          "title": "Run a Layer tool",
          "description": "Run a Layer tool, such as `image.upscale`, on one of its base models: the one named, else the\ntool's default for the user.\n\nRead the tool's fields with `get_inference_tool` first. `input` holds those fields, and the tool sets\nthe values it fixes. An edit takes the file it works on as `source_file_id`, an image reframe places\nit in the frame with `source_transform`, and a tool that takes a mask takes it as `mask_file_id`;\nevery file is given by ID. The run lands in a session: pass\n`session_id`, `session_name` or `project_id`. The asset it makes reopens in the tool in the Layer app.\n\nReturns immediately with an inference ID, which can be polled with `get_forge_run` for results.\n\nIMPORTANT: Call tool `get_instructions` first for general platform guidance.",
          "annotations": {
            "title": "Run a Layer tool",
            "readOnlyHint": false,
            "destructiveHint": true,
            "idempotentHint": false,
            "openWorldHint": false
          },
          "_meta": {
            "ui": {
              "resourceUri": "ui://layer/execute-generation"
            }
          }
        },
        {
          "name": "score_files",
          "title": "Score files",
          "description": "Score files against the workspace's (and optionally a project's) output scoring rules.\n\nEach rule is a studio's own standard — \"does this read as our art direction?\" — judged by a\nvision model against the rule's prompt and reference images, returning 0-100 with a\nrationale. Use list_output_scoring_rules to see what a scope asks; use get_file_scores to\nread the verdicts back.\n\nAsynchronous and billed: returns as soon as the run is queued, and every (file, rule) pair\nis a model call that spends creative units. Poll get_file_scores for the results — a large\nrequest takes a few minutes. Scoring the same file again is allowed and appends a fresh\nverdict rather than replacing the old one.",
          "annotations": {
            "title": "Score files",
            "readOnlyHint": false,
            "destructiveHint": true,
            "idempotentHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "send_agent_message",
          "title": "Send agent message",
          "description": "Send a message to a Layer agent and start its turn. Returns at once with `session_id` and\n`turn_id`; wait for the answer with get_agent_response. Each turn's own model work is billed in\nCreative Units.\n\nThe answer is often a question or a plan to confirm: reply by calling this tool again with the\nsame `session_id`. Only one turn runs at a time in a session; sending while one runs fails with\nTURN_IN_PROGRESS.\n\nIMPORTANT: Call tool `get_instructions` first for general platform guidance.",
          "annotations": {
            "title": "Send agent message",
            "readOnlyHint": false,
            "destructiveHint": false,
            "idempotentHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "set_file_lifecycle_status",
          "title": "Set file status",
          "description": "Set the lifecycle status of files, such as 'In Review' or 'Approved', or clear it. Any status can\nfollow any other.\n\nCall list_file_lifecycle_statuses first for the status ids. Every file must be in the workspace, and\nit needs permission to edit assets there.",
          "annotations": {
            "title": "Set file status",
            "readOnlyHint": false,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "split_sprite_sheet",
          "title": "Split sprite sheet",
          "description": "Cut a sprite sheet into its cells as separate image files, in reading order.\n\nA deterministic file operation: no model runs and no Creative Units are spent. Frames keep\ntheir full cell so an animation cycle stays registered; use `inset` to drop thin gutters or\ndivider lines. With `trim_transparent`, each frame is cropped to its subject instead, and\n`cut_off_frames` lists those whose subject reaches its cell's edge. The frames are saved to\nthe workspace library and, when the call runs in a session, placed on its board (each frame\nreports `placed_on_board`) — reference them by `file_id` afterwards. All frames are written or none: a failure part-way\ndeletes the frames already written, so the call can simply be retried.",
          "annotations": {
            "title": "Split sprite sheet",
            "readOnlyHint": false,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "start_training",
          "title": "Start training",
          "description": "Submit a training job for a reference set: a LoRA, or a voice on a voice model.\n\nA voice is cloned from the set's audio clips, designed from a prompt, or imported from an existing\nElevenLabs voice ID (voice-import). An import's run makes one test generation in the voice, and a\nvoice ID ElevenLabs does not serve fails the run. A finished ElevenLabs voice is bound to every\nElevenLabs model that speaks a voice; generate with it by passing the reference set in\nreference_sets.\n\nAsynchronous: returns a training_run_id immediately. Errors: invalid-dataset\n(too few images / missing captions / no voice_id on an import), unknown-base-model (id not trainable),\nunsupported-training-framework (framework not available for this base model),\nunsupported-training-parameter (a training_parameters field the framework does not take),\ninvalid-training-parameter (a training_parameters value the model's trainer does not accept),\nmodel-disabled (base model disabled for this workspace), insufficient-balance\n(not enough Creative Units), and internal errors when the run fails to start.\nOther coded errors propagate unchanged.\n\nIMPORTANT: Call tool `get_instructions` first for general platform guidance.",
          "annotations": {
            "title": "Start training",
            "readOnlyHint": false,
            "destructiveHint": true,
            "idempotentHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "update_product",
          "title": "Update product",
          "description": "Rename a project's product or replace its store and web identifiers. A field left out or\nnull keeps its value. The product's type is fixed: to change it, delete_product and\ncreate_product again. Campaigns that already copied the product keep what they copied. The\nproject must be active, and you must be a member of it or a workspace admin, with workspace\npermission to edit projects.",
          "annotations": {
            "title": "Update product",
            "readOnlyHint": false,
            "destructiveHint": true,
            "idempotentHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "upload_file",
          "title": "Upload file",
          "description": "Upload an image, video, audio or 3D mesh file from a URL for use as workflow input.\n\nReturns a file_id to pass as input to workflows or forge runs. Upload files before\nexecuting a generation; uploaded files can be reused across multiple runs.\n\nIMPORTANT: Call tool `get_instructions` first for general platform guidance.",
          "annotations": {
            "title": "Upload file",
            "readOnlyHint": false,
            "destructiveHint": false,
            "openWorldHint": true
          }
        }
      ],
      "resources": [
        {
          "uri": "ui://layer/execute-generation",
          "name": "execute-generation",
          "mimeType": "text/html;profile=mcp-app"
        }
      ],
      "mcp_apps": {
        "supported": true,
        "specification": {
          "name": "MCP Apps",
          "extension": "io.modelcontextprotocol/ui",
          "version": "2026-01-26",
          "url": "https://github.com/modelcontextprotocol/ext-apps/blob/main/specification/2026-01-26/apps.mdx",
          "documentation_url": "https://apps.extensions.modelcontextprotocol.io/api/"
        },
        "mime_type": "text/html;profile=mcp-app",
        "view_delivery": "inline",
        "view_url_template": "https://mcp.app.layer.ai/apps/{view}/index.html",
        "description": "Layer's creative MCP server ships an MCP Apps view. Tools that carry `_meta.ui.resourceUri` return a `ui://` HTML resource the host renders inline, so a generation appears as an interactive result in the conversation rather than as a run id to poll. Hosts that do not negotiate the `io.modelcontextprotocol/ui` extension are unaffected — the tools return their normal structured result.",
        "documentation_url": "https://layer.ai/docs/mcp",
        "views": [
          {
            "uri": "ui://layer/execute-generation",
            "name": "execute-generation",
            "mimeType": "text/html;profile=mcp-app",
            "url": "https://mcp.app.layer.ai/apps/execute-generation/index.html"
          }
        ],
        "tools": [
          {
            "name": "execute_forge",
            "resource_uri": "ui://layer/execute-generation"
          },
          {
            "name": "execute_workflow",
            "resource_uri": "ui://layer/execute-generation"
          },
          {
            "name": "run_inference_tool",
            "resource_uri": "ui://layer/execute-generation"
          }
        ]
      }
    },
    {
      "name": "Layer Management MCP Server",
      "id": "management",
      "description": "Administer a workspace: projects, groups, members, roles, usage limits, and Creative Unit consumption. Kept separate so admin tools do not crowd the creative toolset.",
      "url": "https://mcp.app.layer.ai/mcp-management",
      "transport": "streamable-http",
      "documentation_url": "https://layer.ai/docs/mcp/management",
      "setup_url": "https://layer.ai/docs/mcp/management/setup",
      "instructions": "Layer workspace management server. Use these tools to administer a workspace: invite people by email with create_invite (they join once they accept), suspend and reactivate members; create, update, and delete projects; add and remove project members; and review Creative Units usage. Start with list_workspaces to find a workspace id, then list_workspace_members / list_projects to find the members and projects to act on. Every operation runs as your Layer user and is subject to your workspace role.\n\nIf any tool call fails with an authentication error (401 Unauthorized), tell the user they need to connect their Layer account by completing the OAuth flow in their MCP client settings.",
      "authorization": {
        "type": "oauth2",
        "flow": "authorization_code",
        "pkce_required": true,
        "dynamic_client_registration": true,
        "authorization_servers": [
          "https://auth.app.layer.ai/"
        ],
        "authorization_server_metadata": "https://auth.app.layer.ai/.well-known/oauth-authorization-server",
        "scopes_supported": [
          "openid",
          "profile",
          "email",
          "offline_access"
        ],
        "description": "Unauthenticated requests return 401 with a `WWW-Authenticate: Bearer resource_metadata=…` challenge pointing at the RFC 9728 protected-resource metadata for that server. Follow it to the authorization server, register dynamically, and run the authorization-code + PKCE flow.",
        "protected_resource_metadata": "https://mcp.app.layer.ai/.well-known/oauth-protected-resource/mcp-management"
      },
      "tool_count": 31,
      "tools": [
        {
          "name": "add_group_member",
          "description": "Add a workspace member to a group by email (they must already be a workspace member).\n\nFails for identity-provider-managed groups. Requires workspace billing-admin permission.",
          "annotations": {
            "readOnlyHint": false
          }
        },
        {
          "name": "add_project_members",
          "description": "Add existing workspace members to a project by email.\n\nEvery email must already be an active member of the project's workspace (invite them\nto the workspace first with invite_member). The add is all-or-nothing and idempotent.\nRequires workspace project-edit permission plus being a project member (workspace\nadmins are exempt).",
          "annotations": {
            "readOnlyHint": false
          }
        },
        {
          "name": "clear_ai_policy",
          "description": "Remove the AI controls a workspace, project, group or member sets itself, so it inherits all of them.\n\nGuardrails, output scoring and usage caps are kept. Requires workspace settings admin (content policy author for a project).",
          "annotations": {
            "readOnlyHint": false,
            "destructiveHint": true,
            "idempotentHint": false
          }
        },
        {
          "name": "create_group",
          "description": "Create a workspace group, optionally granting its members a role.\n\nMembers added to a role-bearing group inherit that role's permissions. Requires\nworkspace billing-admin permission.",
          "annotations": {
            "readOnlyHint": false
          }
        },
        {
          "name": "create_invite",
          "description": "Invite an email address into a workspace.\n\nThe address is emailed a link, valid for 14 days. Whoever follows it signed in with that\naddress becomes a member with the role given; no Layer user is created and nobody joins\nuntil then. Inviting an address that already has an open invitation sends it a new link\nwith the role given. Fails if the address belongs to a member or the workspace has\ninvites disabled. Requires workspace member-edit permission.",
          "annotations": {
            "readOnlyHint": false
          }
        },
        {
          "name": "create_project",
          "description": "Create a new project in a workspace.\n\nProjects group related library objects into a shared collection. The caller is\nadded as the project's first member. Fails if a project with the same name already\nexists in the workspace. Requires workspace project-edit permission.\n\nSet `visibility` to 'members' to make the project private to its members from the start.\n\n`instructions` is deprecated: attach a skill to the project instead of writing\nstanding guidance here.",
          "annotations": {
            "readOnlyHint": false
          }
        },
        {
          "name": "delete_group",
          "description": "Delete a workspace group, revoking its role and cap from members.\n\nFails for identity-provider-managed groups (delete them in the IdP). Requires workspace\nbilling-admin permission.",
          "annotations": {
            "readOnlyHint": false,
            "destructiveHint": true,
            "idempotentHint": false
          }
        },
        {
          "name": "delete_project",
          "description": "Delete a project (soft-delete: it is removed from listings and can't be used).\n\nOnly the project's creator or a workspace admin may delete it. Requires workspace\nproject-delete (or admin-settings) permission.",
          "annotations": {
            "readOnlyHint": false,
            "destructiveHint": true,
            "idempotentHint": false
          }
        },
        {
          "name": "get_ai_policy",
          "description": "Read the AI controls a workspace, project, group or member sets itself, and what it inherits.\n\nThe controls are the Layer agent and each subagent on or off, the spend above which the agent\nasks before running a job, which modalities and models may run, and per-model default\nparameters. Precedence runs workspace, project, group, member; a value locked at a workspace\nor project holds below it. Requires workspace settings admin (content policy author for a\nproject).",
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_effective_ai_policy",
          "description": "Read the AI controls in force for a member's work in a workspace, and in a project if named.\n\nEvery scope's policy resolved, each value with the scope that set it. A model, modality or\nsubagent the maps leave out takes the platform default: allowed, unless new_models_enabled\nis false. Any member may read their own; reading another member's requires workspace\nsettings admin.",
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_project",
          "title": "Get project",
          "description": "Get details for a single project in a workspace.\n\nReturns the project's name, status, visibility, linked object count, description, instructions,\nthe products it advertises (apps with their store ids, websites), and the user-explicit linked library\nobjects (paginated, newest first). Implicit links (auto-added via generation\nworkflows) are counted but not returned here.\nUse list_projects to discover project ids.\n\n`instructions` is deprecated: standing guidance for a project belongs in a skill\nattached to it, and this field reads back null once a project's instructions have\nbeen converted into one.",
          "annotations": {
            "title": "Get project",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "get_workspace_usage",
          "description": "Report a workspace's Creative Units balance and recent consumption.\n\nReturns the current balance (available and reserved) plus the total and per-day\nCreative Units consumed over the last `days` days (default 30). Use this to see how\nmuch a workspace has spent and how much it has left. Requires the View usage and\nView balance permissions.",
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "invite_member",
          "description": "Deprecated: use create_invite, which emails the address an invitation to accept.\n\nAdds a user to a workspace by email at once, creating the Layer user if needed, with the\ngiven role (or the workspace's default) and an ACTIVE membership; they receive an invite\nnotification. Fails if the workspace has invites disabled or the user is already a member.\nRequires workspace member-edit permission.",
          "annotations": {
            "readOnlyHint": false
          }
        },
        {
          "name": "list_group_members",
          "description": "List a group's members with their email and status.\n\nRequires workspace billing-admin permission on the group's workspace.",
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "list_groups",
          "description": "List a workspace's groups with their name and granted role.\n\nGroups bundle members under a shared workspace role and/or a Creative-Units cap. Use\nthis to find group ids for the other group tools. Requires workspace billing-admin.",
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "list_invites",
          "description": "List the invitations sent to join a workspace, whatever they came to, newest first.\n\nUse it to see who has not accepted yet, and to find the invite_id that resend_invite and\nrevoke_invite take. Requires workspace member-edit permission.",
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "list_projects",
          "title": "List projects",
          "description": "List projects in a workspace with their name, status, visibility, and linked object count.\n\nProjects group related library objects (images, videos, models, etc.) into a shared\ncollection. By default only active projects are returned; set filter.include_archived\nto also include archived projects. Deleted projects are never returned.",
          "annotations": {
            "title": "List projects",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "list_workspace_members",
          "description": "List the members of a workspace with their email, role, and status.\n\nUse this to discover who belongs to a workspace and to find the email addresses\nthat the suspend_member, reactivate_member, add_project_members, and\nremove_project_member tools take. Both active and suspended members are returned.",
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "list_workspaces",
          "title": "List workspaces",
          "description": "List every workspace the current user belongs to.\n\nReturns workspace id, slug, display name, and last activity timestamp for each\nworkspace, ordered by most recently active first. Does NOT include Creative Units\nbalance — call `get_workspace` with a workspace_id to get the balance for one\nworkspace (do not call it for every workspace just to compare balances).\n\nIMPORTANT: Call tool `get_instructions` first for general platform guidance.",
          "annotations": {
            "title": "List workspaces",
            "readOnlyHint": true,
            "destructiveHint": false,
            "openWorldHint": false
          }
        },
        {
          "name": "patch_ai_policy",
          "description": "Change some of the AI controls a workspace, project, group or member sets itself, leaving the rest.\n\nPrefer this to set_ai_policy for a targeted change, such as turning one model off: it never\nundoes a change someone else made meanwhile to a key it does not name. Project, group and\nmember controls are an Enterprise feature. Requires workspace settings admin (content policy\nauthor for a project), and workspace billing admin to set usage caps.",
          "annotations": {
            "readOnlyHint": false
          }
        },
        {
          "name": "reactivate_member",
          "description": "Reactivate a suspended workspace member, restoring their access.\n\nThe membership is set back to ACTIVE with its previous role. This is the inverse\nof suspend_member. Fails if the workspace has invites disabled or the email is not\na current member. Requires workspace member-edit permission.",
          "annotations": {
            "readOnlyHint": false
          }
        },
        {
          "name": "remove_group_member",
          "description": "Remove a member from a group by email.\n\nFails for identity-provider-managed groups. Requires workspace billing-admin permission.",
          "annotations": {
            "readOnlyHint": false,
            "destructiveHint": true,
            "idempotentHint": false
          }
        },
        {
          "name": "remove_group_usage_limit",
          "description": "Remove a group's Creative-Units cap.\n\nRequires workspace billing-admin permission.",
          "annotations": {
            "readOnlyHint": false
          }
        },
        {
          "name": "remove_project_member",
          "description": "Remove a member from a project by email.\n\nRemoving another member requires workspace project-edit permission plus being a\nproject member (workspace admins are exempt); a user can always remove themselves.\nDoes not remove them from the workspace — use suspend_member for that.",
          "annotations": {
            "readOnlyHint": false,
            "destructiveHint": true,
            "idempotentHint": false
          }
        },
        {
          "name": "resend_invite",
          "description": "Email an invitation again with a new link and a fresh 14-day expiry.\n\nThe old link stops working. An expired invitation can be sent again; an accepted or\nrevoked one cannot. Requires workspace member-edit permission.",
          "annotations": {
            "readOnlyHint": false
          }
        },
        {
          "name": "revoke_invite",
          "description": "Withdraw an invitation that has not been accepted, so its link no longer joins the\nworkspace. Requires workspace member-edit permission.",
          "annotations": {
            "readOnlyHint": false,
            "destructiveHint": true,
            "idempotentHint": false
          }
        },
        {
          "name": "set_ai_policy",
          "description": "Replace the AI controls a workspace, project, group or member sets itself.\n\nProject, group and member controls are an Enterprise feature. Read the scope with\nget_ai_policy first and send back the whole policy with your change. Requires workspace\nsettings admin (content policy author for a project).",
          "annotations": {
            "readOnlyHint": false
          }
        },
        {
          "name": "set_group_usage_limit",
          "description": "Set a group's Creative-Units cap for a period.\n\nRequires workspace billing-admin permission.",
          "annotations": {
            "readOnlyHint": false
          }
        },
        {
          "name": "suspend_member",
          "description": "Suspend a workspace member, revoking their access without deleting them.\n\nThe membership is set to SUSPENDED (reversible with reactivate_member); the\nmember's role is preserved. Fails if the workspace has suspends disabled or the\nemail is not a current member. Requires workspace member-edit permission.",
          "annotations": {
            "readOnlyHint": false,
            "destructiveHint": true,
            "idempotentHint": false
          }
        },
        {
          "name": "update_group_role",
          "description": "Set or clear the workspace role a group grants its members.\n\nTakes effect immediately for all members. Requires workspace billing-admin permission.",
          "annotations": {
            "readOnlyHint": false
          }
        },
        {
          "name": "update_project",
          "description": "Update a project's name, description, instructions, archive status, or visibility.\n\nContent fields (name/description/instructions) can only be changed while the project\nis active; unarchive it first. To delete a project use delete_project. Requires\nworkspace project-edit permission. Visibility ('workspace' or 'members') can only be\nchanged by a member of the project; a workspace admin outside it is refused.\n\n`instructions` is deprecated: attach a skill to the project instead of writing\nstanding guidance here.",
          "annotations": {
            "readOnlyHint": false
          }
        }
      ],
      "resources": [],
      "mcp_apps": {
        "supported": false,
        "specification": {
          "name": "MCP Apps",
          "extension": "io.modelcontextprotocol/ui",
          "version": "2026-01-26",
          "url": "https://github.com/modelcontextprotocol/ext-apps/blob/main/specification/2026-01-26/apps.mdx",
          "documentation_url": "https://apps.extensions.modelcontextprotocol.io/api/"
        },
        "views": [],
        "tools": []
      }
    }
  ],
  "mcpServers": {
    "layer": {
      "type": "http",
      "url": "https://mcp.app.layer.ai/mcp"
    },
    "layer-management": {
      "type": "http",
      "url": "https://mcp.app.layer.ai/mcp-management"
    }
  },
  "developer_resources": [
    {
      "name": "Layer developer documentation",
      "url": "https://layer.ai/docs",
      "type": "text/html"
    },
    {
      "name": "Layer API quickstart",
      "url": "https://layer.ai/docs/quickstart",
      "type": "text/html"
    },
    {
      "name": "Layer API authentication",
      "url": "https://layer.ai/docs/authentication",
      "type": "text/html"
    },
    {
      "name": "Layer REST API reference",
      "url": "https://layer.ai/docs/v2/rest-api",
      "type": "text/html"
    },
    {
      "name": "Layer OpenAPI description",
      "url": "https://layer.ai/openapi.json",
      "type": "application/json"
    },
    {
      "name": "Layer API index",
      "url": "https://layer.ai/api/index.json",
      "type": "application/json"
    },
    {
      "name": "Layer agent onboarding",
      "url": "https://layer.ai/api/onboarding.json",
      "type": "application/json"
    },
    {
      "name": "Layer self-serve access guide",
      "url": "https://layer.ai/docs/self-serve-access",
      "type": "text/html"
    },
    {
      "name": "Layer API catalog",
      "url": "https://layer.ai/.well-known/api-catalog",
      "type": "application/linkset+json"
    },
    {
      "name": "Layer AI catalog",
      "url": "https://layer.ai/.well-known/ai-catalog.json",
      "type": "application/json"
    },
    {
      "name": "Layer ARD manifest",
      "url": "https://layer.ai/.well-known/ard.json",
      "type": "application/json"
    },
    {
      "name": "Layer Agent Skills index",
      "url": "https://layer.ai/.well-known/agent-skills/index.json",
      "type": "application/json"
    },
    {
      "name": "Layer Agent Skills pack",
      "url": "https://layer.ai/agent-skills",
      "type": "text/html"
    },
    {
      "name": "Layer MCP server",
      "url": "https://layer.ai/mcp",
      "type": "text/html"
    },
    {
      "name": "Layer command-line interface",
      "url": "https://layer.ai/cli",
      "type": "text/html"
    },
    {
      "name": "Layer command-line interface on PyPI",
      "url": "https://pypi.org/project/layer/",
      "type": "text/html"
    },
    {
      "name": "Layer JavaScript SDK",
      "url": "https://layer.ai/docs/sdk",
      "type": "text/html"
    },
    {
      "name": "Layer JavaScript SDK on npm",
      "url": "https://www.npmjs.com/package/@layer_ai/sdk",
      "type": "text/html"
    },
    {
      "name": "Layer JavaScript SDK on GitHub",
      "url": "https://github.com/layerai/sdk-ts",
      "type": "text/html"
    },
    {
      "name": "Layer MCP manifest",
      "url": "https://layer.ai/.well-known/mcp",
      "type": "application/json"
    },
    {
      "name": "Layer MCP setup guide",
      "url": "https://layer.ai/docs/mcp/setup",
      "type": "text/html"
    },
    {
      "name": "Layer API rate limits",
      "url": "https://layer.ai/docs/rate-limits",
      "type": "text/html"
    },
    {
      "name": "Layer API versioning",
      "url": "https://layer.ai/docs/versioning",
      "type": "text/html"
    },
    {
      "name": "Layer API deprecation policy",
      "url": "https://layer.ai/docs/deprecation",
      "type": "text/html"
    },
    {
      "name": "Layer API errors",
      "url": "https://layer.ai/docs/errors",
      "type": "text/html"
    },
    {
      "name": "Layer OAuth authorization server metadata",
      "url": "https://auth.app.layer.ai/.well-known/oauth-authorization-server",
      "type": "application/json"
    }
  ]
}
