Skip to main content
Glama
nic01asFr
by nic01asFr

list_tables

List all tables in a Grist document using the document ID to reveal its structure and prepare for further data queries.

Instructions

Liste toutes les tables dans un document Grist.

Prérequis: - list_documents: Pour obtenir un doc_id valide

Flux de travail typique: 1. list_documents(workspace_id) → obtenir doc_id 2. list_tables(doc_id) → obtenir table_id 3. list_columns(doc_id, table_id) → explorer la structure

Voir aussi: - create_table: Pour créer une nouvelle table - filter_sql_query: Pour requêter les données d'une table

Args: doc_id: L'ID du document

Returns: Dict avec: - success (bool): Indique si l'opération a réussi - message (str): Message de succès ou d'erreur - tables (List): Liste des tables

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doc_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description carries the full burden. It describes the return format and mentions prerequisites, but does not explicitly state that the operation is read-only, safe, or idempotent. It also lacks details on error handling or rate limits, which is adequate but not thorough.

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?

The description is well-structured with clear sections (main purpose, prerequisite, workflow, see also, args, returns). It is concise, using bullet points and no redundant text. The main purpose is front-loaded.

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?

Given the simple nature of the tool (one parameter, read-only list), the description covers the essential workflow, prerequisites, and return format. It could include more detail on potential errors or edge cases, but it is complete enough for most use cases.

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

Parameters4/5

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

The input schema has zero description coverage, but the description compensates by documenting the parameter doc_id as 'L'ID du document' in the Args section and explaining how to obtain it via list_documents. This adds meaningful context beyond the raw 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 it lists all tables in a Grist document ('Liste toutes les tables dans un document Grist'). It distinguishes from sibling tools like create_table and filter_sql_query by mentioning them in 'see also' and providing a workflow that positions this tool after list_documents and before list_columns.

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?

Explicitly provides prerequisites (list_documents to get doc_id) and a typical workflow (1. list_documents, 2. list_tables, 3. list_columns). It also lists alternative tools (create_table, filter_sql_query) in 'see also', giving clear guidance on when to use this tool versus others.

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/nic01asFr/mcp-server-grist'

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