Skip to main content
Glama

delete_table_tool

Delete specified tables from a Google Sheet while preserving other content. Permanently removes table structure and data.

Instructions

Delete tables from Google Sheets.

This tool removes specified tables from a sheet while preserving other content.
The table structure and data will be permanently deleted.

Args:
    spreadsheet_name: Name of the spreadsheet
    sheet_name: Name of the sheet containing the tables
    table_names: List of table names to delete

Returns:
    JSON string with success status and deletion details

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
spreadsheet_nameYesThe name of the Google Spreadsheet
sheet_nameYesThe name of the sheet containing the tables
table_namesYesList of table names to delete (e.g., ['Project Tracker', 'Customer Data', 'Sales Report'])

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
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 states that tables are 'permanently deleted' and 'preserving other content', which is transparent. However, it lacks details on permissions, reversibility, or side effects for a destructive tool.

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?

The description is concise at 8 lines, with a clear first sentence and structured sections (Args, Returns). The Returns section is slightly redundant given the output schema, but overall it is well-organized and free of fluff.

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 delete tool with three parameters and an output schema, the description adequately covers the core behavior, permanence, and preservation of other content. It could mention error conditions or prerequisites, but remains largely complete for agent understanding.

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%, so the schema already documents all parameters. The description's Args section mostly mirrors the schema, adding only an example for table_names. This provides minimal added value beyond the schema.

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 action 'Delete tables from Google Sheets' and specifies that it removes specified tables while preserving other content. This distinguishes it from sibling tools like create_table_tool or delete_table_column_tool.

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

Usage Guidelines3/5

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

The description implies usage when tables need to be removed, but lacks explicit guidance on when not to use it or alternatives. Among siblings, there are other delete operations (columns, records), but no comparative context is provided.

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/henilcalagiya/google-sheets-mcp'

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