Skip to main content
Glama
hermoso-ai

Hermoso

Official

Who can open a OneDrive file

onedrive_file_permissions
DestructiveIdempotent

List every sharing link and person with access to a OneDrive file or folder, including permissions and inheritance, or revoke a selected permission with confirmation.

Instructions

action list (default): every sharing link and person with access to a OneDrive file or folder: link URL, view or edit, scope, expiry, password, whether it is inherited from a parent folder. action remove: revoke one (permissionId from the list); anyone relying on it loses access at once and the link cannot be restored, so WITHOUT confirm:true nothing is removed and you get what would go. An inherited permission is removed on the parent folder, and the owner's own access cannot be removed. Removal is verified by reading the list back. 0 credits. Needs OneDrive connected.

Input Schema

NameRequiredDescriptionDefault
actionNolist (default) or remove
fileIdYesOneDrive file or folder id
confirmNorequired true for remove
permissionIdNofor remove

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.465

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint and idempotentHint, but the description goes well beyond them: anyone relying on the link loses access at once, the link cannot be restored, a dry-run result is returned without confirm:true, inherited permissions must be removed on the parent folder, owner access is immune, and removal is verified by re-reading the list. It also discloses cost (0 credits) and the prerequisite that OneDrive be connected.

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 default action is front-loaded and each sentence carries new information (return fields, irreversibility, edge cases, cost, prerequisite). The single-paragraph, colon-delimited run-on makes it dense to parse, which keeps it from a 5, but there is no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description steps in to enumerate the list response fields (link URL, view/edit, scope, expiry, password, inherited) and explains that removal is verified by reading the list back. Combined with the prerequisite and credit cost, an agent has everything needed to call this correctly and interpret the result.

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

Parameters4/5

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

Schema coverage is 100%, so the schema baseline carries most of the load, but the description adds genuine semantics: permissionId must come from the list action, and confirm:true is what actually triggers the deletion versus a preview. It does not explain the fileId format beyond the schema's 'OneDrive file or folder id'.

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 names a specific verb and resource for each mode: 'action list (default)' enumerates every sharing link and person with access to a OneDrive file or folder, and 'action remove' revokes a single permission. This is clearly distinguishable from siblings like share_onedrive_file or delete_onedrive_file, which act on the file itself rather than its permissions.

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?

It states that list is the default and remove requires permissionId taken from the list, plus a concrete when-not rule (no confirm:true means nothing is removed). It also flags the two cases where removal will not behave as expected (inherited permissions, owner access). It stops short of naming sibling alternatives such as share_onedrive_file for granting access, so it is a strong 4 rather than a 5.

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

Deploy Server

Other Tools