Skip to main content
Glama

Search my OneDrive

search_onedrive
Read-onlyIdempotent

Searches file names and contents in the signed-in person's OneDrive. Returns name, folder, size, modified date and item_id. Read-only. Sign-in required.

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": {
      "query": "<query>"
    },
    "name": "search_onedrive"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax files, 1-25. Defaults to 10.
queryYesWords in the file name or contents.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description still adds real value by confirming read-only behavior in prose, flagging the sign-in requirement, and listing exactly what the result set contains (name, folder, size, modified date, item_id).

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?

Four short sentences, with the core action and scope front-loaded before the return fields and the prerequisite last. Every sentence carries information an agent can act on, and nothing is repeated.

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?

With no output schema, the description helpfully enumerates the returned fields, and the two parameters are fully covered by the schema. The only minor gap is that ordering, pagination, and total-result behavior for the limit parameter go unmentioned, though that is a small omission for a simple two-parameter search.

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%: both query ("words in file name or contents") and limit (1-25, default 10) are fully documented in the schema. The description adds no syntax, matching behavior, or format details beyond that, so the baseline of 3 is right.

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 pairs a specific verb ("Searches") with a specific resource and scope ("file names and contents in the signed-in person's OneDrive"), and it enumerates the return fields. Naming OneDrive as the target is what separates this from the sibling search_my_drive and search_dropbox tools, so an agent can select it without opening the schema.

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 search usage and adds the prerequisite "Sign-in required", which is genuinely useful context. However, it never states when to prefer this over search_my_drive, search_dropbox, or read_onedrive_file, and offers no exclusions or fallback guidance.

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.

Resources