Skip to main content
Glama
mdwsk88

MS 365-21V MCP Server

by mdwsk88

Get SharePoint Library Item

sharepoint_get_drive_item

Retrieve metadata for files and folders in a SharePoint document library, including details like name, size, and last modified date.

Instructions

Read metadata for a SharePoint document-library file or folder. Requires delegated Files.Read.All. Chinese intents / 中文意图: 查看SharePoint文件详情, 读取文档库文件信息, 查看SharePoint文件元数据.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemIdYesFile or folder item ID.
driveIdYesSharePoint document-library drive ID.
Behavior4/5

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

With no annotations, the description carries the full burden. It clearly states the operation is read-only ('Read metadata'), covers both files and folders, and declares the required permission. It does not mention response format or potential errors, but for a simple read operation this is adequate.

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?

The description is two concise sentences. The first sentence states the core purpose, the second provides the permission requirement and Chinese intents. Every part serves a purpose, with no redundancy.

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 low-complexity tool with two fully described parameters and no output schema, the description is reasonably complete. It covers the purpose, permission, and scope (file or folder). It does not detail return fields, but the term 'metadata' is self-explanatory for a get operation.

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 parameters are already well-documented. The tool description does not add additional meaning beyond the schema, such as how the parameters relate or example values. Baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool reads metadata for a SharePoint document-library file or folder, using the specific verb 'Read' and resource type. It distinguishes from siblings like sharepoint_download_file (which downloads content) and sharepoint_list_drive_items (which lists items).

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 provides clear context that this tool is for reading metadata, and it also mentions the required permission (delegated Files.Read.All). However, it does not explicitly mention alternatives or when not to use it, such as for downloading content, so it falls short of a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mdwsk88/ms-365-21v-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server