Skip to main content
Glama

Read a skill file

skills_read_file
Read-onlyIdempotent

Read one text file bundled with a skill by relative path, such as references/adaptive-fallback.md, to access reference content or scripts. Binary files are not returned.

Instructions

Read one text file bundled with a skill, by its relative path (from skills_list_files), e.g. 'references/adaptive-fallback.md'. Binary files are not returned.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "path": "<path>"
    },
    "name": "skills_read_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesSkill name as returned by skills_list
pathYesRelative file path inside the skill, e.g. 'scripts/render_and_inspect.py'
offsetNoCharacter offset for long files; use the value given in a truncation note

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false; the description adds the non-obvious constraint that binary files are not returned, which the agent cannot infer from the schema. It does not mention error behavior for bad paths or truncation, though the offset parameter hints at the latter.

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?

Two sentences and zero filler; the scoping constraint (text files only) and the path source are front-loaded before examples.

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 tool with fully described parameters and annotations covering the safety profile, the definition covers the essential behavior. The minor omission is failure behavior for invalid paths, though the schema's offset parameter already signals the truncation workflow.

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 coverage is 100%, so all three parameters are documented in the schema, and the description adds only an example relative path. It adds no meaning beyond the schema—such as how offset interacts with long files—so it meets the baseline for high-coverage schemas.

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?

A specific verb-plus-resource statement: 'Read one text file bundled with a skill, by its relative path.' The parenthetical '(from skills_list_files)' ties the tool to the sibling that produces valid paths, and 'Binary files are not returned' bounds the resource. It stops short of distinguishing itself from skills_get, which also surfaces skill content.

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

Usage Guidelines3/5

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

The phrase '(from skills_list_files)' implies the call order, so an agent knows to list files first, and the example path shows the expected form. But there is no explicit 'use this when...' vs skills_get, no statement about missing paths or what happens if the file doesn't exist.

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