Skip to main content
Glama

Inspect for sharing

inspect_for_sharing
Read-only

Reports hidden or sensitive workbook content before sharing, including hidden sheets, rows, columns, comments, links, macros, and metadata, so you know what to remove.

Instructions

Report hidden or sensitive content to review before sharing a workbook.

Covers hidden sheets, rows and columns, comments, document properties, external links, pivot caches, invisible text, embedded objects, macros, custom XML and the change log. Each finding says whether sanitize_copy can remove it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "inspect_for_sharing"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoFile path or preloaded name (list_configured_files). Omit if only one file is preloaded.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish this as a safe, closed-world read, so the bar is lower; the description still adds meaningful scope by listing exactly which content classes are surfaced and by stating that each finding carries a sanitize_copy removability flag. It does not discuss cost, file-state requirements, or size limits, which would be the remaining behavioral gaps.

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?

Three short sentences, front-loaded with the purpose and then the coverage list, with zero boilerplate. Every clause carries information the agent can act on.

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?

With an output schema present, return values need not be described, and annotations cover the safety profile. What remains — the full scope of what is scanned and how results feed into sanitize_copy — is fully covered, so nothing needed to call it correctly is missing.

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 the single path parameter already documents the file-path-or-preloaded-name form and the omit-if-only-one-file case. The description adds no parameter meaning beyond that, so the baseline 3 applies.

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 gives a specific verb ('Report') and a precisely scoped resource: the enumeration of hidden sheets, rows/columns, comments, document properties, external links, pivot caches, invisible text, embedded objects, macros, custom XML and change log leaves no ambiguity about what is inspected. It also implicitly separates itself from the write-side sibling by noting findings are actionable via sanitize_copy.

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?

Timing is stated clearly ('to review before sharing a workbook'), and the pairing with sanitize_copy gives the agent a natural next step. It stops short of explicit when-not conditions or naming other adjacent read tools, so it is strong but not exhaustive.

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