Skip to main content
Glama

Mango Inventory

Browse locations & people

list_resources
Read-only

The organization's PLACES and PEOPLE in one call, the structural twin of inventory_overview: "what rooms do we have?", "who is in the organization?", "what is in the Schulhaus Dorf?". Returns locations and people as NESTED trees (buildings → floors → rooms; departments → people), each node carrying id, name and count. A node id is the search_items filter for the items behind a count: currentLocationId for a place, currentHolderId for a person; the two match exactly. A LOCATION's count covers its whole subtree (a building counts its rooms' items, as search_items does by default); a PERSON's count is what that one person holds, since currentHolderId matches one person and never a subtree. Person nodes also carry email, hasAccount (the record is linked to a login account; member userIds come from list_members) and isMe for the connected user's own record. assignable: false marks a record items cannot be assigned to; search_resources never returns those. type limits the answer to one tree. truncated: true means the organization is bigger than one bounded pass, and the counts are lower bounds.

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_resources"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoOnly this tree; absent = both

Output Schema

NameRequiredDescriptionDefault
peopleNoThe people tree, top level first — departments → people
locationsNoThe location tree, top level first — buildings → floors → rooms
truncatedNoA bounded read hit its cap — treat the counts as lower bounds and the tree as possibly incomplete

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / type / description
      Previous value: -"Only this tree; omit for both"New value: +"Only this tree; absent = both"
    • changedOutput schema / properties / people / items / properties / isMe / description
      Previous value: -"Present only as true: YOUR own person record — what \"me\" resolves to"New value: +"Present only as true: the connected user's own person record — what \"me\" resolves to"
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover read-only and non-destructive, but the description adds a lot beyond them: location counts are subtree totals while person counts are single-holder, `assignable: false` marks unassignable records, and `truncated: true` means counts are lower bounds. That last point is the key behavioral caveat an agent needs. It stops short of describing ordering or paging behavior, so not a 5.

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 purpose and question examples, then dense semantic detail, with no filler sentences. It is long and packed with quoted identifiers, which makes it heavier to scan than ideal, but nearly every clause carries distinct 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 read-only browse tool with an output schema, the definition covers the non-obvious parts an agent cannot infer: count semantics per node type, the id-to-search_items mapping, assignable filtering, and truncation as a lower-bound signal. Nothing material is 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?

With only one parameter at 100% schema coverage and an enum already documented, the schema carries the semantics. The description's '`type` limits the answer to one tree' restates rather than extends the schema's 'Only this tree; absent = both', so it adds no real meaning.

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?

States a specific resource pair ('PLACES and PEOPLE in one call') plus shape ('NESTED trees: buildings → floors → rooms; departments → people'). It also positions itself against siblings by calling itself 'the structural twin of inventory_overview' and by naming search_items, list_members and search_resources for adjacent jobs.

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?

Concrete example questions ('what rooms do we have?', 'who is in the organization?') anchor when to use it, and it routes elsewhere for the natural follow-ups: search_items for the items behind a count, list_members for member userIds. It also flags the exclusion that search_resources never returns `assignable: false` records.

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