Skip to main content
Glama
AskBase

AskBase

Official

list_collections

Lists the knowledge base collections available in AskBase so you can select the right collection to search or manage, with an optional result limit.

Instructions

List the knowledge base's collections.

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
limitNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

C2.4/5.0
Behavior1/5

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

With no annotations, the description carries the full behavioral burden and discloses nothing: not that it is a read-only operation, not whether results are truncated by the limit, not pagination or ordering behavior. It only restates the name.

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?

A single short sentence, front-loaded with the verb and resource, with no filler. Its brevity is efficient but tips into under-specification rather than being genuinely tight prose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be spelled out, and the tool is structurally simple with one optional parameter. Still, with zero annotation coverage the description should say at least that this is a bounded, non-mutating listing and what the limit means for completeness.

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

Parameters2/5

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

Schema description coverage is 0%, so the description should explain the lone limit parameter, but it never mentions it. The schema's title, default of 20, and max of 100 make the parameter roughly inferable, yet the description says nothing about truncation, ordering, or whether more collections can be retrieved beyond the limit.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"List the knowledge base's collections" gives a verb and a resource, but the scope is ambiguous: no parameter identifies which knowledge base, and a sibling named list_knowledge_bases makes the containment relationship unclear. The agent can guess the purpose but cannot confidently distinguish it from list_knowledge_bases or get_collection_stats.

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 guidance on when to use this versus list_knowledge_bases, get_collection_stats, or search. No preconditions, no mention of when a collection listing is preferred over another discovery tool.

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