Skip to main content
Glama

onedrive_api_put

Destructive

Execute PUT on the connected onedrive service API. Use an API-relative resource path, never a URL. All JSON fields are supported. Requires no individual action restrictions for this service; provider permissions and Leash protections still apply. Deletion may be irreversible. 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_api_put"
  }
}

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

C2.6/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the safety profile is covered structurally. The description adds some genuine context beyond that: the permission/Leash enforcement model, the mandate to supply reason/context for the audit record, and a warning that effects may be irreversible. It stops short of describing what PUT overwrites, what happens on a path that does not exist, or any size/rate constraints for the 260KB base64 limit.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The useful operational facts (path format, JSON support, irreversibility) are spread across the first five sentences, and the final two sentences are generic policy boilerplate ('These explanations do not grant permission', 'Listed tools may require an account connection...') that is identical across tools and does nothing to help select or invoke this one. It is not bloated to the point of unreadability, but a third of the text does not earn its place.

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

Completeness3/5

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

For a destructive, open-world raw-API passthrough with a nested input object and no output schema, the definition should say what PUT semantics mean in OneDrive and how content should be supplied. It covers the path convention and the audit requirement but leaves the five nested input fields effectively undocumented, which is the main thing an agent needs in order to call this correctly.

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

Parameters2/5

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

Schema coverage is 67% and the two documented top-level parameters (reason, context) already carry their own descriptions in the schema, so the description adds nothing there. The nested `input` object has five properties (apiPath, body, query, content_type, content_base64) with zero schema descriptions, and the text only clarifies apiPath ('API-relative resource path, never a URL'); it never explains when to use `body` versus `content_base64`/`content_type`, or what `query` accepts.

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

Purpose3/5

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

It names a verb (PUT) and a resource (the connected OneDrive service API), but that largely restates the tool name. Nothing explains what a PUT actually does here (replace file content, update item metadata) or how it differs from onedrive_api_patch, onedrive_api_post, onedrive_upload_file, or onedrive_update_file, all of which live in the same catalog.

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?

'Use an API-relative resource path, never a URL' is a parameter-format rule, not a when-to-use rule. There is no statement of when an agent should reach for this raw PUT instead of the purpose-built upload/update/copy tools, and no exclusions or prerequisites beyond generic permission boilerplate.

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.