Skip to main content
Glama
M365 Assistant MCP Server

M365 Assistant MCP Server

by ryaker

onedrive-list

Lists files and folders in OneDrive at a specified path, helping you browse and locate stored content.

Instructions

List files and folders in OneDrive at a specific path

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "onedrive-list"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoPath to list (e.g., '/Documents', '/Photos'). Defaults to root.
countNoNumber of items to retrieve (default: 25, max: 50)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden, and it discloses almost nothing beyond the read implication of 'List'. It says nothing about pagination behavior, ordering of results, permission/auth requirements for shared or personal OneDrive paths, or how empty or missing paths are handled.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with zero filler and the scope constraint clearly stated. It is efficient, though its terseness leaves the definition thin rather than being verbose.

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?

For a simple, zero-required-parameter read tool with a fully documented schema and no output schema, the description is just barely sufficient to invoke it correctly. Missing are the pagination/return-shape hint and any routing guidance against onedrive-search, which matter given the dense sibling catalog.

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 both path and count documented including defaults and the 25/50 limits, so the baseline is 3. The description only restates that listing happens at a path and adds no format or semantics beyond the schema (e.g., whether paths are case-sensitive or slash-delimited).

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?

The description names a specific verb (List) and resource (files and folders in OneDrive) and adds the scoping detail 'at a specific path'. It is clearly distinguishable from mutation siblings like onedrive-upload or onedrive-delete, though it offers no explicit contrast with onedrive-search.

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?

Usage is only implied: browsing a known path. There is no statement about when to prefer this over onedrive-search (name/lookup) or list-folders, and no mention of whether the path must exist or what happens when it is invalid.

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