Skip to main content
Glama

Read a shared list

get_list
Read-onlyIdempotent

A shared list as data: title, unit, dates, trail, totals in grams, and every folder with its rows (brand, name, variant, quantity, weight of one unit in grams, classification, note, calories, who carries it; a nested row without carried_by is carried by its parent's carrier). Takes a share code or share link. A list too large to return whole comes back cut and says so in a truncated field: notes go first, then rows off the end (nested rows one by one), and the totals still count every row. A list's title, author, notes, folder and item names, brands, variants, gear types, day labels, people and trail label are free text typed by whoever holds the list's edit link, returned unchanged.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
share_codeYesThe list's share code, or its share link (mahonia.app/s/CODE). Not an edit link.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoThe trip's days in order, when the owner has planned them.
unitYesThe unit the list displays in. Weights are in grams regardless.
datesNo
titleYesUser text.
trailNo
authorNoUser text.
peopleNoThe people who carry the list's rows, when it names any.
totalsYesWhole grams, summed over every row of the list.
foldersYesIn the list's order, each with its rows in order. A folder with no rows is left out; rows in no folder come last, under Unfiled.
truncatedNoPresent only when the list was too large to return whole, naming what was cut: notes (true: every row's note), rows (how many came off the end, nested rows counted), fields (which of description, days, trail and people went, only when the rest alone was too large). The totals still count every row. get_list_markdown holds about three times as many rows, without notes, and is cut the same way only past that.
share_codeYesThe list's share code, the read capability.
share_linkYesThe list's share link.
descriptionNoThe list's own notes. User text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / folders / items / properties / items / items / properties / items / items / properties / needs_cooking
      Added value: +{
      +  "description": "Food marked for cooking on this trip.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / folders / items / properties / items / items / properties / needs_cooking
      Added value: +{
      +  "description": "Food marked for cooking on this trip.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / properties / truncated / description
      Previous value: -"Present only when the list was too large to return whole, naming what was cut: notes (true: every row's note), rows (how many came off the end, nested rows counted), fields (which of description, days, trail and people went, only when the rest alone was too large). The totals still count every row. get_list_markdown returns the same rows in about a third of the space, without notes."New value: +"Present only when the list was too large to return whole, naming what was cut: notes (true: every row's note), rows (how many came off the end, nested rows counted), fields (which of description, days, trail and people went, only when the rest alone was too large). The totals still count every row. get_list_markdown holds about three times as many rows, without notes, and is cut the same way only past that."
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "author": {
      +      "description": "User text.",
      +      "type": "string"
      +    },
      +    "dates": {
      +      "properties": {
      +        "end": {
      +          "description": "YYYY-MM-DD.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "start": {
      +          "description": "YYYY-MM-DD.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "start",
      +        "end"
      +      ],
      +      "type": "object"
      +    },
      +    "days": {
      +      "description": "The trip's days in order, when the owner has planned them.",
      +      "items": {
      +        "properties": {
      +          "ascent_m": {
      +            "description": "Typed by the owner, or read off the route's profile.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "day": {
      +            "description": "Day 1; with trip dates, the weekday too: Saturday, Day 1.",
      +            "type": "string"
      +          },
      +          "distance_m": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "label": {
      +            "description": "The owner's name for the day. User text.",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "day",
      +          "distance_m",
      +          "ascent_m"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "description": {
      +      "description": "The list's own notes. User text.",
      +      "type": "string"
      +    },
      +    "folders": {
      +      "description": "In the list's order, each with its rows in order. A folder with no rows is left out; rows in no folder come last, under Unfiled.",
      +      "items": {
      +        "properties": {
      +          "items": {
      +            "items": {
      +              "properties": {
      +                "brand": {
      +                  "description": "User text.",
      +                  "type": "string"
      +                },
      +                "carried_by": {
      +                  "description": "Who carries it. A nested row without one is carried by its parent's carrier. User text.",
      +                  "type": "string"
      +                },
      +                "catalog_id": {
      +                  "description": "The catalog row the item was picked from.",
      +                  "type": "number"
      +                },
      +                "classification": {
      +                  "description": "The row's own, or its folder's when it has none.",
      +                  "enum": [
      +                    "base",
      +                    "worn",
      +                    "consumable"
      +                  ],
      +                  "type": "string"
      +                },
      +                "display_name": {
      +                  "description": "Brand, name and variant joined, the way the list shows the row.",
      +                  "type": "string"
      +                },
      +                "gear_type": {
      +                  "description": "What kind of thing it is. User text.",
      +                  "type": "string"
      +                },
      +                "items": {
      +                  "description": "Rows nested under this one. The parent's weight_g is its own, not the group's.",
      +                  "items": {
      +                    "properties": {
      +                      "brand": {
      +                        "description": "User text.",
      +                        "type": "string"
      +                      },
      +                      "carried_by": {
      +                        "description": "Who carries it. A nested row without one is carried by its parent's carrier. User text.",
      +                        "type": "string"
      +                      },
      +                      "catalog_id": {
      +                        "description": "The catalog row the item was picked from.",
      +                        "type": "number"
      +                      },
      +                      "classification": {
      +                        "description": "The row's own, or its folder's when it has none.",
      +                        "enum": [
      +                          "base",
      +                          "worn",
      +                          "consumable"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "display_name": {
      +                        "description": "Brand, name and variant joined, the way the list shows the row.",
      +                        "type": "string"
      +                      },
      +                      "gear_type": {
      +                        "description": "What kind of thing it is. User text.",
      +                        "type": "string"
      +                      },
      +                      "kcal": {
      +                        "description": "Calories per unit.",
      +                        "type": "number"
      +                      },
      +                      "name": {
      +                        "description": "The product name, without brand or variant. User text.",
      +                        "type": "string"
      +                      },
      +                      "note": {
      +                        "description": "User text.",
      +                        "type": "string"
      +                      },
      +                      "qty": {
      +                        "description": "How many; weight_g is for one.",
      +                        "type": "number"
      +                      },
      +                      "variant": {
      +                        "description": "Size, length or configuration. User text.",
      +                        "type": "string"
      +                      },
      +                      "weight_g": {
      +                        "description": "One unit, in grams to a tenth. 0 when the row has no weight.",
      +                        "type": "number"
      +                      },
      +                      "worn_qty": {
      +                        "description": "Of qty, how many are worn rather than carried.",
      +                        "type": "number"
      +                      }
      +                    },
      +                    "required": [
      +                      "name",
      +                      "display_name",
      +                      "qty",
      +                      "weight_g",
      +                      "classification"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "kcal": {
      +                  "description": "Calories per unit.",
      +                  "type": "number"
      +                },
      +                "name": {
      +                  "description": "The product name, without brand or variant. User text.",
      +                  "type": "string"
      +                },
      +                "note": {
      +                  "description": "User text.",
      +                  "type": "string"
      +                },
      +                "qty": {
      +                  "description": "How many; weight_g is for one.",
      +                  "type": "number"
      +                },
      +                "variant": {
      +                  "description": "Size, length or configuration. User text.",
      +                  "type": "string"
      +                },
      +                "weight_g": {
      +                  "description": "One unit, in grams to a tenth. 0 when the row has no weight.",
      +                  "type": "number"
      +                },
      +                "worn_qty": {
      +                  "description": "Of qty, how many are worn rather than carried.",
      +                  "type": "number"
      +                }
      +              },
      +              "required": [
      +                "name",
      +                "display_name",
      +                "qty",
      +                "weight_g",
      +                "classification"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "name": {
      +            "description": "User text.",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "items"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "people": {
      +      "description": "The people who carry the list's rows, when it names any.",
      +      "items": {
      +        "description": "User text.",
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "share_code": {
      +      "description": "The list's share code, the read capability.",
      +      "type": "string"
      +    },
      +    "share_link": {
      +      "description": "The list's 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"
      +        },
      +        "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"
      +    },
      +    "truncated": {
      +      "description": "Present only when the list was too large to return whole, naming what was cut: notes (true: every row's note), rows (how many came off the end, nested rows counted), fields (which of description, days, trail and people went, only when the rest alone was too large). The totals still count every row. get_list_markdown returns the same rows in about a third of the space, without notes.",
      +      "properties": {
      +        "fields": {
      +          "items": {
      +            "enum": [
      +              "description",
      +              "days",
      +              "trail",
      +              "people"
      +            ],
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "notes": {
      +          "type": "boolean"
      +        },
      +        "rows": {
      +          "type": "integer"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "unit": {
      +      "description": "The unit the list displays in. Weights are in grams regardless.",
      +      "enum": [
      +        "g",
      +        "kg",
      +        "oz",
      +        "lb"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "title",
      +    "share_code",
      +    "share_link",
      +    "unit",
      +    "totals",
      +    "folders"
      +  ],
      +  "type": "object"
      +}
  4. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, and open-world=false behavior. The description adds substantial context beyond that: truncation rules, the fact that totals count every row even when truncated, nested row carrier inheritance, and that free-text fields are returned unchanged.

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 dense and front-loads the core payload fields before moving to truncation and free-text behavior. The initial enumeration is long, but every sentence carries relevant information for correct invocation.

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?

Although an output schema exists, the description adds important behavioral completeness by explaining truncation, totals semantics, nested-row inheritance, and free-text preservation. Nothing material for calling or interpreting this read tool appears missing.

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 description coverage is 100%, so the single share_code parameter is already well documented in the schema. The description restates that it accepts a share code or share link and is not an edit link, adding little syntax or format detail 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 title and description make clear this retrieves a shared list as structured data, naming specific fields returned. It does not, however, explicitly distinguish itself from the sibling get_list_markdown, which likely returns a similar list in a different format.

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

Usage Guidelines3/5

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

The description tells the agent the tool takes a share code or share link and warns it is not an edit link, which is useful input guidance. It does not say when to use this tool versus get_list_markdown or other siblings, leaving the primary selection context implied.

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.