Skip to main content
Glama
SkySai1

Open WebUI Knowledge MCP

by SkySai1

rag_get_file

Read-only

Fetch a specific file from an Open WebUI knowledge base using its file ID. Enables direct access to stored knowledge for further processing.

Instructions

Alias of knowledge_get_file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

D1.3/5.0
Behavior1/5

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

Beyond the annotated readOnlyHint=true and destructiveHint=false, the description adds no behavioral context. It doesn't describe what retrieving a file entails, error scenarios, or return format. The alias reference is purely structural, not behavioral.

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 one short sentence, which is concise in size, but it under-specifies nearly everything. The sentence's only content is a cross-reference, not a meaningful description, so it fails to earn its place as a functional explanation.

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?

With no output schema and a single parameter, the description must carry the full burden, but it leaves the tool's behavior, input semantics, and return value entirely to inference from a sibling. This is incomplete and unusable as a standalone definition.

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?

Schema description coverage is 0%, and the description provides no information about file_id. The agent only sees 'File Id' as a string with no explanation of its source, format, or usage.

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

Purpose2/5

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

The description 'Alias of knowledge_get_file' does not state the tool's own purpose; it only redirects to a sibling tool. An agent reading this in isolation must look up knowledge_get_file to learn the function, which is a tautological cross-reference rather than a clear verb+resource statement.

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

Usage Guidelines1/5

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

There is no guidance on when to use this tool versus knowledge_get_file or any other sibling. The alias remark implies interchangeability but does not state conditions, exclusions, or alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.