Skip to main content
Glama

Update the data kit

update_data_kit

Brings the site's data kit (src/components/data and src/lib/data, the pieces that show and save data: lists, forms, sign-in, the booking widget) to the newest version Xodia ships, like Update on "A newer data kit is ready" in Xodia. Xodia's own kit files of an earlier version are replaced and new ones added; files the owner changed are kept as they are and listed: they are the owner's to merge, so never overwrite them, and tell the owner which they are. Call it when get_project or list_features says a newer data kit is ready, before using a block or prop the site's kit doesn't have yet (paid booking's widget needs kit 1.8.0 or later). Adding Paid booking, Memberships or Members updates an older kit by itself. data_kit_missing: the site has no kit yet (it comes with the database, an app block or Members). Then run_check with kind "typecheck".

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectId": "<projectId>"
    },
    "name": "update_data_kit"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdYesProject id from list_projects

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the annotations by describing exactly what changes: earlier Xodia kit files are replaced and new ones added, while owner-modified files are preserved and reported, with an explicit 'never overwrite them' instruction. That said, the annotation destructiveHint=false sits somewhat in tension with 'files... are replaced', and the description does not address idempotency (what happens if the kit is already current) or rollback. The preservation rule largely resolves the safety picture, so this lands at 4 rather than 5.

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?

Front-loaded with the core action and effect before the trigger conditions and edge cases, which is the right order. It is dense but nearly every clause carries operational meaning; the long parentheticals ("the pieces that show and save data: lists, forms, sign-in...") and the nested error/next-step clause make it heavier than strictly necessary.

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?

For a single-parameter upgrade tool with no output schema, the description supplies everything an agent needs: what it does, preconditions, what is replaced vs preserved, what to tell the user, the error state, and the reciprocal tool to call afterward. Nothing material is left to inference.

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?

Only one parameter, projectId, and the schema already documents it fully (100% coverage, 'Project id from list_projects'). The description adds no additional semantics about the identifier or any formatting expectations beyond what the schema provides, so baseline 3 applies.

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?

States a specific verb and resource — brings the site's data kit (src/components/data and src/lib/data) to the newest version — and enumerates the scope of that kit (lists, forms, sign-in, booking widget). It is clearly distinguishable from sibling update_*/add_* tools, which act on individual resources rather than the vendored kit.

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?

Gives explicit triggers (when get_project or list_features reports a newer kit is ready, and before using a block or prop the site's kit lacks, e.g. paid booking needs 1.8.0+), plus an explicit exclusion: adding Paid booking, Memberships or Members updates an older kit by itself. It also covers the failure path (data_kit_missing → comes with the database/app block/Members) and the follow-up action run_check kind "typecheck".

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.

Resources