Skip to main content
Glama

sharepoint_read_file

Read a text file from a SharePoint document library to retrieve its contents for AI-powered workflows.

Instructions

Reads a text file from a SharePoint document library: library from sharepoint_list_files, file its path...

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.0.430

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It signals a read-only operation and constrains input to text files, which is useful. However it says nothing about permissions/auth requirements, file-size limits, encoding handling, or what happens with binary or missing files.

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?

It is short, but only because the sentence is truncated mid-thought ('`file` its path...'). An incomplete sentence does not earn its place; it leaves the reader guessing at the missing clause.

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?

For a no-annotation, no-output-schema read tool, the description would need to explain inputs, return content, and failure modes. Instead it is a fragment that references parameters absent from the empty schema, so an agent cannot confidently construct a call.

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?

Parameter count is 0, which normally sets a baseline of 4, but the description refers to `library` and `file` arguments that do not exist in the schema — the call signature is inconsistent with the structured definition. It does add provenance meaning (library obtained from sharepoint_list_files) but the mismatch undermines confidence.

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?

Specific and sibling-aware, but the truncated ending weakens it.

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?

It implies a workflow by noting that `library` comes from sharepoint_list_files, which tells the agent to list first. There is no explicit when-not guidance, no mention of alternatives such as file_read/onedrive_read_file, and no statement about which files (text only?) are in scope beyond the passing phrase 'text file'.

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