Skip to main content
Glama

set_site

Configure the SharePoint site URL for the MCP server to enable management of lists, libraries, and files through the REST API.

Instructions

Set the SharePoint site URL to work with. Must be called before any other tool if SITE_URL is not set in .env.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteUrlYesFull SharePoint site URL, e.g. https://contoso.sharepoint.com/sites/mysite
Behavior3/5

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

No annotations are provided, so the description carries full burden. It effectively communicates that this is a configuration/setup operation (not a data mutation) and establishes its prerequisite nature. However, it doesn't describe what happens if called multiple times, whether the setting persists across sessions, or any error conditions beyond the basic requirement.

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 perfectly concise with two sentences that each earn their place: the first states the purpose, the second provides critical usage guidance. There is zero wasted language or redundancy.

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?

For a single-parameter configuration tool with no annotations and no output schema, the description provides excellent context about its prerequisite role and relationship to other tools. The main gap is lack of information about persistence, error handling, or what the tool returns, but given its simple nature, the description is largely complete.

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%, so the schema already fully documents the single parameter. The description adds no additional parameter information beyond what's in the schema. The baseline score of 3 is appropriate when the schema does all the parameter documentation work.

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 clearly states the specific action ('Set the SharePoint site URL') and resource ('SharePoint site'), distinguishing it from all sibling tools which perform CRUD operations on site content rather than configuration. It explicitly defines the tool's unique role as a setup/initialization function.

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

Usage Guidelines5/5

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

The description provides explicit usage guidance: 'Must be called before any other tool if SITE_URL is not set in .env.' This clearly states when to use this tool (as a prerequisite when environment variable is missing) and establishes its relationship to all other tools in the server.

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/LukasSevcik/sharepoint-mcp'

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