Skip to main content
Glama

Seed Media Export Artifact

seed_media_export_artifact
Idempotent

Export a persisted artifact by retrieving its local file path or copying it to a destination path, avoiding Base64 streaming through context.

Instructions

Get the local file path of a persisted artifact, or copy it to destination_path.

Avoids streaming Base64 through context. Stdio transport only (client and server share a filesystem).

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

Input Schema

NameRequiredDescriptionDefault
inputYesInput model for ``seed_media_export_artifact``.

Output Schema

NameRequiredDescriptionDefault
pathYesAbsolute on-disk path of the file.
bytesYesSize in bytes.
copiedYesTrue when path is a copy at destination_path; false when it is the store location.
sha256NoSHA-256 hex digest.
mime_typeYesMIME type of the stored content.
media_typeYesimage, audio, or video.
artifact_idYesArtifact identifier.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, but the description adds context the annotations cannot: the tool writes/copies files to a destination, and it only works under stdio transport where client and server share a filesystem. It stops short of describing overwrite failures or allowed-root enforcement, which the schema carries instead.

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, front-loaded with the primary action and followed by the rationale and the transport constraint. No sentence is padding.

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?

With an output schema present, return values need no explanation, and the transport/filesystem caveat covers the biggest non-obvious risk. The remaining gap is error and permission behavior for copy destinations, though the schema's allowed-root note partly compensates.

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 100%, with artifact_id, destination_path (including allowed output roots) and overwrite all documented inline, so the baseline is 3. The description's contribution is mainly motivational ("Avoids streaming Base64 through context") rather than adding new meaning to any individual parameter.

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

Purpose4/5

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

The description names a specific verb+resource pair (get the local file path of a persisted artifact) and enumerates the second mode (copy to destination_path). It implicitly distinguishes itself from siblings that return artifact content by emphasizing file paths rather than bytes, but it never names a sibling explicitly.

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

Usage Guidelines3/5

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

It gives a real constraint ("Stdio transport only (client and server share a filesystem)") and explains the rationale for the copy mode, which guides selection. However, it never states when to prefer this over seed_media_get_artifact or seed_media_persist_url, leaving the alternative-vs-this decision to inference.

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