Skip to main content

Asset Compare

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

WRITEffmpeg.asset_compare
  • Contract tier: agent_ready
  • Risk: write
  • Catalog version: 2026-07-12.3
  • Descriptor hash: 9fafca77d765b0704c493f695b4d98dbc0bf848f4c0590f44e38d88f7fb0fe7a

Use this to score and rank multiple staged assets against one named rubric. It queues analysis and returns a job ID or cached ranking without changing the compared media.

Request Body

{
"jsonrpc": "2.0",
"id": "ffmpeg-asset-compare-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.asset_compare",
"arguments": {
"asset_ids": [],
"rubric_name": "rubric_name_example",
"priority": "",
"target_preset": ""
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"asset_ids",
"rubric_name"
],
"properties": {
"priority": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Optional queue priority configured by the server, such as urgent or batch."
},
"asset_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "Ordered stable IDs of staged FFmpeg media assets."
},
"rubric_name": {
"type": "string",
"description": "Exact approved quality rubric name."
},
"target_preset": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Optional approved preset used as the target for analysis scoring."
}
},
"additionalProperties": false
}

Output Schema

{
"type": "object",
"required": [
"job_id",
"cache_hit"
],
"properties": {
"job_id": {
"type": "string",
"description": "Stable comparison job ID."
},
"ranking": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"description": "Ranked asset reports when available from cache."
},
"cache_hit": {
"type": "boolean",
"description": "Whether a cached ranking was reused."
}
},
"additionalProperties": false
}

Code Examples

curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "ffmpeg-asset-compare-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.asset_compare",
"arguments": {
"asset_ids": [],
"rubric_name": "rubric_name_example",
"priority": "",
"target_preset": ""
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool ffmpeg.asset_compare executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}