Skip to main content
Glama

Mango Inventory

List activity

list_activity
Read-only

The organization's audit trail: "what changed on this item?", "what did somebody do last week?", "who moved this and when?". Newest first, one merged feed over item, ticket and order events: assignments, moves, status and category changes, renames, quantity adjustments and stock moves, pack/unpack, code attach/detach, custom-field edits, ticket transitions and checklist results, order transitions. Filters: itemId (that one item's history), actorUserId (one person; ids from list_members), sources (["items"], ["tickets"], ["orders"]), types (item event types) and a date window: since / until as calendar days ("2026-08-01"), until included. The server has no timezone and does no conversion; the legacy dateFrom / dateTo epochs still work, exactly one of each pair. Each row is one flat sentence: atIso when, actorName who (viaAgent: true = done through an AI agent), type what happened, subject what it happened to, field which attribute (the org's own label for a custom field), from / to the two ends of the change, amount where a number moved, and webUrl, the record's page in the web app. A row with featureLocked: true belongs to a module the organization's plan does not include (maintenance, orders): it is kept because history is a record, and it has no webUrl, since there is nothing to open. limit is 20 by default, max 50; nextCursor pages further back. The filters run after a page is cut, so a filtered page can be EMPTY while isDone is false: that page held no match, and older pages may; isDone: true means nothing older is left. Requires the manager role.

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": "list_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRows per page, default 20, max 50
sinceNoOnly events from this calendar day onward, "YYYY-MM-DD". The server has no timezone and does no conversion
typesNoOnly these ITEM event types — e.g. ["assigned", "moved", "status_changed", "quantity_adjusted", "custom_field_changed"]. An unknown value returns an error naming the whole valid set. Does not filter ticket or order rows
untilNoOnly events up to and INCLUDING this calendar day, "YYYY-MM-DD"
cursorNoThe `nextCursor` of a previous call; pages further back in time
dateToNoUpper bound as epoch milliseconds (legacy form of `until`; exactly one of the two)
itemIdNoOnly this item's history (implies sources: ["items"])
sourcesNoWhich records to read events from; absent = all three
dateFromNoLower bound as epoch milliseconds (legacy form of `since`; exactly one of the two)
actorUserIdNoOnly this person's actions: the userId from list_members

Output Schema

NameRequiredDescriptionDefault
eventsNoThe trail, newest first
isDoneNoTrue = this was the last page; there is nothing older to fetch. An EMPTY `events` array while this is false is normal on a filtered read — the filters are applied after the page is cut, so that page simply held no matching rows, and older pages (`nextCursor`) may
nextCursorNoThe `cursor` value for the next page further back in time. Present only while isDone is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • changedInput schema / properties / actorUserId / description
      Previous value: -"Only this person's actions — the userId from list_members"New value: +"Only this person's actions: the userId from list_members"
    • changedInput schema / properties / cursor / description
      Previous value: -"The `nextCursor` from a previous call — pages further back in time"New value: +"The `nextCursor` of a previous call; pages further back in time"
    • changedInput schema / properties / dateFrom / description
      Previous value: -"Lower bound as epoch milliseconds. Prefer `since` — pass exactly one of the two"New value: +"Lower bound as epoch milliseconds (legacy form of `since`; exactly one of the two)"
    • changedInput schema / properties / dateTo / description
      Previous value: -"Upper bound as epoch milliseconds. Prefer `until` — pass exactly one of the two"New value: +"Upper bound as epoch milliseconds (legacy form of `until`; exactly one of the two)"
    • changedInput schema / properties / since / description
      Previous value: -"Only events from this calendar day onward, \"YYYY-MM-DD\". Prefer this over dateFrom — a bare day has no timezone to get wrong, and this server does none of that conversion for you"New value: +"Only events from this calendar day onward, \"YYYY-MM-DD\". The server has no timezone and does no conversion"
    • changedInput schema / properties / sources / description
      Previous value: -"Which records to read events from; omit for all three"New value: +"Which records to read events from; absent = all three"
    • changedInput schema / properties / until / description
      Previous value: -"Only events up to and INCLUDING this calendar day, \"YYYY-MM-DD\". Prefer this over dateTo"New value: +"Only events up to and INCLUDING this calendar day, \"YYYY-MM-DD\""
    • changedOutput schema / properties / events / items / properties / featureLocked / description
      Previous value: -"Present and true when this event belongs to a module the organization's plan does not include (e.g. maintenance or orders). The row is shown because history is a record, but it carries NO webUrl — tell the user this activity is in a module their plan does not include rather than offering to open it. Absent = a normal row"New value: +"Present and true when this event belongs to a module the organization's plan does not include (e.g. maintenance or orders). The row is shown because history is a record, but it carries NO webUrl: there is nothing to open. Absent = a normal row"
    • changedOutput schema / properties / events / items / properties / webUrl / description
      Previous value: -"Link to the record in the web app — give your user THIS, never the raw ids. Absent on featureLocked rows, which have nowhere to link to"New value: +"Link to the record in the web app, for a person to open; the ids are handles for tool calls. Absent on featureLocked rows, which have nowhere to link to"
    • changedOutput schema / properties / isDone / description
      Previous value: -"True = this was the last page; there is nothing older to fetch. An EMPTY `events` array while this is false is normal on a filtered read — the filters are applied after the page is cut, so that page simply held no matching rows: keep paging with `nextCursor` instead of concluding there is no history"New value: +"True = this was the last page; there is nothing older to fetch. An EMPTY `events` array while this is false is normal on a filtered read — the filters are applied after the page is cut, so that page simply held no matching rows, and older pages (`nextCursor`) may"
    • changedOutput schema / properties / nextCursor / description
      Previous value: -"Pass back as `cursor` for the next page further back in time. Present only while isDone is false"New value: +"The `cursor` value for the next page further back in time. Present only while isDone is false"
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare a safe read (readOnlyHint=true, destructiveHint=false, openWorldHint=false), yet the description still adds substantial non-obvious behavior: it requires the manager role, the server has no timezone and does no conversion, filters run after a page is cut so a page can be EMPTY while `isDone` is false, `isDone: true` means nothing older remains, and `featureLocked: true` rows are retained from out-of-plan modules but carry no `webUrl`. That is exactly the kind of pagination and permission context 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?

Purpose and scope are front-loaded, then filters, then row shape, then pagination caveats — a logical order with essentially no filler despite its length. The one cost is that it arrives as a single dense block, including a long enumeration of event types (assignments, moves, renames, pack/unpack, code attach/detach...) that could have been tightened or bulleted for faster scanning.

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 10-parameter, zero-required, paginated audit feed, everything an agent needs is present: filter semantics, date format and timezone stance, page-size limits, the counterintuitive empty-page-but-not-done case, role requirement, and the meaning of locked rows. An output schema exists, yet the description still explains what each row field means in the context of the merged feed, which is more than the schema alone would convey.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description meaningfully extends it: `since`/`until` are calendar days with `until` inclusive, the legacy `dateFrom`/`dateTo` epochs still work with exactly one of each pair allowed, `itemId` implies `sources: ["items"]`, `types` applies only to item events and errors with the valid set on unknown values, and `nextCursor` pages further back. It also defines the returned row fields (`atIso`, `actorName`, `viaAgent`, `type`, `subject`, `field`, `from`/`to`, `amount`, `webUrl`), which the parameters alone never reveal.

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 opens with a concrete identity — "The organization's audit trail" — and immediately grounds it in the questions it answers ("what changed on this item?", "who moved this and when?"), then names the merged feed over item, ticket and order events. This is a specific verb+resource that an agent can distinguish from list_comments, list_members, list_orders or list_tickets without opening another 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?

It gives clear usage context by framing the tool around concrete audit questions and then mapping filters to intents: `itemId` for one item's history, `actorUserId` for one person (with the explicit pointer that ids come from list_members), `sources` to narrow which record types. What it lacks is an explicit 'use X instead when...' routing statement or any exclusion, so it stops short of the top band.

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