Skip to main content
Glama

Seed Media Persist Url

seed_media_persist_url

Persist an expiring BytePlus provider output URL as a durable artifact and return its ArtifactRef before the media link expires.

Instructions

Persist a provider output URL as a durable artifact and return its ArtifactRef.

Use when a generation result has an artifact with id 'provider-url' and a persistence_error, before the URL expires (2h audio, 24h image/video, 1h OmniHuman). Non-BytePlus hosts are rejected.

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": {
      "input": "<input>"
    },
    "name": "seed_media_persist_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesInput model for ``seed_media_persist_url``.

Output Schema

NameRequiredDescriptionDefault
artifactYesThe durable artifact.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already declare readOnly=false, openWorld=true, idempotent=false, and destructive=false. The description adds useful behaviour beyond them: source URLs expire (2h audio, 24h image/video, 1h OmniHuman) and non-BytePlus hosts are rejected. It never mentions that repeat calls create additional artifacts, which matters given idempotentHint=false.

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

Conciseness5/5

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

Two sentences and a short parenthetical, with the action and return value front-loaded and the trigger condition and limits following. No padding or restated field documentation.

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

Completeness5/5

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

For a single nested-input tool with full schema coverage, full annotations, and an output schema, the description covers purpose, trigger condition, timing constraints, and host restrictions. Nothing an agent needs in order to decide and call correctly is missing.

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 100%, so the baseline is 3. The description still adds meaning by tying 'url' to the uri of an ArtifactRef whose id is 'provider-url' and by tying the expiry windows to the source_expires_at field, which is knowledge the schema alone does not convey.

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?

The description states a specific verb and resource: 'Persist a provider output URL as a durable artifact and return its ArtifactRef.' It also gives the exact triggering artifact state ('id provider-url' plus a persistence_error), which clearly separates it from the read/export siblings such as seed_media_get_artifact and seed_media_export_artifact.

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?

It says precisely when to call it (a generation result with a provider-url artifact that has a persistence_error) and adds a time-sensitive constraint with per-media expiry windows plus a host restriction. It does not explicitly name alternatives or state when not to persist (e.g. the artifact is already durable), so it stops short of full routing guidance.

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