Skip to main content
Glama

list_collections

Read-only

Retrieve collections in a portfolio, grouped by section, to review a student's portfolio structure. Provide the portfolio_id to get organized collection data.

Instructions

Collections in a portfolio, grouped by section. portfolio_id = the student's portfolio (from a link or portflow_get).

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": {
      "portfolio_id": "<portfolio_id>"
    },
    "name": "list_collections"
  }
}

Input Schema

NameRequiredDescriptionDefault
portfolio_idYesId (getal)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds that results are 'grouped by section', a useful output-shape signal given there is no output schema, but says nothing about pagination, ordering, or what happens when the portfolio has no collections.

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?

Two short sentences, front-loaded with the resource and scope, and no filler. It is slightly too terse in that 'grouped by section' is introduced without explanation of what a section is.

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 a single-parameter read tool with full schema coverage and safety annotations, this is close to sufficient. The remaining gap is minor: no statement of return volume, ordering, or the meaning of 'section' in this domain.

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?

Schema coverage is 100% and the schema merely labels the field 'Id (getal)'. The description goes beyond that by identifying it as the student's portfolio id and pointing to concrete sources (a link or portflow_get), which meaningfully helps the agent obtain a valid value.

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 names a specific resource (collections) and its scope (within a portfolio), plus a structural hint (grouped by section). It never distinguishes itself from get_collection or the other list_* siblings, so an agent must infer whether this returns summaries or full records.

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?

Usage is implied rather than stated: it tells you portfolio_id comes 'from a link or portflow_get', which is a prerequisite chain, but gives no when-to-use vs. get_collection guidance and no exclusions. The agent must decide on its own between listing and fetching a single collection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.