Skip to main content
Glama

Kling AI MCP Server by useapi.net (third-party)

Create an element

kling_create_element

Save a reusable element on a Kling account from an image (coverImage, plus up to 3 extra views) or a 3 s+ video (video; Kling keeps its first 8 s). A character can get a voice: a name from kling_list_element_voices, or a public URL of a voice sample (an MP4 with speech, 5-60 s). Give tag and description to skip Kling's auto-detection. A random 5-character suffix is added to the name. A voice URL is saved as a voice before the tag is checked, so give a voice only to character elements. generateViews costs 5 Kling credits, nothing while the account has free element uses left from Kling; takes ~5-30 s. POST /elements.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>"
    },
    "name": "kling_create_element"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNoA tag id or key from kling_list_element_tags, e.g. character. Default: detected by Kling.
nameYesElement name, up to 15 characters.
emailNoThe Kling account email. Required when the token has several Kling accounts.
videoNoThe element's video, at least 3 s and 700 px (instead of coverImage): a public https URL, best one from kling_upload_asset (Kling must be able to fetch it).
voiceNoCharacter elements: a voice name / id from kling_list_element_voices, or a public URL of a voice sample.
coverImageNoThe element's image (instead of video): a public https URL, best one from kling_upload_asset (Kling must be able to fetch it).
descriptionNoDescription, up to 100 characters. Default: written by Kling.
extraImage1NoExtra view 1 (image elements): a public https URL, best one from kling_upload_asset (Kling must be able to fetch it).
extraImage2NoExtra view 2 (image elements): a public https URL, best one from kling_upload_asset (Kling must be able to fetch it).
extraImage3NoExtra view 3 (image elements): a public https URL, best one from kling_upload_asset (Kling must be able to fetch it).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations (which only say it is a non-idempotent, non-destructive, open-world write) by disclosing credit cost (5 Kling credits for generateViews, free while free element uses remain), latency (~5-30 s), side effects (a random 5-character suffix is appended to the name; only the first 8 s of a video are kept), and an ordering hazard (a voice URL is saved as a voice before the tag is checked).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action and source choice, then layered constraints, cost and latency; nearly every clause carries information. Slightly dense with stacked parentheticals, which makes it harder to scan than it needs to be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 10-parameter mutation tool with no output schema, the description covers cost, latency, mutation side effects and validation constraints well. Two gaps remain: it never indicates what is returned (presumably an element id) and it mentions a generateViews option absent from the schema, which could confuse an agent trying to control view generation.

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

Parameters4/5

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

Schema coverage is already 100%, so 3 is the baseline, but the description adds real meaning the schema does not: video must be at least 3 s and 700 px and only its first 8 s are kept, a voice sample must be an MP4 with speech of 5-60 s, and tag/description override Kling's auto-detection. Minor deduction for referencing a 'generateViews' option that does not appear in the input schema.

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

Purpose5/5

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

States a specific verb and resource ('Save a reusable element on a Kling account') and immediately enumerates the two supported sources (image with coverImage + up to 3 extra views, or a 3 s+ video). This is clearly distinguishable from siblings like kling_create_avatar or kling_elements_video, and ends with the concrete endpoint POST /elements.

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

Usage Guidelines4/5

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

Gives explicit conditional guidance: image vs video input, when to supply a voice (character elements only), and when to supply tag/description to skip Kling's auto-detection, plus pointers to kling_list_element_voices and kling_list_element_tags. It lacks an explicit 'use X instead' routing statement against the other create-style siblings, so it stops short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources