Skip to main content
Glama

Influence

Read media

mediaGet
Read-onlyIdempotent

Returns one owned ready image or MP4. Compatible MCP clients receive JPEG/PNG pixels up to 6 MiB. All formats include a five-minute previewUrl for viewing in chat; request mediaGet again if it expires. Larger JPEG/PNG, GIF, WebP and videos return metadata without downloading their bytes; images support up to 20 MiB and compatible MP4 videos up to 5 GB. Reading media grants no publication approval.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
assetIdYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "ok": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "output": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "altText": {
      -                "maxLength": 2000,
      -                "type": "string"
      -              },
      -              "assetId": {
      -                "$ref": "#/$defs/__schema0"
      -              },
      -              "contentType": {
      -                "enum": [
      -                  "image/jpeg",
      -                  "image/png"
      -                ],
      -                "type": "string"
      -              },
      -              "height": {
      -                "exclusiveMinimum": 0,
      -                "maximum": 9007199254740991,
      -                "type": "integer"
      -              },
      -              "previewExpiresAt": {
      -                "exclusiveMinimum": 0,
      -                "maximum": 9007199254740991,
      -                "type": "integer"
      -              },
      -              "previewUrl": {
      -                "$ref": "#/$defs/__schema1"
      -              },
      -              "sizeBytes": {
      -                "exclusiveMinimum": 0,
      -                "maximum": 6291456,
      -                "type": "integer"
      -              },
      -              "width": {
      -                "exclusiveMinimum": 0,
      -                "maximum": 9007199254740991,
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "assetId",
      -              "contentType",
      -              "sizeBytes"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "altText": {
      -                "maxLength": 2000,
      -                "type": "string"
      -              },
      -              "assetId": {
      -                "$ref": "#/$defs/__schema0"
      -              },
      -              "contentType": {
      -                "enum": [
      -                  "image/jpeg",
      -                  "image/png",
      -                  "image/gif",
      -                  "image/webp"
      -                ],
      -                "type": "string"
      -              },
      -              "height": {
      -                "exclusiveMinimum": 0,
      -                "maximum": 9007199254740991,
      -                "type": "integer"
      -              },
      -              "previewExpiresAt": {
      -                "exclusiveMinimum": 0,
      -                "maximum": 9007199254740991,
      -                "type": "integer"
      -              },
      -              "previewUrl": {
      -                "$ref": "#/$defs/__schema1"
      -              },
      -              "reviewPath": {
      -                "const": "/app/media",
      -                "type": "string"
      -              },
      -              "sizeBytes": {
      -                "exclusiveMinimum": 0,
      -                "maximum": 20971520,
      -                "type": "integer"
      -              },
      -              "status": {
      -                "const": "ready",
      -                "type": "string"
      -              },
      -              "width": {
      -                "exclusiveMinimum": 0,
      -                "maximum": 9007199254740991,
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "assetId",
      -              "contentType",
      -              "height",
      -              "reviewPath",
      -              "sizeBytes",
      -              "status",
      -              "width"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "assetId": {
      -                "$ref": "#/$defs/__schema0"
      -              },
      -              "contentType": {
      -                "const": "video/mp4",
      -                "type": "string"
      -              },
      -              "durationSeconds": {
      -                "exclusiveMinimum": 0,
      -                "type": "number"
      -              },
      -              "height": {
      -                "exclusiveMinimum": 0,
      -                "maximum": 9007199254740991,
      -                "type": "integer"
      -              },
      -              "previewExpiresAt": {
      -                "exclusiveMinimum": 0,
      -                "maximum": 9007199254740991,
      -                "type": "integer"
      -              },
      -              "previewUrl": {
      -                "$ref": "#/$defs/__schema1"
      -              },
      -              "reviewPath": {
      -                "const": "/app/media",
      -                "type": "string"
      -              },
      -              "sizeBytes": {
      -                "exclusiveMinimum": 0,
      -                "maximum": 5000000000,
      -                "type": "integer"
      -              },
      -              "status": {
      -                "const": "ready",
      -                "type": "string"
      -              },
      -              "width": {
      -                "exclusiveMinimum": 0,
      -                "maximum": 9007199254740991,
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "assetId",
      -              "contentType",
      -              "durationSeconds",
      -              "height",
      -              "reviewPath",
      -              "sizeBytes",
      -              "status",
      -              "width"
      -            ],
      -            "type": "object"
      -          }
      -        ]
      -      },
      -      "toolName": {
      -        "const": "mediaGet",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "output",
      -      "toolName"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "enum": [
      -              "INVALID_INPUT",
      -              "FORBIDDEN",
      -              "NOT_FOUND",
      -              "CONFLICT",
      -              "FEATURE_DISABLED",
      -              "CONFIRMATION_REQUIRED",
      -              "CONFIRMATION_INVALID",
      -              "UPSTREAM_FAILED",
      -              "NEEDS_REVIEW",
      -              "INTERNAL"
      -            ],
      -            "type": "string"
      -          },
      -          "message": {
      -            "maxLength": 2048,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "retryable": {
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message",
      -          "retryable"
      -        ],
      -        "type": "object"
      -      },
      -      "ok": {
      -        "const": false,
      -        "type": "boolean"
      -      },
      -      "toolName": {
      -        "const": "mediaGet",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "error",
      -      "ok",
      -      "toolName"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "ok": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "output": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "altText": {
      +                "maxLength": 2000,
      +                "type": "string"
      +              },
      +              "assetId": {
      +                "$ref": "#/$defs/__schema0"
      +              },
      +              "contentType": {
      +                "enum": [
      +                  "image/jpeg",
      +                  "image/png"
      +                ],
      +                "type": "string"
      +              },
      +              "height": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 9007199254740991,
      +                "type": "integer"
      +              },
      +              "previewExpiresAt": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 9007199254740991,
      +                "type": "integer"
      +              },
      +              "previewUrl": {
      +                "$ref": "#/$defs/__schema1"
      +              },
      +              "sizeBytes": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 6291456,
      +                "type": "integer"
      +              },
      +              "width": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 9007199254740991,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "assetId",
      +              "contentType",
      +              "sizeBytes"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "altText": {
      +                "maxLength": 2000,
      +                "type": "string"
      +              },
      +              "assetId": {
      +                "$ref": "#/$defs/__schema0"
      +              },
      +              "contentType": {
      +                "enum": [
      +                  "image/jpeg",
      +                  "image/png",
      +                  "image/gif",
      +                  "image/webp"
      +                ],
      +                "type": "string"
      +              },
      +              "height": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 9007199254740991,
      +                "type": "integer"
      +              },
      +              "previewExpiresAt": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 9007199254740991,
      +                "type": "integer"
      +              },
      +              "previewUrl": {
      +                "$ref": "#/$defs/__schema1"
      +              },
      +              "reviewPath": {
      +                "const": "/app/media",
      +                "type": "string"
      +              },
      +              "sizeBytes": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 20971520,
      +                "type": "integer"
      +              },
      +              "status": {
      +                "const": "ready",
      +                "type": "string"
      +              },
      +              "width": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 9007199254740991,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "assetId",
      +              "contentType",
      +              "height",
      +              "reviewPath",
      +              "sizeBytes",
      +              "status",
      +              "width"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "assetId": {
      +                "$ref": "#/$defs/__schema0"
      +              },
      +              "contentType": {
      +                "const": "video/mp4",
      +                "type": "string"
      +              },
      +              "durationSeconds": {
      +                "exclusiveMinimum": 0,
      +                "type": "number"
      +              },
      +              "height": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 9007199254740991,
      +                "type": "integer"
      +              },
      +              "previewExpiresAt": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 9007199254740991,
      +                "type": "integer"
      +              },
      +              "previewUrl": {
      +                "$ref": "#/$defs/__schema1"
      +              },
      +              "reviewPath": {
      +                "const": "/app/media",
      +                "type": "string"
      +              },
      +              "sizeBytes": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 5000000000,
      +                "type": "integer"
      +              },
      +              "status": {
      +                "const": "ready",
      +                "type": "string"
      +              },
      +              "width": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 9007199254740991,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "assetId",
      +              "contentType",
      +              "durationSeconds",
      +              "height",
      +              "reviewPath",
      +              "sizeBytes",
      +              "status",
      +              "width"
      +            ],
      +            "type": "object"
      +          }
      +        ]
      +      },
      +      "toolName": {
      +        "const": "mediaGet",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "output",
      +      "toolName"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "enum": [
      +              "AI_SCHEDULING_LIMIT_REACHED",
      +              "AI_SCHEDULING_UNAVAILABLE",
      +              "INVALID_INPUT",
      +              "FORBIDDEN",
      +              "NOT_FOUND",
      +              "CONFLICT",
      +              "FEATURE_DISABLED",
      +              "CONFIRMATION_REQUIRED",
      +              "CONFIRMATION_INVALID",
      +              "UPSTREAM_FAILED",
      +              "NEEDS_REVIEW",
      +              "INTERNAL"
      +            ],
      +            "type": "string"
      +          },
      +          "message": {
      +            "maxLength": 2048,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "retryable": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message",
      +          "retryable"
      +        ],
      +        "type": "object"
      +      },
      +      "ok": {
      +        "const": false,
      +        "type": "boolean"
      +      },
      +      "toolName": {
      +        "const": "mediaGet",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "error",
      +      "ok",
      +      "toolName"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed2 schema fields changed
    • addedOutput schema / $defs / __schema1
      Added value: +{
      +  "format": "uri",
      +  "maxLength": 4096,
      +  "type": "string"
      +}
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "ok": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "output": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "altText": {
      -                "maxLength": 2000,
      -                "type": "string"
      -              },
      -              "assetId": {
      -                "$ref": "#/$defs/__schema0"
      -              },
      -              "contentType": {
      -                "enum": [
      -                  "image/jpeg",
      -                  "image/png"
      -                ],
      -                "type": "string"
      -              },
      -              "height": {
      -                "exclusiveMinimum": 0,
      -                "maximum": 9007199254740991,
      -                "type": "integer"
      -              },
      -              "sizeBytes": {
      -                "exclusiveMinimum": 0,
      -                "maximum": 6291456,
      -                "type": "integer"
      -              },
      -              "width": {
      -                "exclusiveMinimum": 0,
      -                "maximum": 9007199254740991,
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "assetId",
      -              "contentType",
      -              "sizeBytes"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "altText": {
      -                "maxLength": 2000,
      -                "type": "string"
      -              },
      -              "assetId": {
      -                "$ref": "#/$defs/__schema0"
      -              },
      -              "contentType": {
      -                "enum": [
      -                  "image/jpeg",
      -                  "image/png",
      -                  "image/gif",
      -                  "image/webp"
      -                ],
      -                "type": "string"
      -              },
      -              "height": {
      -                "exclusiveMinimum": 0,
      -                "maximum": 9007199254740991,
      -                "type": "integer"
      -              },
      -              "reviewPath": {
      -                "const": "/app/media",
      -                "type": "string"
      -              },
      -              "sizeBytes": {
      -                "exclusiveMinimum": 0,
      -                "maximum": 20971520,
      -                "type": "integer"
      -              },
      -              "status": {
      -                "const": "ready",
      -                "type": "string"
      -              },
      -              "width": {
      -                "exclusiveMinimum": 0,
      -                "maximum": 9007199254740991,
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "assetId",
      -              "contentType",
      -              "height",
      -              "reviewPath",
      -              "sizeBytes",
      -              "status",
      -              "width"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "assetId": {
      -                "$ref": "#/$defs/__schema0"
      -              },
      -              "contentType": {
      -                "const": "video/mp4",
      -                "type": "string"
      -              },
      -              "durationSeconds": {
      -                "exclusiveMinimum": 0,
      -                "type": "number"
      -              },
      -              "height": {
      -                "exclusiveMinimum": 0,
      -                "maximum": 9007199254740991,
      -                "type": "integer"
      -              },
      -              "reviewPath": {
      -                "const": "/app/media",
      -                "type": "string"
      -              },
      -              "sizeBytes": {
      -                "exclusiveMinimum": 0,
      -                "maximum": 262144000,
      -                "type": "integer"
      -              },
      -              "status": {
      -                "const": "ready",
      -                "type": "string"
      -              },
      -              "width": {
      -                "exclusiveMinimum": 0,
      -                "maximum": 9007199254740991,
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "assetId",
      -              "contentType",
      -              "durationSeconds",
      -              "height",
      -              "reviewPath",
      -              "sizeBytes",
      -              "status",
      -              "width"
      -            ],
      -            "type": "object"
      -          }
      -        ]
      -      },
      -      "toolName": {
      -        "const": "mediaGet",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "output",
      -      "toolName"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "enum": [
      -              "INVALID_INPUT",
      -              "FORBIDDEN",
      -              "NOT_FOUND",
      -              "CONFLICT",
      -              "FEATURE_DISABLED",
      -              "CONFIRMATION_REQUIRED",
      -              "CONFIRMATION_INVALID",
      -              "UPSTREAM_FAILED",
      -              "NEEDS_REVIEW",
      -              "INTERNAL"
      -            ],
      -            "type": "string"
      -          },
      -          "message": {
      -            "maxLength": 2048,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "retryable": {
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message",
      -          "retryable"
      -        ],
      -        "type": "object"
      -      },
      -      "ok": {
      -        "const": false,
      -        "type": "boolean"
      -      },
      -      "toolName": {
      -        "const": "mediaGet",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "error",
      -      "ok",
      -      "toolName"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "ok": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "output": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "altText": {
      +                "maxLength": 2000,
      +                "type": "string"
      +              },
      +              "assetId": {
      +                "$ref": "#/$defs/__schema0"
      +              },
      +              "contentType": {
      +                "enum": [
      +                  "image/jpeg",
      +                  "image/png"
      +                ],
      +                "type": "string"
      +              },
      +              "height": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 9007199254740991,
      +                "type": "integer"
      +              },
      +              "previewExpiresAt": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 9007199254740991,
      +                "type": "integer"
      +              },
      +              "previewUrl": {
      +                "$ref": "#/$defs/__schema1"
      +              },
      +              "sizeBytes": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 6291456,
      +                "type": "integer"
      +              },
      +              "width": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 9007199254740991,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "assetId",
      +              "contentType",
      +              "sizeBytes"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "altText": {
      +                "maxLength": 2000,
      +                "type": "string"
      +              },
      +              "assetId": {
      +                "$ref": "#/$defs/__schema0"
      +              },
      +              "contentType": {
      +                "enum": [
      +                  "image/jpeg",
      +                  "image/png",
      +                  "image/gif",
      +                  "image/webp"
      +                ],
      +                "type": "string"
      +              },
      +              "height": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 9007199254740991,
      +                "type": "integer"
      +              },
      +              "previewExpiresAt": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 9007199254740991,
      +                "type": "integer"
      +              },
      +              "previewUrl": {
      +                "$ref": "#/$defs/__schema1"
      +              },
      +              "reviewPath": {
      +                "const": "/app/media",
      +                "type": "string"
      +              },
      +              "sizeBytes": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 20971520,
      +                "type": "integer"
      +              },
      +              "status": {
      +                "const": "ready",
      +                "type": "string"
      +              },
      +              "width": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 9007199254740991,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "assetId",
      +              "contentType",
      +              "height",
      +              "reviewPath",
      +              "sizeBytes",
      +              "status",
      +              "width"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "assetId": {
      +                "$ref": "#/$defs/__schema0"
      +              },
      +              "contentType": {
      +                "const": "video/mp4",
      +                "type": "string"
      +              },
      +              "durationSeconds": {
      +                "exclusiveMinimum": 0,
      +                "type": "number"
      +              },
      +              "height": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 9007199254740991,
      +                "type": "integer"
      +              },
      +              "previewExpiresAt": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 9007199254740991,
      +                "type": "integer"
      +              },
      +              "previewUrl": {
      +                "$ref": "#/$defs/__schema1"
      +              },
      +              "reviewPath": {
      +                "const": "/app/media",
      +                "type": "string"
      +              },
      +              "sizeBytes": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 5000000000,
      +                "type": "integer"
      +              },
      +              "status": {
      +                "const": "ready",
      +                "type": "string"
      +              },
      +              "width": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 9007199254740991,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "assetId",
      +              "contentType",
      +              "durationSeconds",
      +              "height",
      +              "reviewPath",
      +              "sizeBytes",
      +              "status",
      +              "width"
      +            ],
      +            "type": "object"
      +          }
      +        ]
      +      },
      +      "toolName": {
      +        "const": "mediaGet",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "output",
      +      "toolName"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "enum": [
      +              "INVALID_INPUT",
      +              "FORBIDDEN",
      +              "NOT_FOUND",
      +              "CONFLICT",
      +              "FEATURE_DISABLED",
      +              "CONFIRMATION_REQUIRED",
      +              "CONFIRMATION_INVALID",
      +              "UPSTREAM_FAILED",
      +              "NEEDS_REVIEW",
      +              "INTERNAL"
      +            ],
      +            "type": "string"
      +          },
      +          "message": {
      +            "maxLength": 2048,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "retryable": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message",
      +          "retryable"
      +        ],
      +        "type": "object"
      +      },
      +      "ok": {
      +        "const": false,
      +        "type": "boolean"
      +      },
      +      "toolName": {
      +        "const": "mediaGet",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "error",
      +      "ok",
      +      "toolName"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed2 schema fields changed
    • addedOutput schema / $defs
      Added value: +{
      +  "__schema0": {
      +    "maxLength": 128,
      +    "minLength": 1,
      +    "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
      +    "type": "string"
      +  }
      +}
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "ok": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "output": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "altText": {
      -            "maxLength": 2000,
      -            "type": "string"
      -          },
      -          "assetId": {
      -            "maxLength": 128,
      -            "minLength": 1,
      -            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
      -            "type": "string"
      -          },
      -          "contentType": {
      -            "enum": [
      -              "image/jpeg",
      -              "image/png"
      -            ],
      -            "type": "string"
      -          },
      -          "height": {
      -            "exclusiveMinimum": 0,
      -            "maximum": 9007199254740991,
      -            "type": "integer"
      -          },
      -          "sizeBytes": {
      -            "exclusiveMinimum": 0,
      -            "maximum": 6291456,
      -            "type": "integer"
      -          },
      -          "width": {
      -            "exclusiveMinimum": 0,
      -            "maximum": 9007199254740991,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "assetId",
      -          "contentType",
      -          "sizeBytes"
      -        ],
      -        "type": "object"
      -      },
      -      "toolName": {
      -        "const": "mediaGet",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "output",
      -      "toolName"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "enum": [
      -              "INVALID_INPUT",
      -              "FORBIDDEN",
      -              "NOT_FOUND",
      -              "CONFLICT",
      -              "FEATURE_DISABLED",
      -              "CONFIRMATION_REQUIRED",
      -              "CONFIRMATION_INVALID",
      -              "UPSTREAM_FAILED",
      -              "NEEDS_REVIEW",
      -              "INTERNAL"
      -            ],
      -            "type": "string"
      -          },
      -          "message": {
      -            "maxLength": 2048,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "retryable": {
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message",
      -          "retryable"
      -        ],
      -        "type": "object"
      -      },
      -      "ok": {
      -        "const": false,
      -        "type": "boolean"
      -      },
      -      "toolName": {
      -        "const": "mediaGet",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "error",
      -      "ok",
      -      "toolName"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "ok": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "output": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "altText": {
      +                "maxLength": 2000,
      +                "type": "string"
      +              },
      +              "assetId": {
      +                "$ref": "#/$defs/__schema0"
      +              },
      +              "contentType": {
      +                "enum": [
      +                  "image/jpeg",
      +                  "image/png"
      +                ],
      +                "type": "string"
      +              },
      +              "height": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 9007199254740991,
      +                "type": "integer"
      +              },
      +              "sizeBytes": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 6291456,
      +                "type": "integer"
      +              },
      +              "width": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 9007199254740991,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "assetId",
      +              "contentType",
      +              "sizeBytes"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "altText": {
      +                "maxLength": 2000,
      +                "type": "string"
      +              },
      +              "assetId": {
      +                "$ref": "#/$defs/__schema0"
      +              },
      +              "contentType": {
      +                "enum": [
      +                  "image/jpeg",
      +                  "image/png",
      +                  "image/gif",
      +                  "image/webp"
      +                ],
      +                "type": "string"
      +              },
      +              "height": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 9007199254740991,
      +                "type": "integer"
      +              },
      +              "reviewPath": {
      +                "const": "/app/media",
      +                "type": "string"
      +              },
      +              "sizeBytes": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 20971520,
      +                "type": "integer"
      +              },
      +              "status": {
      +                "const": "ready",
      +                "type": "string"
      +              },
      +              "width": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 9007199254740991,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "assetId",
      +              "contentType",
      +              "height",
      +              "reviewPath",
      +              "sizeBytes",
      +              "status",
      +              "width"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "assetId": {
      +                "$ref": "#/$defs/__schema0"
      +              },
      +              "contentType": {
      +                "const": "video/mp4",
      +                "type": "string"
      +              },
      +              "durationSeconds": {
      +                "exclusiveMinimum": 0,
      +                "type": "number"
      +              },
      +              "height": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 9007199254740991,
      +                "type": "integer"
      +              },
      +              "reviewPath": {
      +                "const": "/app/media",
      +                "type": "string"
      +              },
      +              "sizeBytes": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 262144000,
      +                "type": "integer"
      +              },
      +              "status": {
      +                "const": "ready",
      +                "type": "string"
      +              },
      +              "width": {
      +                "exclusiveMinimum": 0,
      +                "maximum": 9007199254740991,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "assetId",
      +              "contentType",
      +              "durationSeconds",
      +              "height",
      +              "reviewPath",
      +              "sizeBytes",
      +              "status",
      +              "width"
      +            ],
      +            "type": "object"
      +          }
      +        ]
      +      },
      +      "toolName": {
      +        "const": "mediaGet",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "output",
      +      "toolName"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "enum": [
      +              "INVALID_INPUT",
      +              "FORBIDDEN",
      +              "NOT_FOUND",
      +              "CONFLICT",
      +              "FEATURE_DISABLED",
      +              "CONFIRMATION_REQUIRED",
      +              "CONFIRMATION_INVALID",
      +              "UPSTREAM_FAILED",
      +              "NEEDS_REVIEW",
      +              "INTERNAL"
      +            ],
      +            "type": "string"
      +          },
      +          "message": {
      +            "maxLength": 2048,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "retryable": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message",
      +          "retryable"
      +        ],
      +        "type": "object"
      +      },
      +      "ok": {
      +        "const": false,
      +        "type": "boolean"
      +      },
      +      "toolName": {
      +        "const": "mediaGet",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "error",
      +      "ok",
      +      "toolName"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Despite annotations already declaring a safe read (readOnlyHint, idempotentHint, destructiveHint=false), the description adds substantial behavior: a 6 MiB inline-pixel ceiling, format-dependent byte delivery, 20 MiB image and 5 GB MP4 limits, a five-minute previewUrl lifetime, and the fact that reading grants no publication approval.

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

Conciseness4/5

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

Front-loaded with the core purpose, then layered limits and caveats, with every sentence carrying distinct information. Some sentences are dense (format and size limits packed together), which slightly hurts scannability but wastes nothing.

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 one-parameter read tool with an output schema, the description covers everything an agent needs: what comes back (bytes vs metadata), format/size boundaries, preview expiry, and the approval caveat. Nothing material is missing.

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 0% for the single assetId parameter, and the description never mentions it directly. The phrase 'owned ready' media does imply what kind of id is expected, but no format or acquisition guidance compensates for the coverage gap; an adequate-but-thin baseline.

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?

States a specific verb and resource with scope: 'Returns one owned ready image or MP4'. The qualifiers 'one', 'owned', and 'ready' differentiate it from mediaList (enumeration) and mediaImport/mediaUpload* (ingestion) without needing to open their schemas.

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?

Usage is implied through conditions: request mediaGet again when previewUrl expires, and expect metadata instead of bytes for larger or unsupported formats. However, it never states when to choose this over mediaList, mediaImport, or mediaUploadGet, and gives no explicit exclusions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources