Skip to main content
Glama

skill_file

Read-onlyIdempotent

Retrieve bundled files referenced by a skill's SKILL.md using paths relative to the skill's directory. Returns text or base64 with media type; request multiple files in one call to reduce round trips.

Instructions

Read files a skill bundles. Paths are relative to that skill's own directory; text comes back as text, anything else as base64 with its media type. Ask for every file you need in ONE call — a SKILL.md usually points at several.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe skill's name, exactly as skill_list reports it.
pathsYesUp to 8 paths relative to the skill's own directory, as skill_load lists them. Reading a SKILL.md's referenced files in one call costs one round trip instead of one each.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so the description carries a lighter burden. It adds valuable behavior beyond annotations: relative-path scoping and type-dependent return encoding (text as text, non-text as base64 with media type). No contradiction with the annotations.

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 sentences, each adding distinct information: the operation, path resolution and return encoding, and batching guidance. The purpose is front-loaded and there is no filler or redundant restatement.

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 read-only, two-parameter tool with no output schema, the description covers purpose, path scope, return encoding, and batching, while the schema covers parameter details. The only notable gap is that the response shape for multiple requested paths is not spelled out.

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 100% and the parameter descriptions already document provenance ('exactly as skill_list reports it', 'as skill_load lists it') and the batching/round-trip rationale. The description mostly repeats the relative-path constraint, so it adds little parameter meaning beyond what the schema already provides.

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

Purpose4/5

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

The description names a specific verb and resource ('Read files a skill bundles') and clarifies that paths are resolved relative to the skill's directory, so the tool's role is clear. It does not explicitly distinguish itself from skill_load, but the read-file intent is unambiguous among the sibling tools.

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 gives explicit batching guidance: 'Ask for every file you need in ONE call' and explains why with 'a SKILL.md usually points at several.' It provides clear context for efficient use, though it relies on the schema's parameter descriptions to point the agent to skill_list and skill_load rather than stating alternatives directly.

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

Deploy Server

Other Tools