Skip to main content
Glama

List knowledge bases

kb_list_bases
Read-onlyIdempotent

List and filter ServiceNow knowledge bases by title or description, returning sys_id and title values to use as kbId in article search and creation.

Instructions

List knowledge bases (sys_id, title, description, owner, active), by title. text filters on title or description. Use the sys_id or title as kbId in kb_search and kb_article_create.

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": "kb_list_bases"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoWords to find in the title or description.
limitNoMaximum records to return. Defaults to the configured default, capped at maxRecords.
fieldsNoField names to return (dot-walking allowed, e.g. caller_id.name). Default: all.
offsetNoRecords to skip (paging). Use nextOffset from the previous result.
instanceNoInstance alias from the config (see instance_list). Defaults to the default instance.
displayValueNoraw = stored values, display = labels, both (default) = value and label when they differ.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context beyond that: the filtering semantics of text (title OR description) and the sort order by title. It says nothing about paging behavior or result size, which the schema carries instead.

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 short clauses, front-loaded with the resource and returned fields, then filtering, then the hand-off to kb_search/kb_article_create. No filler or redundancy.

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?

With no output schema, the description compensates by naming the returned fields and the ordering, and the fully-documented schema covers paging, field selection, and instance choice. For a read-only list operation, an agent has everything needed to call it correctly; only return-size expectations are unstated.

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?

Schema coverage is 100%, with every one of the six parameters documented in-schema, including enum values for displayValue and paging semantics for offset. The description only restates the text filter at a high level and adds no syntax, defaults, or format guidance beyond that, so the schema does the heavy lifting and the baseline 3 applies.

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?

The description gives a specific verb and resource ("List knowledge bases") and immediately enumerates the returned fields (sys_id, title, description, owner, active) plus ordering ("by title"), which cleanly separates it from kb_search, which searches articles rather than bases.

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?

It states exactly what to do with the result: "Use the sys_id or title as kbId in kb_search and kb_article_create," which routes the agent to the correct downstream tools. It lacks explicit when-not-to-use guidance (e.g., use kb_search when you already have a kbId), so it falls short of a 5.

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