Skip to main content
Glama
MartinCley

SharePoint-Cleyrop MCP

by MartinCley

sharepoint_check_auth

Verifies that the configured refresh token grants access to SharePoint. Diagnose authentication issues by testing token validity and reporting exact errors without initiating a transfer.

Instructions

Vérifie que le refresh token configuré donne bien accès à SharePoint.

À utiliser pour diagnostiquer un problème d'authentification sans lancer un transfert : lit SHAREPOINT_REFRESH_TOKEN et tente d'obtenir un access token Entra ID. Remonte l'erreur exacte si le token est refusé.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations, the description carries full burden. It transparently details that the tool reads the SHAREPOINT_REFRESH_TOKEN variable, attempts to obtain an Entra ID access token, and returns the exact error if refused. It also clarifies it does not launch a transfer, making behavior clear.

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 two sentences, concise and front-loaded. The first sentence states the purpose, the second adds context and detail. No unnecessary words.

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

Completeness5/5

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

Given zero parameters and an existing output schema (context signals indicate its presence), the description is complete. It explains the tool's function, input (env variable), and behavior on error. No further detail needed.

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

Parameters4/5

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

There are no parameters, so baseline 4 applies. The description correctly adds no parameter info, as none are needed. Schema coverage is 100% by default.

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 explicitly states the tool verifies that a configured refresh token gives access to SharePoint. It uses specific verbs ('vérifie') and distinguishes from siblings like sharepoint_login_start/finish and transfer tools by noting it's for diagnosing auth problems without launching a transfer.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly indicates when to use the tool ('pour diagnostiquer un problème d'authentification sans lancer un transfert'). It provides context but does not explicitly mention alternatives or exclusions, though the context implies it's for pre-checks.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MartinCley/Sharepoint-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server