An MCP server for M365 Files that represents a local testing experience for working with Microsoft OneDrive and SharePoint resources. It exposes contextual tools and resources aligned to entities like sites, libraries, lists, files, list items, and folders.
Critical failures across all dimensions. The single tool 'set_context' has a vague description (67 chars) that does not explain WHAT it does, WHEN to use it, or what it returns. No input schema is visible in the source code, only a default empty schema is injected at runtime in getToolsHandler(). Parameters are not documented. The tool name 'set_context' is generic and does not follow verb_noun convention (should be 'switch_context' or 'load_context'). No output schema documented. Error handling is minimal. The codebase loads tools dynamically from disk, but tool definitions themselves are not inspectable in the provided source, making it impossible to verify schemas, parameter types, or descriptions for the actual implementation.
Change context using SharePoint and OneDrive urls and resource uris. Setting context will expose a new set of tools/resources available in that context.
No input schema visible for set_context. Code injects default empty schema {type: 'object', properties: {}, required: []} at runtime, violating the requirement that every parameter must have a type and description.
Tool description is 67 characters and vague: 'Change context using SharePoint and OneDrive urls and resource uris. Setting context will expose a new set of tools/resources available in that context.' Does not explain what 'context' means, what the tool returns, or when to call it instead of alternatives.
Tool name 'set_context' is generic and does not follow verb_noun convention. Does not convey the specific action (e.g., 'switch_sharepoint_context', 'load_onedrive_context'). LLMs cannot infer intent from the name alone.
No output schema documented. Agents cannot plan downstream calls or extract required fields (e.g., what IDs or resources become available after context switch?).
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 28 | <=2025-11-25 | v2 |
Tool definitions are loaded dynamically from disk (src/tools directory) but actual tool files are not provided in the source code sample. Cannot verify parameter descriptions, types, or error handling for the actual implementation.