Skip to main content
Glama

onedrive

Browse, search, and download read-only files from a student's school Office 365 cloud drive, including shared items, via the signed-in agent browser.

Instructions

The student's OneDrive and files shared with them in the school's Office 365, read only, via the signed-in agent browser. action=status|ls|shared|recent|search|download. ls takes path= (own drive) or drive_id+item_id (any folder); shared takes query= (name or owner filter); search takes query=; download takes name= or drive_id+item_id, plus out= (dir, default ~/courses/onedrive; never overwrites).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "onedrive"
  }
}

Input Schema

NameRequiredDescriptionDefault
outNo
nameNo
pathNo
queryNo
actionYes
item_idNo
drive_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses read-only access, operation through the signed-in agent browser, a default download directory, and that downloads never overwrite existing files, but it omits return behavior, pagination, rate limits, permission failures, and what status or recent actually report.

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?

The description is dense and front-loads the core purpose before listing actions and parameter mappings. It is appropriately sized for a seven-parameter multi-action tool, though the long semicolon-delimited format makes it somewhat harder to scan than a structured list would be.

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 multi-action tool with seven parameters, no annotations, no output schema, and no schema descriptions, the definition provides enough to invoke the main actions and understand download safety. However, it does not explain return values, search scope, status/recent semantics, pagination, or failure behavior, leaving important context incomplete.

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 0%, so the description must compensate, and it does map nearly every parameter to an action: action values, path, drive_id+item_id, query, name, and out with its default directory and overwrite behavior. It still leaves identifier formats and some action-specific details implicit, but the added meaning is substantial.

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 clearly identifies the resource as the student's OneDrive and shared Office 365 files, states it is read-only, and enumerates the available actions. It is specific enough to distinguish its core purpose, though it does not explicitly differentiate itself from similarly named siblings such as search or library.

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?

The description gives clear action-specific usage by mapping each action to its relevant parameters, such as ls taking path or drive_id+item_id and download taking name or identifiers. It provides useful context for selecting actions, but it does not state when to prefer alternative sibling tools or when not to use this tool.

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