Skip to main content
Glama
dhanushkacc

sharepoint-excel-mcp

by dhanushkacc

Describe a worksheet

describe_sheet

Preview a sheet's headers, row count, and sample rows to plan targeted queries without pulling full data.

Instructions

Inspect a sheet without pulling its data: returns the column headers, the total row count, and up to 3 sample rows. Call this FIRST against an unfamiliar matrix so you can build a targeted filter for get_permission_matrix instead of pulling everything.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
linkNoSharePoint sharing link (…/:x:/s/Site/TOKEN?e=code) or a direct document URL. Omit if supplying driveId and itemId.
sheetNoWorksheet name. Defaults to the first sheet.
itemIdNoItem ID from resolve_link. Use with driveId.
driveIdNoDrive ID from resolve_link. Use with itemId.
headerRowNo1-indexed header row. Default 1.
Behavior4/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It transparently states the tool does not pull the full dataset, returns only headers, row count, and up to 3 sample rows, and is safe to call first. It could add nuance about whether sample rows are the first rows or random, but overall it gives enough context for a read-only inspection tool.

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?

Two sentences: the first front-loads the purpose and return values; the second gives direct usage guidance. Every word is purposeful, with no fluff or repetition. Highly concise and well-structured.

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?

Despite no output schema and no annotations, the description covers the essential context: what callers receive (headers, row count, sample rows), when to invoke it (first on unfamiliar sheets), and why (to avoid pulling everything). For a simple inspection tool with fully documented parameters, this is 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% for all 5 parameters, so the schema already fully documents their meaning. The description adds limited parameter-level detail beyond what the schema provides (e.g., 'headerRow' is self-explanatory). This meets the baseline but does not go further.

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 opens with a specific verb+resource ('Inspect a sheet') and clearly defines its scope: returns column headers, total row count, and up to 3 sample rows. It also differentiates from sibling tools by emphasizing it's a lightweight inspection ('without pulling its data') and explicitly mentions the targeted use case for get_permission_matrix.

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 when-to-use guidance: 'Call this FIRST against an unfamiliar matrix'. It also states why (to build a targeted filter) and contrasts with the alternative 'pulling everything' via get_permission_matrix, effectively giving a when-not scenario. This is clear and actionable.

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

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