Skip to main content
Glama

kb.index

Fetch or atomically replace the project index page. Read it before searching to navigate the knowledge base; regenerate it after any add, update, or delete to keep the LLM entry point current.

Instructions

Read or replace the wiki index page (source='_index'). Call with no content to fetch the current index. Call with content to atomically replace it. The index is the LLM's navigation entry point — read it before searching, regenerate it after any kb.add/update/delete.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentNoNew index content. Omit to fetch the current index without modifying it.
project_idYesProject ID to scope the index
Behavior4/5

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

The description discloses the atomic replace behavior and the dual nature of the operation (read vs. write). However, it does not mention potential side effects, required permissions, rate limits, or error conditions. Since there are no annotations, the description carries the full burden—it covers the key behavioral traits but lacks some depth.

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 three sentences, each with a clear purpose: stating the function, explaining the usage pattern, and providing strategic context. There is no redundancy or filler. The information is front-loaded effectively.

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?

Given the tool has only two parameters, no output schema, and no annotations, the description covers the essential purpose, usage, and relationship to sibling tools. It lacks details on return format and error handling, but those are partially compensated by the schema and the tool's simplicity. Overall, it is sufficiently complete for an AI agent to use correctly.

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?

Schema coverage is 100% (both parameters described in the schema). The description adds significant value by clarifying how the optional 'content' parameter controls the operation (omit to fetch, provide to replace). For 'project_id', the description adds no additional context beyond the schema, but the overall parameter semantics are well clarified.

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 reads or replaces the wiki index page, specifying the source. It distinguishes itself from sibling kb.* tools by explicitly noting it is the index used as a navigation entry point, and by mentioning regeneration after kb.add/update/delete operations.

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?

The description gives explicit usage instructions: call with no content to fetch, with content to replace. It also provides strategic guidance on when to use the tool: read before searching, regenerate after modifications. This effectively differentiates it from siblings like kb.search and kb.add/update/delete.

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/dereknguyen269/mcp-kb-server'

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