Skip to main content
Glama

Remplacer les données d'une app

set_app_data

Écrase le document JSON de l'app. C'est la seule façon de remplacer des données existantes : utilisez-le pour migrer les données vers une nouvelle structure, ou pour repartir de zéro. Les données précédentes sont définitivement perdues — prévenez l'utilisateur.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesLe nouveau document complet, en JSON sérialisé.
slugYes
secret_tokenNoLe jeton secret (maam_app_…) renvoyé lors de la publication de cette app. Facultatif si l'app est rattachée au compte de la clé API configurée.

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden. It clearly warns that previous data is permanently lost and advises warning the user. This is critical behavioral disclosure for a destructive operation. It doesn't mention authentication or rate limits, but the core destructive nature is well-covered.

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 three sentences long, with the main action front-loaded. Each sentence adds value: what it does, when to use it, and what to warn about. No filler or redundancy.

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's destructive nature and lack of output schema, the description covers the essential context: purpose, usage, and irreversible consequences. It doesn't mention return values or error conditions, but these may be less critical. Overall, it provides solid contextual guidance for an agent.

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 67% (data and secret_token are described, slug is not). The description adds context about the data parameter being the entire JSON document and the destructive consequence, but does not provide additional meaning for slug or secret_token beyond the schema. It is adequate but not exemplary.

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 that the tool overwrites the app's JSON document, with a specific verb ('Écrase') and resource. It distinguishes itself from siblings by noting it's the only way to replace existing data, which differentiates it from tools like update_app or get_app_data.

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?

The description provides explicit use cases: migrating data to a new structure or starting from scratch. It implies this is for full replacements, not partial updates, though it doesn't explicitly name alternatives. The 'seule façon' phrasing helps clarify when to use it.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool targets a clearly distinct resource and action: app metadata, app data, publishing, claiming, listing, deletion, and the guide. get_app and get_app_data are separated by metadata vs user JSON, and update_app vs set_app_data are separated by HTML/title vs stored data.

Naming Consistency5/5

All tool names follow the same verb_noun pattern in snake_case: claim_app, delete_app, get_app, get_app_data, get_publishing_guide, list_my_apps, publish_app, set_app_data, update_app. The convention is perfectly consistent.

Tool Count5/5

Nine tools is well-scoped for the domain of publishing and managing single-file HTML apps with data persistence. Each tool serves a distinct lifecycle stage or data operation, with none feeling redundant or extraneous.

Completeness5/5

The set covers the full lifecycle: publish, read metadata, update, delete, claim, and list; plus data operations (get/set app data) and an explicit guide for the tricky data-evolution pattern. No obvious missing operation blocks the intended workflows.

Resources