Skip to main content
Glama

onedrive_create_share_link

Destructive

Create share link in OneDrive. Supply a concise reason and context for the user's activity record. These explanations do not grant permission. Listed tools may require an account connection or permission change in Leash; follow any access guidance returned by the tool and never bypass a denial.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "reason": "<reason>",
      "context": "<context>",
      "input": "<input>"
    },
    "name": "onedrive_create_share_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes
reasonYesWhy this access is necessary to fulfill the user's request
contextYesThe user request or task that prompted this action; omit unnecessary private details

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and idempotent=false, so the description is not the only source of risk information. It usefully adds that the reason/context fields are purely for the activity record and grant nothing ("These explanations do not grant permission"), plus auth/permission-change context, but it never warns that creating a share link exposes the file externally or whether the link can be revoked.

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 purpose is front-loaded in the first sentence and the total length is short. The trailing Leash policy sentences are generic boilerplate that does not add tool-specific value, but they do not obscure the core instruction.

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

Completeness2/5

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

This is a destructive, non-idempotent mutation with a required nested request body and no output schema, and the description says nothing about the body's expected shape, the resulting link, or whether sharing can be later undone. For a tool of this complexity, the definition is materially under-specified despite the valid reason/context framing.

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?

With schema coverage at 67%, the schema already documents reason and context; the description reinforces that these are explanatory only and do not confer permission, which is genuinely additive. However, the required nested input object (id and a freeform body with additionalProperties) is given no semantic content anywhere, so the agent is left guessing what body fields such as type, scope, or expiry are expected.

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

Purpose4/5

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

States a specific verb and resource ("Create share link in OneDrive"), so the operation is unambiguous. It does not distinguish this from the very similar siblings onedrive_share_file or dropbox_create_shared_link, leaving provider/behavior distinctions to be inferred.

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?

The description gives no when-to-use guidance relative to alternatives (e.g., onedrive_share_file, dropbox_create_shared_link), nor prerequisites such as required permissions on the target item. The only guidance is generic boilerplate about following access instructions, which applies to every tool, not this one specifically.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.