Skip to main content
Glama

Save a database entry

save_entry
Destructive

Adds an entry to a table of the site's Xodia database, or changes one by id, in the TEST data only (what the preview uses), as the owner would in the Database view: the table's fields by name (the rules file's types), never id, created_at, updated_at or created_by. Use it for sample or starting entries the owner asked for (a menu, services, events to try the blocks with). The live site's data never changes from here: the owner copies test data to live in the Database view. Refused past the plan's entries (plan_limit), when Xodia stopped saving data on the site (data_stopped), and for workspace members who aren't an owner or admin. No tool deletes entries: the owner does that in the Database view.

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": {
      "table": "<table>",
      "values": "<values>",
      "projectId": "<projectId>"
    },
    "name": "save_entry"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoThe entry to change, by its id (list_entries gives it). Leave out to add a new entry
tableYesThe table's name as list_tables gives it (bookings)
valuesYesThe fields to set, by name: text, numbers, true or false, a date (2026-11-25), a date and time with its zone, an entry id for a link. Never id, created_at, updated_at or created_by: Xodia sets them
projectIdYesProject id from list_projects

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

With annotations only saying non-read-only, destructive and open-world, the description adds substantial context: the test-vs-live data boundary, the three refusal conditions (plan_limit, data_stopped, non-owner/admin member) and the absence of delete capability. What it does not disclose is the mechanics of the update path — whether changing an entry by id replaces all fields or merges with existing values, which is exactly the risk implied by destructiveHint=true.

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?

Purpose and the test-only scope are front-loaded, and the remaining sentences cover use cases, refusals, and the delete gap with little filler. The first sentence is long and parenthetical-heavy, which slightly slows parsing, but nothing is redundant enough to cut.

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?

For a 4-parameter mutation tool with no output schema, the definition covers scope, permitted fields, refusal modes and the live-data boundary, which is a lot. The notable gaps are the return value (an agent creating an entry is not told whether it gets the new id back) and the update semantics for omitted fields.

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?

Schema coverage is 100%, so the schema already documents all four parameters and a 3 would be the floor. The description still adds real meaning: values must be the table's fields 'by name' following 'the rules file's types', and id/created_at/updated_at/created_by are rejected because Xodia sets them — a constraint an agent could otherwise violate by echoing back a fetched entry.

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 first sentence names a specific verb pair (adds / changes by id) and a specific resource (an entry in a named table of the Xodia database), plus the scope that matters most: TEST data only, mirroring the owner's Database view. An agent can tell this apart from siblings such as create_table, add_field, or the block/page tools without opening any schema.

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?

It states positively when to use it ('sample or starting entries the owner asked for — a menu, services, events to try the blocks with') and negatively what it is not for ('the live site's data never changes from here'), pointing to the owner's copy-to-live flow. It also closes the delete question explicitly ('No tool deletes entries: the owner does that in the Database view'), removing a plausible but wrong alternative.

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