Skip to main content
Glama

read_knowledge_file

Retrieve the text of a user-registered knowledge file by partial name match. Access limited to files in your account identity, ensuring safe retrieval.

Instructions

Legge il TESTO di un file di conoscenza per nome (match parziale). Accede SOLO ai file/cartelle registrati dall'utente nell'identità dell'account, mai al resto del filesystem.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
account_idNo
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses an important behavioral constraint: access is limited to user-registered files and never the rest of the filesystem. However, it does not mention return format, behavior when no file matches, or how partial matches are resolved.

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 compact: two sentences, no redundancy, and the core action is front-loaded. Every sentence adds meaningful information about what the tool does and its access scope.

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

Completeness3/5

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

The tool is relatively simple, but with no annotations and no output schema, the description needs to cover more ground. It covers purpose, name matching, and access restrictions, yet omits behavior for account_id and the return payload. This is adequate but not fully complete.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It explains the 'name' parameter by noting it supports partial matching, but the optional 'account_id' parameter is completely unaddressed. This leaves meaningful parameter semantics undocumented.

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 the TEXT of a knowledge file by name, with partial matching allowed. This distinguishes it from sibling list_knowledge_files, which lists files rather than reading content.

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

Usage Guidelines4/5

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

The description provides clear context: it reads knowledge-file content by partial name and only accesses files registered to the user's account identity. It does not explicitly name alternatives or exclusion cases, but the function is straightforward and well-scoped.

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/adecubed/gigamail'

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