Skip to main content
Glama

List categories

get_article_categories
Read-only

Get all categories used in a knowledge base

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": {
      "knowledgeBaseId": "<knowledgeBaseId>"
    },
    "name": "get_article_categories"
  }
}

Input Schema

NameRequiredDescriptionDefault
knowledgeBaseIdYesKnowledge base ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds the useful scoping fact that results are limited to one knowledge base, but says nothing about ordering, nesting of categories, or whether categories with zero articles are included.

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?

One short, front-loaded sentence with zero filler. It is appropriately sized for a simple read tool, though it could have spent a few more words on sibling differentiation at no real cost.

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?

For a trivial single-parameter read with annotations and full schema coverage, the description is adequate but thin: with ~23 siblings it should clarify how it differs from get_article_tags or list_articles and whether category hierarchy is returned, since no output schema exists to answer that.

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% and the single knowledgeBaseId parameter is documented in the schema, so the description cannot add much. It only restates that the scope is a knowledge base without clarifying format or required-ness beyond what the schema already says.

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 gives a specific verb+resource ('Get all categories') scoped to a knowledge base, which separates it from the mutating siblings create_category/update_category/delete_category. However, the tool name says 'article categories' while the description says 'categories used in a knowledge base', leaving a small ambiguity about whether results are per-article or KB-wide.

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 only implied by the verb 'Get' and the readOnly hint; there is no explicit statement of when to call this versus list_articles or get_knowledge_base. No exclusions or alternatives are named despite many closely related siblings.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources