Skip to main content
Glama

list_collections

Read-onlyIdempotent

Without id: all collections with item counts and totals. With id: that collection and its items; the other parameters filter and sort those items. Example: id="", status="shortlisted", sort="price_asc".

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

Input Schema

NameRequiredDescriptionDefault
idNoCollection ID
sortNoSort order, default newest
tagsNoItems having all these tags
statusNoDecision status
platformNoSite name, e.g. "ebay"
max_priceNoMax price
min_priceNoMin price
created_byNoWho added the item

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • changedInput schema / properties / created_by / description
      Previous value: -"Filter by who added: \"ai\" for AI-added items (only when id is provided)"New value: +"Who added the item"
    • changedInput schema / properties / id / description
      Previous value: -"Collection ID — if provided, returns that collection with all its items. If omitted, lists all collections."New value: +"Collection ID"
    • changedInput schema / properties / max_price / description
      Previous value: -"Maximum price filter (only when id is provided)"New value: +"Max price"
    • changedInput schema / properties / min_price / description
      Previous value: -"Minimum price filter (only when id is provided)"New value: +"Min price"
    • changedInput schema / properties / platform / description
      Previous value: -"Filter by platform domain name, e.g. \"amazon\", \"ebay\" (only when id is provided)"New value: +"Site name, e.g. \"ebay\""
    • changedInput schema / properties / sort / description
      Previous value: -"Sort order (only when id is provided, default: newest)"New value: +"Sort order, default newest"
    • changedInput schema / properties / status / description
      Previous value: -"Filter by decision status (only when id is provided)"New value: +"Decision status"
    • changedInput schema / properties / tags / description
      Previous value: -"Filter items that have ALL these tags (only when id is provided)"New value: +"Items having all these tags"
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Read-only, idempotent, and non-destructive behavior is already covered by the annotations. The description adds meaningful behavior by disclosing the two result shapes and scoping filtering and sorting to items in single-collection mode, though it leaves pagination, limits, and the exact meaning of 'totals' unstated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three compact sentences front-load the optional-id behavior, then define filter scope and provide a concrete invocation example. There is no filler or unnecessary repetition of the full schema.

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 an eight-parameter, dual-mode read with no output schema, the description supplies the key control flow, result contents, and a valid example needed for correct invocation. It would be more complete with brief pagination or result-limit details and routing relative to search_saved or get_wishlist, but the schema adequately documents the individual filters.

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

Parameters4/5

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

Although schema coverage is 100%, the description adds crucial semantics absent from the individual parameter descriptions: id switches the operating mode, and the other parameters apply only to items in that mode. The example further demonstrates valid combined use of id, status, and sort without redundantly explaining every filter or enum.

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 description clearly distinguishes an overview of all collections, including item counts and totals, from a single-collection view that includes its items. It identifies the resource and result in each mode, but does not explicitly distinguish the tool from siblings such as search_saved or get_wishlist.

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?

The 'Without id' and 'With id' wording gives explicit mode-selection guidance, and the example shows how status and sort can be used in the detailed view. It does not name alternatives or provide when-not-to-use guidance, so it stops short of complete tool-selection guidance.

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