Skip to main content
Glama

Media library

assets_list
Read-only

The media library: brand uploads, generated media, and files (chat attachments and large resumable uploads such as assets_upload_url's). Needs the read scope.

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": "assets_list"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
filesNo
uploadsYes
generatedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / files
      Added value: +{
      +  "items": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "contentType": {
      +        "type": "string"
      +      },
      +      "mediaKey": {
      +        "type": "string"
      +      },
      +      "sizeBytes": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "mediaKey",
      +      "sizeBytes",
      +      "contentType"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "generated": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "contentType": {
      +            "type": "string"
      +          },
      +          "mediaKey": {
      +            "type": "string"
      +          },
      +          "sizeBytes": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "mediaKey",
      +          "sizeBytes",
      +          "contentType"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "uploads": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "contentType": {
      +            "type": "string"
      +          },
      +          "filename": {
      +            "type": "string"
      +          },
      +          "mediaKey": {
      +            "type": "string"
      +          },
      +          "sizeBytes": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "mediaKey",
      +          "sizeBytes",
      +          "contentType",
      +          "filename"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "generated",
      +    "uploads"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, and destructiveHint=false, so safety is covered. The description's genuine addition is the authorization requirement ('Needs the read scope'), but it says nothing about result size, ordering, pagination, or whether the listing is workspace-scoped.

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?

A single front-loaded sentence that puts the resource and its contents first and the permission requirement last. The parenthetical about assets_upload_url's uploads is slightly convoluted but conveys real information.

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 no parameters and an output schema present, the definition need not describe return values, and it covers authorization. The remaining gap is scope and volume of results, plus how this listing differs from the other list-style siblings.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters and the input schema is an empty closed object, so there is nothing for the description to disambiguate. Baseline of 4 applies.

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 the resource concretely and enumerates its contents: brand uploads, generated media, chat attachments, and large resumable uploads. The verb is only implied by the tool name (assets_list), and it does not contrast itself with a similarly-named sibling like list_page_assets, so it stops short of full differentiation.

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

Usage Guidelines2/5

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

There is no statement of when to call this versus alternatives such as list_page_assets or identity_library; assets_upload_url appears only as an example of content type, not as a routing hint. The only actionable guidance is the prerequisite 'Needs the read scope', which is a permission note rather than usage 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.