Skip to main content

MCP tool reference

This page describes the 22 tools of the OAuth remote MCP. The five workflow tools (get_media_workflow, analyze_video, get_video_analysis, generate_workflow_media, record_workflow_delivery) and make_frames are offered to signed-in remote connections only. The connected server’s tools/list is authoritative. Local stdio does not expose prepare_upload or get_upload; its upload_file also accepts paths within explicitly allowed directories. The name and arguments examples describe MCP tool calls, not REST request bodies. An example does not authorize a paid generation.

search_models

Returns models, total_matches, page, page_size, and next_page. Entries include canonical IDs, aliases, references, documentation coverage, and starting prices. Ordering considers keyword relevance first, then price availability, editorial preference, and ID. It is not a quality or popularity ranking. Starting prices are not task totals, and availability can change between pages.

recommend_models

Returns documented candidates with reasons, reference_inputs, selection_basis, and unit pricing. Required reference types must have documented input fields. If no model matches, adjust the request transparently rather than dropping a necessary reference. Editorial preferences are not live popularity or release-date statistics.

search_docs

Returns documents, total_matches, scope, and source version. It searches bundled official model titles, IDs, and parameter descriptions for available models. It does not crawl the live documentation site or search account and billing documentation.

get_model

Required model: a string of 1–128 characters, using a returned canonical ID or supported alias.
Returns the canonical model, requirements, examples, prices (your account’s own with your login or API key), reference_inputs, parameters_source, and, when available, input_schema with its source. Parameter references are versioned; account availability is queried live. Follow missing-information warnings rather than inventing defaults.

estimate_cost

Returns input_valid, problems, warnings, estimate, pricing_scope (account: your account’s own prices; public_default: public default prices without account discounts), final_budget_enforced, and balance/limits when available. The estimate status can be estimated, partial, token_billed, needs_input, or no_price; token_billed carries a reference price billed by actual tokens. When the price depends on usage the input does not give, the estimate has no amount and no pricing_quote: total_known is false, missing_usage names each missing value and usage_help says how to supply it. See billing. A successful query does not prove valid input or a complete quote. An estimate that can be approved also returns pricing_quote, the approval record for exactly this input. After the user approves, pass it with the same input to the generation tool. It holds for 24 hours from the estimate (expires_at), at the approved price or lower: the generation tool estimates again and submits when the price is unchanged or lower, also under later pricing rules. A higher price is refused with price_changed, a changed input with quote_input_changed, and an expired pricing_quote with quote_expired; each needs a new estimate and approval. With inputs, the result lists each input’s estimate and the total, and one pricing_quote approves exactly those inputs in that order. It never approves a single input, and a single input’s pricing_quote never approves a batch. This tool has no max_cost_usd argument and does not produce the CLI’s local quote_id. MCP budget checks belong to generation tools. media_seconds does not set output duration or fill unknown reference-video multipliers.

get_pricing_rules

Returns pricing rules: each billing component’s unit rate (decimal strings), minimum charge, tiers and full expressions, plus price_scope and price_selection. With your login or API key they are your account’s own prices (price_scope: account), otherwise the public default ones without account discounts (price_scope: public_default). These are reference rates, not a task quote, a bill or a final spending cap; do not multiply unit rates into a bill. Use estimate_cost for the expected cost of a specific generation; it evaluates the same rules for the actual input. An empty result means no matching rules, not a free model. In a list, a model whose rules cannot be read or are incomplete is left out, listed in rejected_models and named in warnings; the other models are returned as usual, and a left-out model is not free. A single-model lookup still fails when its rules cannot be read.

generate_image, generate_video, generate_audio

Choose the tool matching the output type. They share these top-level arguments: Inspect the model and inputs, estimate the complete request, disclose limitations, and obtain explicit cost approval before calling, unless the user opted out of estimates (below). This is an illustrative call shape:
Image generation waits for up to approximately 40 seconds, returning results if ready or a task_id otherwise. Video and audio return a task_id after submission; continue with get_task. wait_seconds changes this wait for each of the three tools. Submission can report a precharge, which must be distinguished from completed-task cost. Query a running task rather than calling generation again to check progress. If the response is lost, retain the original ID, account, inputs, and request identifier. A different identifier creates a new paid intent. Client recovery protections do not prove identical backend idempotency guarantees across all production nodes. Generating without an estimate. When the user explicitly says not to estimate or confirm (for example “generate directly” or “from now on just generate”), the assistant skips estimate_cost and the confirmation and passes skip_estimate: true, within the scope the user gave: this task, this batch or the rest of the conversation. It never infers this from silence, the balance or its own suggestion. When the user opts out for the rest of the conversation, the assistant says once that later generations will be submitted without asking; a new conversation, or asking to restore estimates, brings them back. The generation is submitted even when its price cannot be computed or a pricing_quote is refused as expired, higher-priced or changed, and the result says so (estimate_skipped, estimate_skip_reason); the task is charged by actual usage. Invalid input is still refused, an explicit max_cost_usd still applies (a request over it, or one whose price cannot be checked against it, is not submitted), and enabling model web or image search still needs the user’s approval. If an estimate fails or has no total and the user has not opted out, the assistant asks once whether to generate anyway at actual usage. Batches. For several tasks of one model, pass inputs (1–50 items, each like input) to estimate_cost and then, with its pricing_quote, to the generation tool: one estimate, one approval for the total, and one call that submits every item (up to 10 at a time) and returns each item’s task_id or error without waiting. If any item is invalid, nothing is submitted. max_cost_usd applies to the batch total; media_seconds and pricing_parameters apply to every item. Collect the results with list_tasks (task_ids, up to 50 per call). Submit tasks of different models one per call with wait_seconds: 0. Do not rely on n for the image count: some models, such as GPT Image, often return fewer images than n, so use one item per image. No item starts more than 25 seconds after the call began, and a started submission is never cut off; items not started are listed as not submitted. To finish a batch, call again with the same client_request_id and exactly the same inputs within 24 hours of the first submission: the items the result lists to finish are submitted, and accepted items return their original tasks without a new charge. If the pricing_quote has expired by then, estimate the same inputs again and pass the new one. For an item with an unknown outcome, retry later the same way or check list_tasks. Within those 24 hours, never resubmit accepted, not-submitted or unknown-outcome items under a new client_request_id: that creates and charges new tasks. After them the same client_request_id no longer prevents a second charge: check list_tasks first, then submit only the items that did not go through, as a new batch with a new estimate and client_request_id. An item whose input differs from what that client_request_id submitted earlier is refused (idempotency_conflict); it is a new task that needs its own estimate, approval and client_request_id.

get_task

Returns status, progress, results, reported cost, or error. Continue querying the same ID while it runs. A failed task returns its error code (error.code), the explanation the API also returns (error.message), and a billing_note: the task is not charged, and the credits reserved at submission are returned automatically. Original results are generally retained for 24 hours. Preview rendering depends on the host client. A completed Seedance 2.5 draft also returns draft_expires_at, the time until which it can be converted with seedance-2.5-draft-to-video. A task converted from a draft returns source_task_id, the task ID of that draft.

list_tasks

task_ids cannot be combined with status/type/model/page/since/until. Batch mode returns tasks and missing; history returns total/page/page_size/next_page/last_page. If result links or error codes cannot be read for finished rows, the base page is kept: details_status, a per-row details_reason (read_failed, invalid or not_returned) and details_retry_task_ids say what is missing and what to retry for free; check not_returned rows with get_task. processing includes queued tasks. Time filters apply to the selected page; total is counted before time filtering. History is account-wide, not limited to this conversation. An empty page does not prove that submission never happened.

get_task_usage

Returns totals, by_model, by_status, coverage, and as_of. Inspect missing_cost_tasks, truncated, concurrent_change_detected, and complete_for_retained_tasks. It summarizes reported costs for retained completed account tasks. It is not a complete invoice, payment/refund ledger, MCP-only usage report, or settlement limit.

check_balance

No arguments:
Returns account_balance_credits/usd, spent_scope, spent_credits, and available total/daily limits with console links. OAuth Key spending includes the account’s CLI and all OAuth MCP sessions, rather than only this conversation.

upload_file

Replace the URL with actual accessible media. Returns file_url, file properties, and expiration information. References are generally retained for 72 hours. Remote MCP cannot accept file_path. Local stdio can instead use an absolute path in an allowed directory; choose exactly one source. Successful upload does not prove that the selected model supports the media.

prepare_upload

Required file_name: string with an extension used to determine media type. Optional upload_path: relative directory.
Returns upload_id, upload_url, method:PUT, command, max_bytes, and expires_at. The URL lasts approximately 15 minutes, is single-use, and accepts at most 95 MiB. Run the returned command where the file can actually be read, then use the confirmed file_url. A browser attachment may not be accessible this way. The address contains temporary authorization; do not publish it or append a personal Key.

get_upload

Required upload_id, from the original prepare result:
States include waiting/uploading/done/failed/expired/outcome_unknown. Use file_url only after a confirmed done result. Server-local state lasts about one hour; compatible file services can provide receipts for approximately 72 hours. Unsupported or unverifiable receipts can yield outcome_unknown. Querying does not upload the file again; retain the original ID and inspect status first.

get_media_workflow

Signed-in remote connections only. Returns the step-by-step rules of an EvoLink workflow, one section at a time, and one estimated total for a planned run. See Rebuild a reference ad.
The first call returns the overview, run_id and the list of sections. With estimate and no section, only the estimate is returned: total_credits, total_usd, what it covers, valid_until, and whether the balance and any EvoLink MCP limit cover it (enough_balance, short_by_credits, enough_limit). Nothing is charged. The total uses your account’s own prices (public default prices if those cannot be read, as the estimate then says) and holds for 24 hours; charges follow actual usage.

analyze_video

Signed-in remote connections only. Analyzes one video for a workflow step. Billed by tokens to the signed-in account and part of the workflow’s estimated total; do not call it before the user has confirmed that total.
Pass exactly one of video_url and input_task_id. Returns status, analysis, analysis_id, token usage, charged and charged_by_this_call. The file is checked before anything is charged; a link that cannot be read, a file that is not a video or one that is too long is refused with the reason. The same inputs within 24 hours return the first result and are not charged again (charged_by_this_call:false), so after a timeout or a dropped connection, send exactly the same call. A slow analysis returns status:processing with an analysis_id for get_video_analysis. Each account can start a limited number of analyses per minute and per day; the error says how long to wait. Each charge appears in the dashboard history as a Gemini model call.

get_video_analysis

Signed-in remote connections only. Required analysis_id, from analyze_video:
Waits up to about 30 seconds and returns the finished analysis, or status:processing again. Free. Results are kept for about an hour; when an ID is no longer held, send the original analyze_video call again with the same inputs.

generate_workflow_media

Signed-in remote connections only, offered when the workflow’s rules name generation steps. Submits one paid generation as a step of a workflow run, so that the task can be found from its run later. Estimates, approval, prices and retries are those of generate_image, generate_video and generate_audio, and so are the other parameters.
Returns what the generate tools return. A step that is not a generation step of that run for the given kind is refused before anything is submitted, and nothing is charged. Tying a task to its run is a record only: it changes neither the price nor the result, and when the record cannot be made the generation is submitted all the same.

record_workflow_delivery

Signed-in remote connections only, offered together with generate_workflow_media. Free. Records which completed video of a workflow run was delivered.
Returns delivered_task_id. A task that is not a completed video of this run and account is refused. If the selection cannot be recorded just now, deliver the video as planned and try again later.

make_frames

Signed-in remote connections only, offered together with the workflow tools. Free. It lets an assistant that cannot run commands look at the frames of a video and prepare images; an assistant with a terminal does the same work faster with ffmpeg on its own machine.
  • contact_sheet: frames of a video at a fixed rate, tiled into one picture with the time on each tile, plus how much each frame differs from the one before (0 to 1), which shows where the cuts are. One sheet looks at up to 30 seconds, or 15 seconds of a video larger than 1440p, and holds up to 24 tiles; next_start_seconds says where to continue.
  • frame: the full-size frame at time_seconds, stored as a PNG file link that can be used as an image input, for example as a cover. When the PNG would be over 16 MB, as a detailed 4K frame can be, it is stored as a high-quality JPEG of the same size.
  • crop: an exact rectangle of an image, not scaled, stored as a PNG file link.
  • board: 2 to 24 images side by side, numbered in the order given, to review them together.
Nothing is charged (charged: "no"). Sources must be EvoLink file links or result links; other links are refused. Each account can call make_frames 10 times a minute; the error says how long to wait. Stored pictures expire like other uploads.

Results and errors

Tools return readable text and structuredContent; failures can include isError/error/next_step. Completed media can include resource_link and an optional image thumbnail. Hosts differ in content-block support. The original URL remains the delivery reference; previews are not guaranteed in every host. Check tool errors and business fields such as input_valid, estimate status, and task.status. HTTP 200 alone does not establish generation success. Submission timeout may follow task creation and is not proof of no charge. A failed query is not proof that the original task failed.

Task progress and results

Use balance and model queries for free connection verification. Use get_task/list_tasks for existing tasks, then deliver original URLs and reported actual costs. The workflow guide covers references, recovery, saving, and gray previews. A display problem must not trigger another paid generation.

MCP protocol and backend APIs

The remote endpoint is https://mcp.evolink.ai/mcp. Passport provides OAuth; the server requests https://api.evolink.ai and the file service. MCP URLs, platform /v1 routes, documentation, and llms.txt are separate entry points.

Initialize and call tools

Let the host or MCP SDK handle initialize, protocol versions, Accept, authentication, sessions, and content blocks. Read tools/list after initialization, then call tools/call:
Examples using name / arguments describe tool input, not REST request bodies. Tools can return text, structured data, resource links, and thumbnails; display depends on the host. Check tool errors and task status, not just HTTP success.

Tools and backend operations

Model parameters belong in arguments.input and are converted to REST requests by the server. media_seconds is a billing hint; max_cost_usd only checks estimates before submission. With your login or API key, MCP estimates at your account’s own prices; otherwise from the public default pricing rules (reference rates, no account discounts). It still has no final settlement cap.

Uploads, recovery, and access

Use a prepare_upload PUT URL only in an environment that can read the file, then query get_upload. A remote server cannot read desktop paths, and chat attachments may not expose original bytes. See reference uploads. Save client_request_id, normalized inputs, account identity, and returned task_id for paid submissions. Query the original task and history when the outcome is unknown; do not change identifiers to resubmit. Client identifiers alone cannot guarantee uniform backend protection against every duplicate charge. OAuth exposes limited media operations, not arbitrary Key management or administrative APIs. No usable cancellation tool is currently provided; stopping a wait does not cancel the task. CLI commands and execution are documented separately in the CLI reference.

CLI command documentation

The complete CLI reference is now in the separate CLI section. This page documents MCP tools and protocol.