Skip to main content
Glama
nic01asFr
by nic01asFr

add_grist_records

Add records to a Grist table by providing document ID, table ID, and a list of records as key-value pairs. Returns success status and newly created record IDs.

Instructions

Ajoute des enregistrements à une table Grist.

Args: doc_id: L'ID du document Grist table_id: L'ID de la table records: Liste des enregistrements à ajouter. Chaque enregistrement est un dictionnaire où les clés sont les noms des colonnes et les valeurs sont les données. Exemple: [{"nom": "Dupont", "prénom": "Jean", "âge": 35}]

Returns: Dict avec statut, message et IDs des enregistrements créés: { "success": True/False, "message": "Message de succès ou d'erreur", "record_ids": [1, 2, 3] # IDs des enregistrements créés }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doc_idYes
recordsYes
table_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

Without annotations, the description should disclose behavioral traits. It states it adds records and returns IDs, but does not mention side effects (e.g., idempotency, error behavior, or whether it overwrites existing data). The return structure is described, but deeper behavioral context is missing.

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 well-structured with Args and Returns sections and an example, but is slightly verbose. It could be more concise while retaining all necessary information.

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 tool has 3 required parameters and an output schema (described in text), the description covers input and output adequately. However, it lacks information on error handling, validation, or limitations, leaving some gaps for an agent.

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?

The input schema has 0% description coverage (no parameter descriptions in JSON), but the tool description adds detailed meaning for each parameter, including an example for 'records' that clarifies the expected structure. This adds significant value beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool adds records to a Grist table, using a specific verb and resource. However, it does not differentiate from the sibling tool 'add_grist_records_safe', which shares a similar purpose.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives like 'add_grist_records_safe' or other modification tools. The description lacks context on prerequisites or conditions for use.

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