Skip to main content
Glama

Get Knowledge Base

get_knowledge_base
Read-onlyIdempotent

The workspace's knowledge base: its public URL, locales and visibility. One per workspace. Returns 404 if none has been created yet.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
idNo
urlNo
nameNo
slugNo
tagsNo
accessNo
visibilityNo
defaultLocaleNo
enabledLocalesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world. The description adds genuinely new behavior: the resource is a singleton per workspace, and a missing one yields a 404 rather than an empty object. It omits nothing critical for a pure read, though it does not mention auth or visibility/permission implications of the locales and visibility fields.

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 sentences, no waste, and the front-loaded first sentence tells the agent exactly what comes back. The 404 caveat is placed last where it belongs as an exception note.

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?

An output schema exists, so the description needn't document return fields, and annotations carry the safety profile. What remains is the singleton constraint and the 404 case, both covered; only the meaning of 'visibility' and permission requirements are left unaddressed.

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 zero parameters, so the schema-derived baseline of 4 applies. No parameter explanation is needed and the description correctly focuses on output semantics and failure modes instead.

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?

Names a specific resource (the workspace's knowledge base) and enumerates what it returns: public URL, locales, and visibility. This clearly distinguishes it from the mutation siblings like create_knowledge_base and update_knowledge_base, though it never names an alternative explicitly.

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 implied rather than stated: 'One per workspace' plus 'Returns 404 if none has been created yet' tells the agent this is a read of an existing singleton and signals when it won't exist, but the description never says what to do in that case (e.g. call create_knowledge_base) or contrasts with ask_knowledge_base.

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