Skip to main content
Glama
sonisoft-cnanda

now-sdk-ext-mcp

List Knowledge Bases

list_knowledge_bases
Read-only

List knowledge bases from a ServiceNow instance. Filter by active status or encoded query to identify available KBs for browsing articles and categories.

Instructions

List knowledge bases on a ServiceNow instance. Returns knowledge base records from the kb_knowledge_base table with optional filtering by active status and encoded query. Use this to discover available KBs before browsing articles or categories.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of records to return (default 20).
queryNoOptional encoded query to filter knowledge bases (e.g., "titleLIKEIT" to find KBs with "IT" in the title).
activeNoFilter by active status. Omit to return all.
offsetNoNumber of records to skip for pagination (default 0).
instanceNoThe ServiceNow instance auth alias to use. This is the alias configured via `now-sdk auth --add` (e.g., "myinstance", "prod", "test"). The user will typically refer to this by name when saying things like "on my myinstance instance". If not provided, falls back to the SN_AUTH_ALIAS environment variable.
Behavior4/5

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

The annotations already declare readOnlyHint, so the read-only nature is given. The description adds useful behavioral context by specifying the source table and the optional filtering by active status and encoded query, going beyond what annotations provide without contradicting them.

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?

The description is only two sentences: the first states the core functionality and source, the second provides a clear usage context. Every word is purposeful, with no redundancy or fluff.

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

Completeness5/5

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

Despite lacking an output schema, the description, combined with rich parameter schemas and annotations, fully covers the essential context for a read-only list operation. It explains the data source, optional filters, and a typical use case, making it complete for an agent to select and use correctly.

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 description coverage is 100%, with each parameter thoroughly described. The description adds minimal value beyond the schema, merely summarizing that filtering by active and query is possible. This aligns with the baseline of 3 for a schema-rich tool.

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 clearly states the tool lists knowledge bases on a ServiceNow instance, with a specific resource (kb_knowledge_base table) and distinguishes it from sibling tools like list_kb_articles and get_knowledge_base by focusing on the discovery of KBs rather than their contents or individual retrieval.

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 description provides a concrete use case ('Use this to discover available KBs before browsing articles or categories'), implying when it should be used relative to other tools. However, it does not explicitly name alternatives or state when not to use this tool, 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.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sonisoft-cnanda/now-sdk-ext-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server