Skip to main content
Glama
nic01asFr
by nic01asFr

list_records

Retrieve records from a Grist table with optional sorting and limit parameters.

Instructions

Liste les enregistrements dans une table Grist avec tri et limitation optionnels.

Prérequis: - list_tables: Pour obtenir un table_id valide

Flux de travail typique: 1. list_tables(doc_id) → obtenir table_id 2. list_columns(doc_id, table_id) → comprendre la structure 3. list_records(doc_id, table_id, sort="nom", limit=10) → obtenir les données

Voir aussi: - filter_sql_query: Alternative avec filtrage avancé - add_grist_records: Pour ajouter des enregistrements

Args: doc_id: L'ID du document Grist table_id: L'ID de la table sort: Colonne de tri (optionnel, format: "colonne" ou "colonne:asc/desc") limit: Nombre maximum d'enregistrements à retourner (optionnel)

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNo
limitNo
doc_idYes
table_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations provided, but the description reveals the return structure (dict with success, message, records, record_count) and implies read-only behavior via 'Liste'. It lacks explicit statements about side effects or error handling, but the return structure adds transparency.

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-organized with sections: introductory sentence, Prérequis, Flux de travail typique, Voir aussi, Args, Returns. It is concise and every sentence adds value without redundancy.

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?

Given the simplicity of the tool (list records with optional sort/limit) and the presence of an output schema, the description covers prerequisites, workflow, parameters, return format, and alternatives. It is fully self-contained for an agent to use correctly.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full burden. It explains all four parameters: doc_id, table_id, sort (with format), and limit (with purpose). This adds meaning well beyond the schema types and defaults.

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 verb 'Liste' and the resource 'enregistrements dans une table Grist' with optional sorting and limiting. It distinguishes itself from siblings by referencing alternatives like filter_sql_query and add_grist_records.

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 prerequisites (list_tables), a typical workflow (list_tables -> list_columns -> list_records), and alternatives (filter_sql_query for advanced filtering, add_grist_records for adding). This gives 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