Skip to main content
Glama

ensure_site_user

Ensure a site user exists in SharePoint by providing their logon name; the tool verifies membership and creates the user when absent.

Instructions

Ensure a site user exists.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
logonNameYes
Behavior1/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It provides no information about side effects, permissions, idempotency, or error handling. The phrase 'ensure' implies a possible mutation but gives no detail.

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?

The description is a single short sentence, which is concise in length but severely under-specified. It lacks necessary details, so it is not appropriately sized for the tool's purpose.

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

Completeness1/5

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

Given the tool has only one parameter but no annotations or output schema, the description is inadequate. It does not explain the operation, the meaning of 'ensure', or the expected behavior, making it nearly useless for an AI agent.

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

Parameters1/5

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

Schema description coverage is 0%, and the description does not mention the single parameter 'logonName' at all. The agent must rely solely on the parameter name, which is not explicitly defined. The description adds no semantic value beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the tool ensures a site user exists, which indicates a goal of idempotent existence but does not specify the underlying operation (create, update, check). It is vague and does not distinguish from sibling tools like search_site_users or add_group_user.

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?

No guidance is provided on when to use this tool versus alternatives. The description does not mention any context, prerequisites, or exclusions, leaving the agent without direction for selection.

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/icemage001/local_sharepoint_mcp'

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