Skip to main content
Glama
zackscriven

ghl-mcp-server-v2

by zackscriven

ghl_kb_list

Read-onlyIdempotent

List knowledge bases for a location with pagination support via limit and lastKnowledgeBaseId.

Instructions

Lists knowledge bases for a location (paginated via limit/lastKnowledgeBaseId) — distinct from ghl_kb_faq_list, which lists FAQ entries inside one knowledge base. Get all knowledge bases for a location by location Id (paginated) Endpoint: GET /knowledge-bases/ (Version header: v3; source: v3/knowledge-base-v3.json) Pagination params: limit, lastKnowledgeBaseId — pass them to page through full result sets.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of knowledge bases to return
queryNosearch query for knowledge base name
locationIdYes
lastKnowledgeBaseIdNoID of the last knowledge base from the previous page (for pagination)
Behavior4/5

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

Annotations already provide readOnlyHint, idempotentHint, destructiveHint. Description adds pagination behavior, endpoint path, and version header, which go beyond annotations.

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?

Multiple sentences each add value: purpose, sibling distinction, endpoint details. Slightly verbose but well-structured and front-loaded.

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?

Covers purpose, pagination, and differentiation. No output schema needed for a list tool. Adequate given annotations and schema richness.

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 75%; description reinforces pagination context (limit, lastKnowledgeBaseId) but does not add significant new meaning beyond schema descriptions.

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?

Clearly states it lists knowledge bases for a location, with pagination via limit/lastKnowledgeBaseId. Explicitly distinguishes itself from sibling ghl_kb_faq_list, which lists FAQ entries inside a knowledge base.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly explains when to use this tool vs the alternative ghl_kb_faq_list, and mentions pagination parameters for iterative retrieval.

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/zackscriven/ghl-mcp-server'

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