Skip to main content
Glama
kharonx
by kharonx

list-drive-folder-items

list-drive-folder-items
Read-onlyIdempotent

List files and folders inside a specified drive folder using drive ID and item ID. Supports filtering, sorting, and paginated results for efficient browsing.

Instructions

List files/folders inside a folder of a drive.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cursorNoContinuation token (nextCursor of a previous truncated response). Continues that listing; other query inputs are ignored.
filterNoOData $filter expression, e.g. "importance eq 'high'" or "hasAttachments eq true"
itemIdYesValue for itemId
selectNoComma separated list of properties to return (OData $select)
driveIdYesValue for driveId
orderbyNoOData $orderby, e.g. "receivedDateTime desc"
maxItemsNoMaximum items to return across pages (default 50, max 500). Pagination via @odata.nextLink is handled automatically; when the result is truncated, pass its nextCursor as cursor to continue.
Install Server

TDQS

B3.4/5.0
Behavior2/5

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

Annotations already cover readOnlyHint, idempotentHint, and destructiveHint. The description adds no behavioral context beyond the basic operation, such as whether the listing is non-recursive, whether it returns metadata only, or how pagination/truncation behaves.

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 a single, tight sentence with no filler. It front-loads the verb and resource scope, making the tool's purpose immediately readable.

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 listing tool with a fully documented schema and safety annotations, the description is mostly sufficient. However, it does not clarify whether the listing includes only immediate children or recursive contents, and it gives no orientation relative to sibling list/search tools.

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%, and parameters like cursor, maxItems, filter, and select are already well-documented in the schema. The description contributes no additional parameter semantics, so the baseline score applies.

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 an explicit verb ('List') and a specific resource ('files/folders inside a folder of a drive'). This clearly distinguishes it from sibling tools like list-drive-root-items, which list the root, and search-drive-items, which search across a drive.

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 guidance on when to use this tool versus alternatives such as list-drive-root-items, list-my-drive-folder-items, or search-drive-items. The description only states what the tool does and does not provide conditions, exclusions, or context for choosing it over siblings.

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

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/kharonx/mcp_gateway'

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