Skip to main content
Glama

Knowledge Retrieval Server

by cskwork

get-chunk-with-context

Retrieve specific content chunks with surrounding context from documents using document and chunk IDs. Adjust window size to control context scope, aiding precise information extraction.

Instructions

Get specific chunk with surrounding context.

Input Schema

NameRequiredDescriptionDefault
chunkIdYesChunk ID
documentIdYesDocument ID
windowSizeNoContext window size (default: 1)

Input Schema (JSON Schema)

{ "properties": { "chunkId": { "description": "Chunk ID", "type": "number" }, "documentId": { "description": "Document ID", "type": "number" }, "windowSize": { "default": 1, "description": "Context window size (default: 1)", "type": "number" } }, "required": [ "documentId", "chunkId" ], "type": "object" }

Other Tools from Knowledge Retrieval Server

Related Tools

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/cskwork/keyword-rag-mcp'

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