Skip to main content
Glama
dYn36

sharepoint-online-mcp

by dYn36

get_site_by_url

Find a SharePoint Online site by hostname and path. Provide values like contoso.sharepoint.com and sites/marketing to retrieve its details.

Instructions

Find a site by hostname and path

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostnameYese.g. 'contoso.sharepoint.com'
sitePathYese.g. 'sites/marketing'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it says nothing about permissions, behavior when the site is not found, or what is returned. Only the minimal lookup semantics are conveyed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence with the key concept front-loaded and no wasted words. It is terse to the point of omitting useful context, but structurally clean.

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?

With no annotations and no output schema, the description is the only place to explain return shape, permission needs, and not-found behavior, and it covers none of these. For a lookup tool this is under-specified rather than 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 coverage is 100% and each property carries an example ('contoso.sharepoint.com', 'sites/marketing'), so the schema does the heavy lifting. The description restates the two parameters without adding format or normalization guidance, matching the baseline 3.

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?

States a clear verb+resource ('Find a site') with the lookup key (hostname and path), which distinguishes it from listing tools like list_my_sites or search_sites. It does not, however, distinguish itself explicitly from get_site_details, which an agent must infer.

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 when-to-use guidance and no mention of alternatives such as search_sites (for querying by name) or get_site_details. The agent must infer that this is for resolving a known URL to a site.

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