Skip to main content
Glama

read_skill_file

Retrieve a specific file from a skill's directory using the skill name and relative file path. Use it when skill instructions reference a file to load its contents on demand for token-efficient skill management.

Instructions

Read a specific file from a skill's directory. Use this when skill instructions reference a file (e.g., 'See references/api_reference.md'). Provide the skill name and relative file path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
skill_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.3

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the disclosure burden. It communicates read-only behavior and relative paths, but does not mention errors, access constraints, or what happens when the file is missing.

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?

Three short sentences convey purpose, usage trigger, and required inputs without repetition or fluff. The most decision-relevant information is front-loaded.

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?

For a simple read operation with only two primitive parametersholistic, the description sufficiently covers when and how to use it. It omits edge-case behavior, but the overall scenario is simple enough that this is acceptable.

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

Parameters3/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 names both parameters and clarifies that file_path is relative, but it does not elaborate on format, constraints, or path resolution beyond the example.

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?

Begins with a specific verb and resource ('Read a specific file from a skill's directory') and distinguishes itself from list_skill_files by emphasizing 'specific file'.

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?

Provides an explicit trigger condition ('Use this when skill instructions reference a file') with a concrete example, but does not contrast with fetch_resource or other potential alternatives.

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