Skip to main content
Glama
hermoso-ai

Hermoso

Official

List OneDrive files

list_onedrive_files
Read-only

List OneDrive files and folders by root, folder ID, or name search. Filter to folders only and paginate results with a page token.

Instructions

List files & folders in the user’s OneDrive — the root by default, a folder’s contents (folderId), or a name search (query). onlyFolders:true lists folders only. Paginate with pageToken (the cursor from a previous call). Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNosearch — only items whose name matches this
folderIdNolist the contents of this folder id
pageSizeNorows per page (1–200, default 50)
pageTokenNocursor from a previous call
onlyFoldersNolist folders only
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false. The description adds 'Read-only' and explains pagination and search semantics, which are beyond the annotations. It does not contradict annotations and provides useful behavioral context about how the tool operates.

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 three concise sentences with no redundant wording. It front-loads the primary purpose and then covers the key modes and pagination in a logical order. Every sentence earns its place.

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, the description covers the necessary modes, pagination, and filtering. It lacks details on error handling or sorting, but these are not critical for a basic list operation. The sibling list_drive_files differentiates Google Drive, and the mention of 'OneDrive' clearly sets the scope.

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?

Schema description coverage is 100%, so the parameters are already documented. The description adds value by explaining how the parameters combine (e.g., root vs. folder vs. search, pageToken as cursor) and emphasizes the default behavior. This transcends mere schema repetition.

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 specifies the verb 'list' and the resource 'files & folders in the user's OneDrive', and enumerates three distinct modes (root, folder, search) plus a folders-only filter. This makes it easy to understand what the tool does and how it differs from generic listing tools.

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

Usage Guidelines4/5

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

Usage modes are clearly explained: 'root by default', 'folder’s contents (folderId)', 'name search (query)', and pagination with pageToken. It does not explicitly mention alternatives like get_onedrive_file or save_to_onedrive, but the self-contained guidance is sufficient for typical listing use cases.

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/hermoso-ai/hermoso'

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