Skip to main content
Glama
godwin3737

Microsoft 365 File Search MCP Server

by godwin3737

get_file_content

Retrieve the content of a Microsoft 365 file by providing its drive ID and file ID, enabling direct access to file data from SharePoint or OneDrive.

Instructions

Get content of Microsoft 365 file by drive id and file id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileidYes
driveidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure, but it merely says 'Get content' without explaining the response format (binary, JSON, plain text), size limits, permission requirements, or error behavior. It implicitly indicates a read operation but leaves the agent without key behavioral context needed to handle the result.

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?

The description is a single, front-loaded sentence that names the action and the two identifiers with no filler or redundant wording. It is concise, and every word contributes to the agent's understanding of the tool's purpose and parameters.

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?

Because there is no output schema and no annotations, the description should clarify what 'content' means and how it is returned, but it does not. The tool itself is simple, but the missing return-value semantics and potential limitations make the definition incomplete for an agent to anticipate the response correctly.

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?

The description explicitly mentions 'drive id and file id,' which links both parameters to their roles in identifying the target file, adding a little meaning beyond the bare schema. However, with 0% schema description coverage, the description only minimally compensates and provides no format constraints, examples, or additional semantic detail.

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?

The description clearly states the verb 'Get' and the resource 'content of Microsoft 365 file,' making the core operation unambiguous. It also identifies the file by drive id and file id, which is specific. However, it does not explicitly distinguish itself from the sibling tool search_m365_files, leaving the differentiation to inference from the verb and the sibling's name.

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 guidance on when to use this tool versus search_m365_files. There are no explicit alternatives, exclusions, or workflow hints. The only implied usage cue is the read-focused verb 'Get' versus the 'search' in the sibling name, which is not sufficient for clear routing.

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