Skip to main content
Glama

MySaaS Blog

List media

media_list
Read-onlyIdempotent

List active media assets for the current user.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
mediaYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered structurally. The description's remaining contribution is the "active" filter and per-user scoping, which is genuinely useful context, but it says nothing about result volume, ordering, or whether the list is bounded — meaningful for a tool with no paging parameters.

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?

A single eleven-word sentence with no filler, and the two constraining qualifiers ("active", "current user") are positioned where they are read first. Nothing is redundant with the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The heavy lifting is done elsewhere: annotations carry safety and idempotency, an output schema exists so return values need no explanation, and there are no parameters. What the description still leaves open is whether results are paginated or capped and what "active" formally means — the one substantive gap for a zero-argument list call.

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 input schema takes zero parameters, which is the baseline-4 case; there is no parameter surface for the description to explain. The schema is fully closed (additionalProperties: false), so no hidden inputs are unaccounted for.

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 pairs a specific verb ("List") with a specific resource ("media assets") and narrows scope with two qualifiers: "active" and "for the current user". That is enough for an agent to distinguish this from media_import/media_import_from_url, which are write-oriented, but it never names or explicitly contrasts with any sibling.

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 rather than stated: the phrase "active media assets for the current user" tells an agent this is the browse-my-own-library call, and there is no competing list-media sibling to route against. However, there is no explicit when-to-use, no mention of what "active" excludes (archived? deleted? failed imports?), and no prerequisites noted.

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