Skip to main content
Glama

Seed Media Get Artifact

seed_media_get_artifact
Read-onlyIdempotent

Retrieve persisted media by artifact ID as Base64 plus metadata after provider URLs expire, keeping generated audio, image, and video artifacts accessible.

Instructions

Fetch persisted media by artifact ID as Base64 plus metadata.

Use after the provider URL has expired (2h audio, 24h image/video). Large files cost context; prefer seed_media_export_artifact on stdio.

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_get_artifact"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes

Output Schema

NameRequiredDescriptionDefault
dataYesBase64-encoded media data.
bytesYesSize of the stored content in bytes.
sha256YesSHA-256 hex digest of the stored content.
mime_typeYesMIME type of the stored content.
expires_atNoISO-8601 expiry of the stored artifact, if any.
media_typeYesimage, audio, or video.
artifact_idYesArtifact identifier.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so safety is covered; the description adds genuinely new behavior: URL expiry windows per media type, the Base64 return format, and the context-cost tradeoff for large files. It stops short of saying what happens when the artifact is missing or itself past retention, which is the remaining behavioral gap.

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?

Three short sentences: what it does, when to reach for it, and the cheaper alternative. The precondition is front-loaded and no sentence is filler.

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 single-parameter read with an output schema that already defines the Base64/metadata payload, the description covers purpose, timing, cost and the sibling alternative — enough to call it correctly. Only failure/expiry-error behavior is unaddressed, a minor gap at this complexity.

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

Parameters3/5

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

Schema description coverage is reported as 0%, so the description must carry the parameter burden, and it only restates 'by artifact ID' without adding format, source, or validity constraints. The nested schema field does say the ID comes from a generation result (ArtifactRef.id), so meaning is not lost overall, but the description itself adds little.

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 names a specific verb ('Fetch') and resource ('persisted media by artifact ID') and states the return shape ('as Base64 plus metadata'). It also distinguishes itself from seed_media_export_artifact by scope (context cost / stdio), so an agent can tell the two apart without opening a schema.

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

Usage Guidelines5/5

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

It gives an explicit trigger condition ('Use after the provider URL has expired (2h audio, 24h image/video)') and names the alternative with the condition that selects it ('prefer seed_media_export_artifact on stdio'). Both when-to-use and when-to-prefer-a-sibling are stated.

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