Skip to main content
Glama

list_media

Read-only

List the user's uploaded HubPost media (IMAGE and VIDEO), newest first. Use it to find the mediaId of a file the user just uploaded through show_upload_widget or uploaded earlier.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoItems per page
typesNoFilter by type (VIDEO, IMAGE). Empty returns all
cursorNoPass the nextCursor from a previous response to fetch the next page

Output Schema

NameRequiredDescriptionDefault
mediaYes
hasMoreYes
nextCursorYesPass as cursor to fetch the next page

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavioral facts beyond them: results are scoped to the calling user's own uploads and are returned newest-first, which affects how an agent should consume pages.

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?

Two sentences, zero filler: the first establishes scope and ordering, the second establishes the practical purpose and the upstream sibling. Front-loaded and easy to scan.

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 read-only, three-optional-parameter list tool with an output schema (so return shape needn't be explained), this covers scope, ordering, and purpose. Minor gap: it never mentions pagination or that later pages require passing nextCursor, though the schema does document the cursor parameter.

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 limit, types, and cursor all documented inline, so the baseline is 3. The description only echoes the type filter (IMAGE and VIDEO) and adds no format or interaction detail the schema lacks.

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 (list the user's uploaded HubPost media), constrains content types to IMAGE and VIDEO, and specifies ordering (newest first). An agent can distinguish this from list_posts or list_social_accounts without opening any schema.

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?

"Use it to find the mediaId of a file the user just uploaded through show_upload_widget or uploaded earlier" gives a concrete trigger and names the sibling that produces the input. It stops short of any when-not guidance (e.g., when to prefer list_posts or get_post instead).

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