Skip to main content
Glama

Get Folder

folder_get
Read-onlyIdempotent

Get metadata for a OneDrive folder, including child count and web URL, by providing account ID and either folder ID or path.

Instructions

📖 Get metadata for a specific OneDrive folder (read-only, safe for unsupervised use)

Returns folder details including child count and web URL.

Args: account_id: Microsoft account ID folder_id: Folder ID (takes precedence if provided) path: Folder path (e.g., "/Documents/Projects")

Returns: Folder metadata including childCount, webUrl, and parent info

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idYes
folder_idNo
pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Annotations already declare readOnlyHint, destructiveHint, idempotentHint, and openWorldHint. The description adds 'read-only, safe for unsupervised use' and mentions returned properties but does not disclose any other behavioral traits like rate limits or auth requirements beyond the account_id parameter.

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 structured with a main sentence, then Args and Returns sections. It is fairly concise with no fluff, though the docstring format adds a bit of formality. Could be slightly shorter but is well-organized.

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?

Given the presence of an output schema, the description adequately explains return values (childCount, webUrl, parent info). It mentions folder_id precedence but lacks discussion of error cases or resolution behavior for path. Overall, it covers the essential context for a simple get tool.

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?

With 0% schema description coverage, the description provides detailed explanations for all three parameters: account_id as Microsoft account ID, folder_id with precedence note, and path with an example. This fully compensates for the missing schema descriptions and adds clarity.

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 'Get metadata for a specific OneDrive folder' with a verb and resource. It distinguishes from siblings like folder_get_tree (which likely returns tree structure) and folder_list (which lists folders). The read-only and safe qualifier further clarifies its scope.

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

Usage Guidelines3/5

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

The description implies usage for retrieving metadata but does not explicitly mention when not to use it or suggest alternatives like folder_list for listing contents. The 'safe for unsupervised use' hints at appropriate contexts, but lacks explicit guidance.

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/robin-collins/m365-mcp'

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