Skip to main content
Glama

wp_list_media

Retrieve a paginated list of WordPress media library items, with an optional per-page limit, to browse or verify uploaded files.

Instructions

List WordPress media library items.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
per_pageNo
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. The verb 'List' conveys that this is a read-only retrieval operation, which is useful. However, it does not disclose return format, pagination defaults, or any media-specific behavior, leaving notable gaps for a tool with no annotation coverage.

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?

The description is one short, front-loaded sentence with no filler. It states the action and resource immediately, making it appropriately concise for a simple list tool.

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 tool is simple: one optional parameter, no output schema, and no annotations. The description is minimally sufficient to make a basic call, but it omits return value shape, default page size, and whether any permissions or media types are relevant. It is adequate but not complete.

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

Parameters2/5

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

The input schema has one parameter, per_page, with 0% schema description coverage, so the description must compensate by explaining it. The description says nothing about per_page, pagination, or how the parameter affects results. The parameter name and min/max constraints give some clue, but the description adds no semantic value.

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 states a specific verb 'List' against a clear resource, 'WordPress media library items', which immediately distinguishes it from sibling tools like wp_list_posts, wp_list_pages, and wp_list_users. The purpose is unambiguous and directly tied to the tool name.

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?

The description implies usage whenever media library items are needed, and the resource name differentiates it from other list tools. However, it does not explicitly state when to choose this over alternatives or mention any exclusions, so guidance is only implicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gs4lthung/claude-wp-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server