Skip to main content
Glama

list_collections

Lists all named groups of network locations (IPs, CIDRs, DNS names) so you can reference them in resources, route exclusions, and other objects.

Instructions

List all collections. Collections are named groups of network locations (IPs, CIDRs, DNS names) that can be referenced by resources, route exclusions, and other objects.

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

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the disclosure burden. "List all" implies an unfiltered, non-destructive read, and the definition of a collection is genuinely useful context, but nothing is said about pagination, result size, or required permissions. For a zero-parameter read tool this is tolerable, but the gaps are real.

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 sentences, front-loaded with the action, followed by a compact glossary entry for the resource. No filler. The glossary sentence is informational rather than operational, which keeps it just below a perfect mark.

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?

The tool is a zero-parameter list with an output schema, so return shape need not be explained here. The description covers what the tool returns at the conceptual level; only pagination/volume behaviour is unaddressed, which is a minor omission at this complexity.

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?

The tool takes no parameters, so there is no parameter semantics to explain; the baseline of 4 applies. Nothing in the description misleads about input.

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?

"List all collections" is a specific verb plus resource, and the second sentence defines what a collection actually is (named groups of IPs, CIDRs, DNS names), which separates it from sibling list tools like list_dns_block_lists or list_route_exclusions. It stops short of explicitly naming when a caller should pick this over those siblings, but the domain definition is clear enough to act on.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance, and no alternatives are named. The reader must infer that this is the discovery call for collections before calling add_collection_members or delete_collection; the description does not say so.

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