Skip to main content
Glama

assets_ls

List blobs from a project, filter by key prefix, and paginate through results with optional cursor-based pagination and sorting.

Instructions

List blobs in a project with optional prefix filter over a flat key namespace. Supports pagination via cursor.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNov1.50: result ordering. Default 'key:asc' (legacy bare-key cursor). 'createdAt:*' variants use a base64url JSON cursor.
limitNoMax results (default 100, max 1000)
cursorNoPagination cursor from a previous response's next_cursor. v1.50: cursor is sort-pinned — reuse with a different `sort` returns 400 INVALID_CURSOR_FOR_SORT.
filterNov1.50: media-picker filter. Unknown keys are rejected with INVALID_FILTER_KEY before any HTTP call.
prefixNoFilter: only return blobs whose key starts with this prefix
project_idYesProject ID
Behavior3/5

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

With no annotations provided, the description must stand alone. It discloses that the namespace is flat and pagination uses a cursor, which are key behaviors. However, it does not state that the tool is read-only, describe the response format, or mention any rate limits or constraints beyond the schema. A 3 is appropriate as it covers essential traits but lacks depth.

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 two sentences long, efficient, and front-loads the core purpose. Every word is informative, with no redundancy or fluff. It is an ideal length for quick understanding.

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?

Given the tool has 6 parameters with schema descriptions but no output schema or annotations, the description is adequate but incomplete. It covers the main action and pagination but omits the return structure (e.g., that it returns a list with next_cursor), which is important for an agent to handle responses correctly. A 3 reflects minimal viability with clear gaps.

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 detailed parameter descriptions. The tool description adds context about the flat key namespace and pagination cursor, but does not enrich parameter meanings beyond what the schema provides. Baseline 3 is justified because the schema itself is thorough.

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 clearly states it lists blobs with an optional prefix filter and supports pagination. The verb 'list' combined with resource 'blobs' and qualifiers ('over a flat key namespace', 'with optional prefix filter') precisely defines the tool's function, distinguishing it from sibling asset tools like assets_get (single blob retrieval) and assets_put (upload).

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 for listing blobs but does not explicitly state when to or not to use this tool compared to alternatives like assets_get for single blobs or assets_rm for deletion. No guidance on prerequisites or context is provided, leaving the agent to infer from sibling names.

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/MajorTal/run402'

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