Skip to main content
Glama

Mango Inventory

Add or remove sample data

sample_data
DestructiveIdempotent

Load or clear the sample data: a small example inventory (categories, places, people, items and a few tickets, all marked as samples) for a new organization to look around in. action "add" loads it; while it is loaded a second add changes nothing. packKey picks the set (absent = the set that fits this organization). Sample items do not count against the item allowance. action "remove" deletes exactly the sample records, including ones edited since they were loaded, and nothing restores them as they were; records the organization created stay, and a sample category or place that its own records use is archived instead. A big set finishes removing in the background (outcome "removing"). Owner only.

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": {
      "action": "<action>"
    },
    "name": "sample_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesadd = load the sample set, remove = delete it again
packKeyNoOnly for add: which sample set; absent = the set that fits this organization

Output Schema

NameRequiredDescriptionDefault
noteNoA note on the outcome
webUrlNoLink to the items list in the web app, where the sample items show
outcomeNoadded | alreadyActive | notOffered (this organization's own showcase set was removed; nothing else is offered) | removing (continues in the background) | removed | notActive (there was nothing to remove)
packKeyNoWhich sample set is loaded (custom = the organization's own showcase content)
sampleDataActiveNoWhether sample records are loaded after this call

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / packKey / description
      Previous value: -"Only for add: which sample set. Omit it to get the set that fits this organization"New value: +"Only for add: which sample set; absent = the set that fits this organization"
    • changedOutput schema / properties / note / description
      Previous value: -"What your user should know"New value: +"A note on the outcome"
    • changedOutput schema / properties / webUrl / description
      Previous value: -"Link to the items list in the app, where the sample items show; give it to your user"New value: +"Link to the items list in the web app, where the sample items show"
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations: remove deletes sample records even if edited and nothing restores them, org-created records survive, a sample category/place still used by own records is archived rather than deleted, large removals finish in the background with outcome 'removing', and sample items don't count against the item allowance. This is exactly the destructive-behavior detail the annotations only flag.

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 resource, then edge cases in a logical order. It is a dense single paragraph with some run-on clauses, but nearly every sentence carries non-redundant behavioral information.

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 destructive two-mode tool with an output schema, the description covers idempotency, irreversibility, partial-deletion semantics (archiving), async completion, billing/quota impact, and permissions. An agent has everything needed to call it safely.

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% and both params carry enum descriptions, so the schema already explains action and packKey. The description restates the default ('absent = the set that fits this organization') and that packKey is add-only, adding marginal meaning over the schema.

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?

Names specific verbs (load/clear) and a concrete resource (a small example inventory of categories, places, people, items and tickets) scoped to a new organization. No sibling tool deals with sample data, and the description makes that distinction obvious without opening either 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?

Clearly explains that action=add loads and a second add is a no-op, that packKey selects the set (absent = org-fitting default), and that remove deletes only sample records. It also states 'Owner only', a real prerequisite. It doesn't name an explicit alternative tool, but no sibling serves as a substitute here.

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