Skip to main content
Glama
kharonx
by kharonx

list-site-drives

list-site-drives
Read-onlyIdempotent

List document libraries (drives) in a SharePoint site by providing its site ID. Handles pagination automatically; use the returned cursor to continue viewing additional results.

Instructions

List document libraries (drives) of a SharePoint site.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cursorNoContinuation token (nextCursor of a previous truncated response). Continues that listing; other query inputs are ignored.
siteIdYesValue for siteId
maxItemsNoMaximum items to return across pages (default 50, max 500). Pagination via @odata.nextLink is handled automatically; when the result is truncated, pass its nextCursor as cursor to continue.
Install Server

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, destructiveHint=false, so the safety profile is known. The description adds no additional behavioral context, but there is no contradiction; pagination behavior is captured in the schema rather than the description.

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?

Single sentence, front-loaded with the core action and resource, zero filler words. It earns its place and is easy to scan.

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 simple listing tool with robust annotations and detailed pagination schema, the one-line description is adequate. It doesn't describe return values, but no output schema exists; the parameter schema and annotations carry the remaining context, making the definition complete enough.

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 all three parameters have descriptions. The tool description adds no parameter information beyond what the schema provides; siteId's schema description is tautological ('Value for siteId'), but cursor and maxItems are well documented.

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?

States a specific verb 'List' and resource 'document libraries (drives)' scoped to 'a SharePoint site', clearly distinguishing it from siblings like list-site-lists, get-drive, and list-drive-root-items. It is not a tautology and leaves no ambiguity about what is returned.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use this tool versus alternatives; there is no mention of exclusions or sibling tools. The purpose implies usage, but the description doesn't help an agent choose between list-site-drives and list-site-lists or get-drive.

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

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/kharonx/mcp_gateway'

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