Skip to main content
Glama

List your videos

list_videos
Read-only

List the caller's own videos from connected accounts.

Filter by platform and/or a free-text query, scope to one connected account_id (from list_accounts), and sort by 'recent' or 'top' (best-performing). Returns {"videos": [...]}; an empty list carries a reason — "no_connected_accounts" (with a connect_url) vs. "no_matching_videos" — so you can tell "nothing connected" from "nothing matched". When more videos exist beyond this page the response includes next_cursor — pass it back as cursor (same sort/filters) to fetch the next page; when next_cursor is absent you have everything.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNoOrdering: 'recent' (newest first) or 'top' (best-performing).recent
limitNoMaximum number of videos per page (default 20).
queryNoOptional free-text filter over your videos (caption / title).
cursorNoOpaque pagination cursor — pass the next_cursor from the previous page verbatim to fetch the next page (keep the same sort/filters). Omit for the first page.
platformNoOptional platform filter — instagram, tiktok, or youtube (case-insensitive). Omit to span all connected platforms.
account_idNoA connected account_id from list_accounts. Omit to aggregate across all your accounts.
include_analysisNoAttach each video's full analysis inline (heavier response).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonNoPresent only when videos is empty — why it is empty.
videosYes
connect_urlNoWhere to connect an account; present only with reason='no_connected_accounts'.
next_cursorNoOpaque cursor for the next page; present only when more results exist. Pass it back as `cursor` with the same filters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / cursor
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Opaque pagination cursor — pass the next_cursor from the previous page verbatim to fetch the next page (keep the same sort/filters). Omit for the first page."
      +}
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum number of videos to return (default 20)."New value: +"Maximum number of videos per page (default 20)."
    • removedOutput schema / additionalProperties
      Removed value: -true
    • addedOutput schema / description
      Added value: +"Output of `list_videos` / `search_videos`. `reason` appears only when\n`videos` is empty: 'no_matching_videos' (accounts connected, nothing\nmatched) or 'no_connected_accounts' (then `connect_url` is also present).\n`next_cursor` appears only when the listing was truncated — its absence is\nthe \"you have everything\" signal."
    • addedOutput schema / properties
      Added value: +{
      +  "connect_url": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "default": null,
      +    "description": "Where to connect an account; present only with reason='no_connected_accounts'."
      +  },
      +  "next_cursor": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "default": null,
      +    "description": "Opaque cursor for the next page; present only when more results exist. Pass it back as `cursor` with the same filters."
      +  },
      +  "reason": {
      +    "anyOf": [
      +      {
      +        "enum": [
      +          "no_matching_videos",
      +          "no_connected_accounts"
      +        ],
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "default": null,
      +    "description": "Present only when videos is empty — why it is empty."
      +  },
      +  "videos": {
      +    "items": {
      +      "properties": {
      +        "analysis_available": {
      +          "default": false,
      +          "type": "boolean"
      +        },
      +        "analysis_preview": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null
      +        },
      +        "caption": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null
      +        },
      +        "creator_username": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null
      +        },
      +        "duration": {
      +          "anyOf": [
      +            {
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "metrics": {
      +          "anyOf": [
      +            {
      +              "properties": {
      +                "comments": {
      +                  "anyOf": [
      +                    {
      +                      "type": "integer"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "default": null
      +                },
      +                "engagement_rate": {
      +                  "anyOf": [
      +                    {
      +                      "type": "number"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "default": null
      +                },
      +                "likes": {
      +                  "anyOf": [
      +                    {
      +                      "type": "integer"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "default": null
      +                },
      +                "saves": {
      +                  "anyOf": [
      +                    {
      +                      "type": "integer"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "default": null
      +                },
      +                "shares": {
      +                  "anyOf": [
      +                    {
      +                      "type": "integer"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "default": null
      +                },
      +                "views": {
      +                  "anyOf": [
      +                    {
      +                      "type": "integer"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "default": null
      +                }
      +              },
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null
      +        },
      +        "owned_by_user": {
      +          "default": false,
      +          "type": "boolean"
      +        },
      +        "platform": {
      +          "type": "string"
      +        },
      +        "post_created_time": {
      +          "anyOf": [
      +            {
      +              "format": "date-time",
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null
      +        },
      +        "post_id": {
      +          "type": "string"
      +        },
      +        "post_url": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null
      +        },
      +        "thumbnail_url": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null
      +        },
      +        "title": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "platform",
      +        "post_id"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  }
      +}
    • addedOutput schema / required
      Added value: +[
      +  "videos"
      +]
  2. Changed6 schema fields changed
    • addedInput schema / properties / account_id / description
      Added value: +"A connected account_id from list_accounts. Omit to aggregate across all your accounts."
    • addedInput schema / properties / include_analysis / description
      Added value: +"Attach each video's full analysis inline (heavier response)."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of videos to return (default 20)."
    • addedInput schema / properties / platform / description
      Added value: +"Optional platform filter — instagram, tiktok, or youtube (case-insensitive). Omit to span all connected platforms."
    • addedInput schema / properties / query / description
      Added value: +"Optional free-text filter over your videos (caption / title)."
    • addedInput schema / properties / sort / description
      Added value: +"Ordering: 'recent' (newest first) or 'top' (best-performing)."
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already note readOnlyHint=true. Description adds behavioral details: pagination, empty list reasons, and consequences of 'include_analysis'. No contradictions.

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?

Single paragraph, concise yet covers purpose, parameters, output, and pagination. Could be slightly more structured but effectively front-loads key info.

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?

Handles 7 optional parameters, explains output structure and pagination. Missing info on authentication or rate limits, but annotations and context signals may cover that.

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 coverage is 100% with descriptions for all 7 parameters. Description adds useful context (e.g., account_id from list_accounts, pagination cursor), but the schema already provides parameter meaning.

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 explicitly states it lists the caller's own videos from connected accounts, with filtering options. It is specific and distinguishes from sibling tools like 'list_creator_videos' and 'search_videos'.

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?

Provides clear guidance on filtering by platform, query, account_id, and sorting. Explains pagination with cursor and the meaning of empty list reasons. Lacks explicit 'when not to use' but gives sufficient context.

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.