Skip to main content
Glama

update_rag_config_api_v1_retrieval_config_update_post

Update RAG configuration to control retrieval settings, including chunking, embedding, search, and web search parameters.

Instructions

Update Rag Config

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ALLOWED_FILE_EXTENSIONSNo
BYPASS_EMBEDDING_AND_RETRIEVALNo
CHUNK_MIN_SIZE_TARGETNo
CHUNK_OVERLAPNo
CHUNK_SIZENo
CONTENT_EXTRACTION_ENGINENo
DATALAB_MARKER_ADDITIONAL_CONFIGNo
DATALAB_MARKER_API_BASE_URLNo
DATALAB_MARKER_API_KEYNo
DATALAB_MARKER_DISABLE_IMAGE_EXTRACTIONNo
DATALAB_MARKER_FORCE_OCRNo
DATALAB_MARKER_FORMAT_LINESNo
DATALAB_MARKER_OUTPUT_FORMATNo
DATALAB_MARKER_PAGINATENo
DATALAB_MARKER_SKIP_CACHENo
DATALAB_MARKER_STRIP_EXISTING_OCRNo
DATALAB_MARKER_USE_LLMNo
DOCLING_API_KEYNo
DOCLING_PARAMSNo
DOCLING_SERVER_URLNo
DOCUMENT_INTELLIGENCE_ENDPOINTNo
DOCUMENT_INTELLIGENCE_KEYNo
DOCUMENT_INTELLIGENCE_MODELNo
ENABLE_GOOGLE_DRIVE_INTEGRATIONNo
ENABLE_MARKDOWN_HEADER_TEXT_SPLITTERNo
ENABLE_ONEDRIVE_INTEGRATIONNo
ENABLE_RAG_HYBRID_SEARCHNo
ENABLE_RAG_HYBRID_SEARCH_ENRICHED_TEXTSNo
EXTERNAL_DOCUMENT_LOADER_API_KEYNo
EXTERNAL_DOCUMENT_LOADER_URLNo
FILE_IMAGE_COMPRESSION_HEIGHTNo
FILE_IMAGE_COMPRESSION_WIDTHNo
FILE_MAX_COUNTNo
FILE_MAX_SIZENo
HYBRID_BM25_WEIGHTNo
MINERU_API_KEYNo
MINERU_API_MODENo
MINERU_API_TIMEOUTNo
MINERU_API_URLNo
MINERU_PARAMSNo
MISTRAL_OCR_API_BASE_URLNo
MISTRAL_OCR_API_KEYNo
PDF_EXTRACT_IMAGESNo
PDF_LOADER_MODENo
RAG_EXTERNAL_RERANKER_API_KEYNo
RAG_EXTERNAL_RERANKER_TIMEOUTNo
RAG_EXTERNAL_RERANKER_URLNo
RAG_FULL_CONTEXTNo
RAG_RERANKING_ENGINENo
RAG_RERANKING_MODELNo
RAG_TEMPLATENo
RELEVANCE_THRESHOLDNo
TEXT_SPLITTERNo
TIKA_SERVER_URLNo
TOP_KNo
TOP_K_RERANKERNo
webNo
Behavior1/5

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

The description offers no behavioral transparency beyond the verb 'Update'. With no annotations provided, the agent cannot infer side effects, whether the update is incremental or full replacement, required permissions, or error conditions. This is insufficient for safe invocation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely short (3 words) but sacrifices necessary content. It is front-loaded but provides no meaningful information beyond the tool name. For a complex tool with many parameters, this is under-specification, not effective conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the high parameter count, lack of output schema, and no annotations, the description is severely incomplete. It does not cover what the update does to the RAG configuration, what the response contains, or any important contextual details required for correct usage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 57 parameters with 0% schema description coverage, yet the description fails to explain any parameter meaning, grouping, or usage. Parameter names like CHUNK_SIZE are somewhat self-explanatory, but for many others (e.g., DATALAB_MARKER_FORCE_OCR) the agent has no guidance in the description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Update Rag Config' is minimal but indicates the action (update) and resource (RAG config). However, it lacks specificity about what exactly is updated or the scope, and it does not differentiate from other update tools that might target different aspects of the system.

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

Usage Guidelines2/5

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

No usage guidelines are provided. The description does not mention when to use this tool, when not to use it, or suggest alternatives such as get_rag_config for reading first. The agent is left without context for decision-making.

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/TETRA-2023/open-webui-mcp'

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