Skip to main content
Glama
BiteFoundry SharePoint MCP Server

BiteFoundry SharePoint MCP Server

list_drives

Lists OneDrive and SharePoint document libraries, optionally scoped to a specified site or read from cached data to avoid slow site scans.

Instructions

List Personal OneDrive and SharePoint document libraries. Without site, scans up to 200 followed and discovered sites, one Graph request per site, which can take many seconds; pass site, or offline: true to read the cache.

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": "list_drives"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNo
offlineNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose the critical hidden behavior: up to 200 sites with one Graph request each and multi-second latency, plus a cache-read option. It omits permissions requirements and what an entry in the response contains.

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?

One front-loaded sentence: resource first, then the default-behavior cost, then the two ways to avoid it. Every clause carries information an agent needs to choose parameters.

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 two-parameter read tool with no annotations and no output schema, the essential decision inputs (cost, defaults, escape hatches) are all present. The missing piece is what a returned drive/library looks like, which would help an agent chain into follow-up calls.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate for both parameters, and it does: site narrows the scan to one site, offline:true reads from cache instead of hitting the network. This is meaningful semantics well beyond the bare schema.

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 with scope: OneDrive and SharePoint document libraries. It distinguishes the tool from item-level siblings like list_files or list_sites by naming the resource class, but never contrasts itself with them directly.

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?

Gives concrete operational guidance: omit site to scan followed and discovered sites, or pass site / offline:true to avoid the slow path. It does not name alternative tools or say when to prefer another listing tool, so it stops short of full routing guidance.

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