Skip to main content
Glama

List OneDrive items

list_onedrive_items
Read-only

List files and folders inside a OneDrive folder. Omit itemId (or pass "root") for the drive root. Items outside the folders you have access to are not returned.

Input Schema

NameRequiredDescriptionDefault
itemIdNoFolder item ID, or omit / "root" for the drive root
mailboxYesEmail address of the connected Outlook/Microsoft 365 mailbox to act on. Call list_authorized_mailboxes to see available options.

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, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds a genuine constraint beyond that — items outside accessible folders are silently not returned — but says nothing about pagination, result limits, or ordering, which matter for a listing tool.

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?

Three short sentences, front-loaded with the action and resource, then the root-targeting rule, then the access caveat. Nothing is padded or redundant.

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?

With no output schema, the description does say what comes back (files and folders) and where from, and annotations carry the safety profile. The remaining gap is pagination/volume behavior for potentially large folder listings, which is minor but not covered elsewhere.

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%, so the baseline is 3. The description restates the itemId root behavior that the schema already documents and adds nothing new about mailbox or itemId semantics; 'root' as a literal value is the only detail echoed in both places.

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?

States a specific verb and resource (list files and folders) and pins the scope to a single OneDrive folder, so an agent can distinguish it from create/rename/move/delete_onedrive_item siblings. It does not, however, name search_onedrive_items as the alternative for content-based lookup, so the boundary against that sibling is left implicit.

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 explains the itemId/"root" behavior for targeting the drive root, which is useful invocation context, but it gives no explicit when-to-use guidance such as 'use this to browse a folder; use search_onedrive_items to find files by name or content'. Usage is therefore implied rather than stated.

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