Skip to main content
Glama

Change a list

edit_list
Destructive

Changes a list that already exists, all of it in one call. list sets the list's own title, display unit, trip dates, and trail (only the fields given; an empty string clears a date or the trail). folders renames, reorders, reclassifies, or removes folders, named by id or current name; removing one removes its rows. add puts new rows on, into a folder by name (made when missing) or under a group by the parent row's id. update changes rows by the ids get_list gives: any field, null clearing one that can be cleared; a new folder, place, or group; a catalog_id to link or relink the row where it sits, null to unlink. remove takes rows off by id, a group's nested rows with it. The parts apply in that order as one change, and nothing is applied unless every part is valid: a row or folder named that isn't there fails the whole call. A name or weight changed on a catalog-linked row is kept as the owner's own. Takes the list's edit link, or its share code under a signed-in account that has filed it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "edit_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
addNoNew rows. Each may name its folder, or the group to join.
listNoThe list's own fields. Only the fields given change.
againNoTrue to make the same change twice on purpose; otherwise an identical call adding rows within ten minutes is a retry (repeated).
removeNoIds of rows to take off, from get_list.
updateNoChanges to rows that exist, each by id.
foldersNoChanges to folders that exist.
edit_linkNoThe list's edit link, whole (mahonia.app/e/CODE#token). The part after # is the write capability. Leave it out to name a list filed under the signed-in account by share_code instead.
share_codeNoInstead of the edit link: the share code or share link of a list filed under the connector's account, as get_list with no share_code gives it. Takes a sign-in with read-and-change access, and reaches only the lists that account has filed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "added": {
      -      "description": "Rows added, nested ones counted.",
      -      "type": "integer"
      -    },
      -    "dates": {
      -      "properties": {
      -        "end": {
      -          "description": "YYYY-MM-DD.",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "start": {
      -          "description": "YYYY-MM-DD.",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "start",
      -        "end"
      -      ],
      -      "type": [
      -        "object",
      -        "null"
      -      ]
      -    },
      -    "folders": {
      -      "description": "Every folder's name, in the list's order, after the change.",
      -      "items": {
      -        "description": "User text.",
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "folders_changed": {
      -      "description": "Folders renamed, reordered, reclassified, or removed.",
      -      "type": "integer"
      -    },
      -    "folders_made": {
      -      "description": "Folders that didn't exist and were made for rows named into them.",
      -      "items": {
      -        "description": "User text.",
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "removed": {
      -      "description": "Rows taken off: by remove, with a removed group, or with a removed folder.",
      -      "type": "integer"
      -    },
      -    "repeated": {
      -      "description": "True when this call, with rows to add, repeated one made in the last ten minutes: nothing was done again, and the figures are that call's. Pass again: true to do it a second time.",
      -      "type": "boolean"
      -    },
      -    "share_link": {
      -      "type": "string"
      -    },
      -    "title": {
      -      "description": "User text.",
      -      "type": "string"
      -    },
      -    "totals": {
      -      "description": "Whole grams, summed over every row of the list.",
      -      "properties": {
      -        "base_g": {
      -          "description": "In the pack, consumables aside.",
      -          "type": "integer"
      -        },
      -        "carried_g": {
      -          "description": "base_g plus consumable_g: what is on your back.",
      -          "type": "integer"
      -        },
      -        "consumable_g": {
      -          "description": "Food, fuel, water.",
      -          "type": "integer"
      -        },
      -        "item_count": {
      -          "description": "Rows, nested ones included.",
      -          "type": "integer"
      -        },
      -        "kcal": {
      -          "description": "Only when a food row carries calories.",
      -          "type": "number"
      -        },
      -        "total_g": {
      -          "description": "carried_g plus worn_g.",
      -          "type": "integer"
      -        },
      -        "unweighed": {
      -          "description": "Only when some rows have no weight yet: how many (the rows marked unweighed), each counted as 0 g above.",
      -          "type": "integer"
      -        },
      -        "worn_g": {
      -          "description": "On your body.",
      -          "type": "integer"
      -        }
      -      },
      -      "required": [
      -        "base_g",
      -        "worn_g",
      -        "consumable_g",
      -        "carried_g",
      -        "total_g",
      -        "item_count"
      -      ],
      -      "type": "object"
      -    },
      -    "trail": {
      -      "properties": {
      -        "ascent_m": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "descent_m": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "distance_m": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "label": {
      -          "description": "User text.",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "url": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "url",
      -        "label",
      -        "distance_m",
      -        "ascent_m",
      -        "descent_m"
      -      ],
      -      "type": [
      -        "object",
      -        "null"
      -      ]
      -    },
      -    "unit": {
      -      "description": "The unit the list displays in. Weights are in grams regardless.",
      -      "enum": [
      -        "g",
      -        "kg",
      -        "oz",
      -        "lb"
      -      ],
      -      "type": "string"
      -    },
      -    "updated": {
      -      "description": "Rows changed, moved, or regrouped.",
      -      "type": "integer"
      -    }
      -  },
      -  "required": [
      -    "title",
      -    "unit",
      -    "dates",
      -    "trail",
      -    "share_link",
      -    "totals",
      -    "added",
      -    "updated",
      -    "removed",
      -    "folders_changed",
      -    "folders_made",
      -    "folders",
      -    "repeated"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. Changed11 schema fields changed
    • changedInput schema / properties / add / items / properties / catalog_id / description
      Previous value: -"A catalog row id from search_catalog. The row takes the catalog's cited weight unless weight_g is given (then yours is kept), its brand, variant and gear type where you leave them out, and follows catalog corrections; give the catalog's own product name as name to follow its name too, since a different one is kept as yours."New value: +"A catalog row id from search_catalog. The row takes the catalog's cited weight unless weight_g is given (then yours is kept), its brand, variant, and gear type where you leave them out, and follows catalog corrections; give the catalog's own product name as name to follow its name too, since a different one is kept as yours."
    • changedInput schema / properties / add / items / properties / classification / description
      Previous value: -"base, worn or consumable. Omit to follow the folder's default."New value: +"base, worn, or consumable. Omit to follow the folder's default."
    • changedInput schema / properties / add / items / properties / items / items / properties / catalog_id / description
      Previous value: -"A catalog row id from search_catalog. The row takes the catalog's cited weight unless weight_g is given (then yours is kept), its brand, variant and gear type where you leave them out, and follows catalog corrections; give the catalog's own product name as name to follow its name too, since a different one is kept as yours."New value: +"A catalog row id from search_catalog. The row takes the catalog's cited weight unless weight_g is given (then yours is kept), its brand, variant, and gear type where you leave them out, and follows catalog corrections; give the catalog's own product name as name to follow its name too, since a different one is kept as yours."
    • changedInput schema / properties / add / items / properties / items / items / properties / classification / description
      Previous value: -"base, worn or consumable. Omit to follow the folder's default."New value: +"base, worn, or consumable. Omit to follow the folder's default."
    • changedInput schema / properties / add / items / properties / items / items / properties / variant / description
      Previous value: -"Size, length or configuration that changes the weight, such as Long or 20F."New value: +"Size, length, or configuration that changes the weight, such as Long or 20F."
    • changedInput schema / properties / add / items / properties / variant / description
      Previous value: -"Size, length or configuration that changes the weight, such as Long or 20F."New value: +"Size, length, or configuration that changes the weight, such as Long or 20F."
    • changedInput schema / properties / update / items / properties / catalog_id / description
      Previous value: -"Link or relink the row to this catalog row, from search_catalog: it takes the catalog's brand, name, variant, gear type and cited weight, follows catalog corrections, and keeps its folder, place and group. A name, brand, variant, weight_g or gear_type given in the same change is kept as your own, and so is a gear type typed on the row before. Null unlinks the row, leaving it as it reads."New value: +"Link or relink the row to this catalog row, from search_catalog: it takes the catalog's brand, name, variant, gear type, and cited weight, follows catalog corrections, and keeps its folder, place, and group. A name, brand, variant, weight_g, or gear_type given in the same change is kept as your own, and so is a gear type typed on the row before. Null unlinks the row, leaving it as it reads."
    • changedInput schema / properties / update / items / properties / classification / description
      Previous value: -"base, worn or consumable; null to follow the folder's default."New value: +"base, worn, or consumable; null to follow the folder's default."
    • changedInput schema / properties / update / items / properties / variant / description
      Previous value: -"Size, length or configuration. Null clears it."New value: +"Size, length, or configuration. Null clears it."
    • changedOutput schema / properties / folders_changed / description
      Previous value: -"Folders renamed, reordered, reclassified or removed."New value: +"Folders renamed, reordered, reclassified, or removed."
    • changedOutput schema / properties / updated / description
      Previous value: -"Rows changed, moved or regrouped."New value: +"Rows changed, moved, or regrouped."
  3. Changed4 schema fields changed
    • changedInput schema / properties / add / items / properties / items / items / properties / qty / minimum
      Previous value: -1New value: +0
    • changedInput schema / properties / add / items / properties / qty / minimum
      Previous value: -1New value: +0
    • changedInput schema / properties / again / description
      Previous value: -"A call with rows to add that is identical to one made in the last ten minutes is taken as a retry and does nothing: the earlier result comes back with repeated set. Pass true to make the same change a second time on purpose."New value: +"True to make the same change twice on purpose; otherwise an identical call adding rows within ten minutes is a retry (repeated)."
    • changedInput schema / properties / update / items / properties / qty / minimum
      Previous value: -1New value: +0
  4. Changed13 schema fields changed
    • addedInput schema / properties / add / items / properties / items / items / properties / kcal / maximum
      Added value: +1000000
    • addedInput schema / properties / add / items / properties / items / items / properties / volume_l / maximum
      Added value: +100
    • addedInput schema / properties / add / items / properties / items / items / properties / weight_g / maximum
      Added value: +100000
    • addedInput schema / properties / add / items / properties / kcal / maximum
      Added value: +1000000
    • addedInput schema / properties / add / items / properties / volume_l / maximum
      Added value: +100
    • addedInput schema / properties / add / items / properties / weight_g / maximum
      Added value: +100000
    • addedInput schema / properties / add / maxItems
      Added value: +1000
    • addedInput schema / properties / list / properties / trail_distance_km / maximum
      Added value: +10000
    • addedInput schema / properties / update / items / properties / carried_by / maxLength
      Added value: +60
    • changedInput schema / properties / update / items / properties / catalog_id / description
      Previous value: -"Link or relink the row to this catalog row, from search_catalog: it takes the catalog's brand, name, variant, gear type and cited weight, follows catalog corrections, and keeps its folder, place and group. A name, weight_g or gear_type given in the same change is kept as your own. Null unlinks the row, leaving it as it reads."New value: +"Link or relink the row to this catalog row, from search_catalog: it takes the catalog's brand, name, variant, gear type and cited weight, follows catalog corrections, and keeps its folder, place and group. A name, brand, variant, weight_g or gear_type given in the same change is kept as your own, and so is a gear type typed on the row before. Null unlinks the row, leaving it as it reads."
    • addedInput schema / properties / update / items / properties / kcal / maximum
      Added value: +1000000
    • addedInput schema / properties / update / items / properties / volume_l / maximum
      Added value: +100
    • addedInput schema / properties / update / items / properties / weight_g / maximum
      Added value: +100000
  5. Changed9 schema fields changed
    • changedInput schema / properties / add / items / properties / catalog_id / description
      Previous value: -"A catalog row id from search_catalog. The row takes the catalog's brand, name, variant, gear type and cited weight, and follows catalog corrections; a weight_g given as well is kept as your own figure."New value: +"A catalog row id from search_catalog. The row takes the catalog's cited weight unless weight_g is given (then yours is kept), its brand, variant and gear type where you leave them out, and follows catalog corrections; give the catalog's own product name as name to follow its name too, since a different one is kept as yours."
    • changedInput schema / properties / add / items / properties / folder / description
      Previous value: -"The folder to put it in, by name. Created when the list has no folder of that name."New value: +"The folder to put it in, by name. Created when the list has no folder of that name; Unfiled, get_list's name for rows in no folder, leaves it in none."
    • changedInput schema / properties / add / items / properties / items / items / properties / catalog_id / description
      Previous value: -"A catalog row id from search_catalog. The row takes the catalog's brand, name, variant, gear type and cited weight, and follows catalog corrections; a weight_g given as well is kept as your own figure."New value: +"A catalog row id from search_catalog. The row takes the catalog's cited weight unless weight_g is given (then yours is kept), its brand, variant and gear type where you leave them out, and follows catalog corrections; give the catalog's own product name as name to follow its name too, since a different one is kept as yours."
    • addedInput schema / properties / list / properties / title / description
      Added value: +"A new name for the list."
    • addedInput schema / properties / list / properties / trail_label / description
      Added value: +"What to call the trail, when the link's own name won't do; it needs a trail link. An empty string clears it."
    • changedInput schema / properties / update / items / properties / folder / description
      Previous value: -"Move the row to this folder, by name; a new name makes the folder, and an empty string takes it out of every folder. A nested row moved to another folder comes out of its group."New value: +"Move the row to this folder, by name; a new name makes the folder, and an empty string or Unfiled takes it out of every folder. A nested row moved to another folder comes out of its group."
    • addedInput schema / properties / update / items / properties / needs_cooking / description
      Added value: +"Food to cook on this trip, for the rough fuel estimate; false to unmark it."
    • addedInput schema / properties / update / items / properties / qty / description
      Added value: +"How many; weight_g stays the weight of one."
    • addedOutput schema / properties / totals / properties / unweighed
      Added value: +{
      +  "description": "Only when some rows have no weight yet: how many (the rows marked unweighed), each counted as 0 g above.",
      +  "type": "integer"
      +}
  6. Changed4 schema fields changed
    • addedInput schema / properties / add / items / properties / items / items / properties / volume_l
      Added value: +{
      +  "description": "Water only (a name ending in water), in place of qty and weight_g: its whole volume in litres, 1 kg each.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / add / items / properties / volume_l
      Added value: +{
      +  "description": "Water only (a name ending in water), in place of qty and weight_g: its whole volume in litres, 1 kg each.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • changedInput schema / properties / list / properties / trail_url / description
      Previous value: -"An http(s) link, or an empty string to clear the trail and everything that came with it (label, distance, climb, route)."New value: +"An http(s) link, or an empty string to clear the trail and what came with it (label, climb, route). A distance stays; clear it with trail_distance_km: 0."
    • addedInput schema / properties / update / items / properties / volume_l
      Added value: +{
      +  "description": "Water only (a name ending in water), in place of qty and weight_g: its whole volume in litres.",
      +  "minimum": 0,
      +  "type": "number"
      +}
  7. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well past the annotations: it discloses atomicity ('nothing is applied unless every part is valid'), the internal application order of the parts, that removing a folder removes its rows, that a missing name fails the whole call, and that catalog-linked rows keep owner-supplied name/weight. The `again` parameter plus the ten-minute retry-dedup rule is behavioral context the annotations cannot express.

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?

A single dense paragraph where nearly every clause carries operational meaning; the ordering and all-or-nothing rules are front-loaded. It loses a point because the wall of prose covering five operation types would scan far better as short segmented clauses, and the 'all of it in one call' framing is mildly redundant with the enumeration that follows.

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 destructive, 8-parameter, nested-object mutation tool this covers atomicity, ordering, id sourcing, auth paths, and catalog linkage semantics — essentially everything needed to call it safely. The remaining gap is the return value: with no output schema, the description never says what comes back after a successful or failed edit.

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 100%, so the baseline is 3 and the description's per-parameter restatement earns little extra. What it does add beyond the schema is cross-parameter meaning: the fixed ordering of list/folders/add/update/remove within one call, and the retry-vs-repeat rule for `again`. Those are real additions but narrow in scope.

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?

Opens with a specific verb and resource ('Changes a list that already exists') and immediately enumerates the five operation buckets it bundles (list, folders, add, update, remove). An agent can distinguish it from create_list and get_list without opening the schema.

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?

Explicitly states the two ways to identify the target list (edit link with its write capability, or share code under a signed-in account that has filed it) and points to get_list as the source of row and folder ids. It does not explicitly say when to prefer this over create_list or get_list, but the 'already exists' framing plus id provenance covers the practical selection logic.

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.